I have a EA and code and I want to add the following code:-
1 Only work from 10:00 – 13:00GMT and 15:00 – 20:00GMT (set in EA user parameter input area)..
2 Opens on existing signal but cannot reopen a second trade after winning or losing on the same bar even if the existing signal still exists. In short, it only trades one trade per bar.
The problem I have is that even when the EA opens on signal and wins or loses it continuous to open the same trades again and again. This must be rest…
I have code for an indicator that places arrows to identify an uptrend or a down trend and then sounds an alert to the fact. I want this indicator changing into an expert advisor which when the:
Alert sounds for a down trend it places a sell order with 200 take profit, 50 stop loss and 40 trailing stop. When the alert arrow sounds for an uptrend it closes the order immediately.
Alert sounds for an up trend it places a buy order with 200 take profit, 50 stop loss and 40 trailing stop. When the alert arrow sounds for a down trend it closes the order immediately.
I have code for an indicator that places arrows to identify an uptrend or a down trend and then sounds an alert to the fact. I want this indicator changing into an expert advisor which when the:
Alert sounds for a down trend it places a sell order with 200 take profit, 50 stop loss and 40 trailing stop. When the alert arrow sounds for an uptrend it closes the order immediately.
Alert sounds for an up trend it places a buy order with 200 take profit, 50 stop loss and 40 trailing stop. When the alert arrow sounds for a down trend it closes the order immediately.