Hi,
I was wondering if anyone knows about coding minimum size of a candlestick body in a relation to the previous one.
So far what I think it would be is
MyRange = Range
Minimum = (MyRange / MyRange[1] - 1) * 100
IF minimum > 20 THEN
Buy condition....
By doing this I am saying that I want to enter only if the bar is greater than 20% the size of the previous bar, but the program doesn’t seem to be following that.
I was wondering if anyone else has something similar?
WingParticipant
Veteran
MyVar =(open-close)/(open[1]-close[1])
if abs(MyVar)>1.25 then
buy conditions