Optuma Forums › Optuma Scripting › New High New Low Breadth Module › Reply To: New High New Low Breadth Module
December 17, 2020 at 3:16 am
#61767
- Topics: 70
- Replies: 829
- Posts: 899
Not exactly sure what you mean, but for the difference between All Time Highs and 52 week highs would be the following in one breadth measure, set to Cumulative Breadth Action:
1 2 3 4 5 |
H1=HIGH() >= HIGHESTHIGH(RANGE=All Time); H2=HIGH()>HIGHESTHIGH(BACKTYPE=Weeks, BARS=52); H2-H1 |
Do the same for the lows and you can subtract one from the other.