Optuma Forums › Optuma Scripting › Calculate Highest ATR ever for an instrument › Reply To: Calculate Highest ATR ever for an instrument
November 8, 2021 at 9:47 am
#66519
- Topics: 5
- Replies: 602
- Posts: 607
Hi,
The HighestHigh() function can be wrapped around other variables, not just price.
Here’s the example script for a ATR15 highest value:
1 2 3 4 |
V1 = ATR(BARS=15) ; HIGHESTHIGH(V1, RANGE=All Time) |
Here’s how it looks on a chart…