Setting Profit Target. New comment ForexTrader17 2016.07.11 22:49 When I try to set a profit Target using the high and low of bars 2 and 3 the EA does not apply it. Is there something wrong with the code? I am basically trying to subtract from the opening price the difference in pips between the high and low. TP = (0 * myPoint) - (MathAbs(High[3] - Low[2]))Thank you. Difference between a close and open. I propose a new formula for the volatility indicator MathAbs subtraction does not work Osama Shaban 2016.07.12 00:10 #1 As I see, the TP is in negative !!!. ForexTrader17 2016.07.12 02:55 #2 So put a "+" in there? I thought for shorts we need to subtract.Thanks. New comment
When I try to set a profit Target using the high and low of bars 2 and 3 the EA does not apply it. Is there something wrong with the code? I am basically trying to subtract from the opening price the difference in pips between the high and low.
TP = (0 * myPoint) - (MathAbs(High[3] - Low[2]))
Thank you.