Hello does anyone have or can make a script that calculates the rotation factors in a 30 min TPO?
If the high of the current time period is higher than the previous period’s high, then the rotation is given a +1. If the high is lower than the previous period’s high, then it is assigned a -1. Similarly, if a time period’s low is higher than the previous period’s low, then a value of +1 is added. An auction bottom that is lower than the previous period’s low receives a -1. And if both periods’ highs or lows come out even, then no value, or 0, is assigned.
With 3 labels Top Total(TT), Bot Total(BT), Overall RF(ORF), and if the labels are positive they will be green, negative red, and white for even
Thanks in advance
If the high of the current time period is higher than the previous period’s high, then the rotation is given a +1. If the high is lower than the previous period’s high, then it is assigned a -1. Similarly, if a time period’s low is higher than the previous period’s low, then a value of +1 is added. An auction bottom that is lower than the previous period’s low receives a -1. And if both periods’ highs or lows come out even, then no value, or 0, is assigned.
With 3 labels Top Total(TT), Bot Total(BT), Overall RF(ORF), and if the labels are positive they will be green, negative red, and white for even
Thanks in advance