Optuma Forums › Optuma Scripting › Price Range Script Error › Reply To: Price Range Script Error
March 23, 2022 at 1:42 pm
#67767
- Topics: 5
- Replies: 609
- Posts: 614
Hi,
Apply V1 and V2 to your charts using a Show Plot and you will see why the result is being returned. Highest High and Lowest Low values are dynamic, what covers a 10% range today may be different to the 10% range 5 days ago.
If you are only using the script to scan with (don’t need historical matches) you could wrap V1 and V2 in a LAST() function, this should give you the result you are expecting.