Optuma Forums › Optuma General Discussion › Twitter Charts › Reply To: Twitter Charts
July 22, 2021 at 12:01 am
#65283
- Topics: 70
- Replies: 832
- Posts: 902
Advancing volume %: https://twitter.com/Optuma/status/1417809118631452674?s=20
The example in the Tweet was using IQFeed data (VINA.Z / VINT.Z) but the same can be calculated using our Breadth Measures data. This example is for SPX, which can be used in a Show View set to histogram:
1 2 3 4 5 |
ADV = GETDATA(CODE=AVVSPX:BM); DEC = GETDATA(CODE=DVCSPX:BM); ADV/(ADV+DEC)*100 |
This can then be used in a Show Bar to highlight when the day’s value is > 80% or < 20%. The following combines the two to show when an >80% day follows a <20% day:
1 2 3 4 5 6 7 8 9 |
ADV = GETDATA(CODE=AVVSPX:BM); DEC = GETDATA(CODE=DVCSPX:BM); V1 = ADV/(ADV+DEC)*100; R1 = V1>80; R2 = V1<20; //Is today > 80 and yesterday < 20? R1 and R2[1] |
-
This reply was modified 1 year ago by
Darren.