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
1
2
3
4
5
MyRange=Range
Minimum=(MyRange/MyRange[1]-1)*100
IFminimum>20THEN
Buycondition....
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?
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok