Optuma Forums › Optuma Scripting › Average True Range Within % of 52 week Low › Reply To: Average True Range Within % of 52 week Low
July 3, 2019 at 9:43 pm
#53915
- Topics: 70
- Replies: 788
- Posts: 858
Hi Tonia,
Try this:
1 2 3 4 5 6 7 8 9 10 |
//Get ATR value V1 = ATR() ; //Get Lowest 52 week ATR Value V2 = LOWESTLOW(V1, BACKTYPE=Weeks, BARS=52); //Is current ATR within 5% of lowest? V3 = WITHINRANGE(V1,V2, PERCENT=5.00); //Did it occur in the last 2 days? TIMESINCESIGNAL(V3)<3 |
Here are the ASX200 true results for Tuesday: