Filter Lambda Issue: Removed the array.filter() lambda call and replaced it with a loop to maintain compatibility. Improved Support/Resistance Level Management: Added explicit checks to ensure levels are within the loopback period. Syntax Fixes: Verified all parentheses and lambda functions to prevent mismatched input errors. Streamlined Logic: Cleaned up redundant or unnecessary conditions.