If Positionprofit(1) < 400 or marketposition(1) = 1 or barssinceexit(1) > 100
Then...(trade long)
This should be the code to say to my system to only trade long if one of these three conditions happen. Either the profit of the previous trade was less than 400 points, or the previous trade had a big gain, but it was long trade, or (if it was not) 100 bars have passed since that trade.
And yet it doesn't work. Can anyone help me with this?
Then...(trade long)
This should be the code to say to my system to only trade long if one of these three conditions happen. Either the profit of the previous trade was less than 400 points, or the previous trade had a big gain, but it was long trade, or (if it was not) 100 bars have passed since that trade.
And yet it doesn't work. Can anyone help me with this?
