Reply To: Average True Range Within % of 52 week Low

Optuma Forums Optuma Scripting Average True Range Within % of 52 week Low Reply To: Average True Range Within % of 52 week Low

  • Topics: 4
  • Replies: 255
  • Posts: 259

Hi Tonia,

Reading your post i wasn’t sure if you meant when the chart was within its 52 week low or the ATR value was at it’s 52 week low, so below is both scripts…

The following script will display the ATR value when the charts low is within 5% of the 52 week low value…

The result in a Show View looks like this:


Green Line = 52 Week Low, Blue line = 5% range, Black Line = ATR value when criteria is met (otherwise returns 0).

If you were wanting to use the 52 week low of the ATR value itself, the script would be:

The result would look like this:


Red Line = ATR, Green Line = ATR 52 Week Low, Blue Line = 5% Range of ATR 52 Week Low, Black Line = ATR Value when criteria is met

The only part i was unsure on was with regards to the “Within the last 2 days”. If the above scripts aren’t what you’re after please provide more details and include some screen shot examples of the setups you’re trying to identify.

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.