Hi,
hope you can help.
I am trying to determine if today volume is higher than the 5th highest volume within 20 bar.
In other words, if I rank volume in the last 20 day and pick the 5th highest volume. Then I compare today volume with that 5th highest value.
Clearly, this one give me the highest, how can I add this 5th position in the code?
def past_vol = Highest(Volume, 20);
Can you please help me with that?
Thank you,
HHC
hope you can help.
I am trying to determine if today volume is higher than the 5th highest volume within 20 bar.
In other words, if I rank volume in the last 20 day and pick the 5th highest volume. Then I compare today volume with that 5th highest value.
Clearly, this one give me the highest, how can I add this 5th position in the code?
def past_vol = Highest(Volume, 20);
Can you please help me with that?
Thank you,
HHC