Hi, I need your help.
I tried to make an EA, but there is a little problem. I need to sell at high and buy at low. The sell order is when the last (closed) bar's high is higer, compared to previous 20 and vice versa for buying.
Something like that:
Sell: High(1) > High(20)
Buy: Low(1) < Low(20)
I think it might be correct, but I'm not sure, because it opens my positions wrongly!
Thanks in advance!
I tried to make an EA, but there is a little problem. I need to sell at high and buy at low. The sell order is when the last (closed) bar's high is higer, compared to previous 20 and vice versa for buying.
Something like that:
Sell: High(1) > High(20)
Buy: Low(1) < Low(20)
I think it might be correct, but I'm not sure, because it opens my positions wrongly!
Thanks in advance!