I am trying to save the value of Low[0] from Open[0] when the bar has no wick below, that means when Low[0] is equal zero.
I have done the following:
if(Open[0] < Close[0]) { if(Open[0] - Low[0] == 0) { Low[0] = Open[0] } }
How to assign the value of the low here to the open when there is no wick at the bottom of the candle?
Many thanks in advance.
Comment