Hello,
I want to add a expiration code to my MQL4 EA.
The EA trades on indicator basis.
Whenever the indicator prints a signal, at the candle closure it will place the trade if the 2nd condition is met (price needs to be above the green line for a sell, and below the green line for a buy).
However if it signals a sell and price is below the green line it know waits for price to come back above the green line and take the sell. I want this removed, so to ensure that the signals expire immediately if the conditions are not met.
Can anyone code this for me?
Hello,
I want to add a expiration code to my MQL4 EA.
The EA trades on indicator basis.
Whenever the indicator prints a signal, at the candle closure it will place the trade if the 2nd condition is met (price needs to be above the green line for a sell, and below the green line for a buy).
However if it signals a sell and price is below the green line it know waits for price to come back above the green line and take the sell. I want this removed, so to ensure that the signals expire immediately if the conditions are not met.
Can anyone code this for me?
Bro you haven't sent the code

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
I want to add a expiration code to my MQL4 EA.
The EA trades on indicator basis.
Whenever the indicator prints a signal, at the candle closure it will place the trade if the 2nd condition is met (price needs to be above the green line for a sell, and below the green line for a buy).
However if it signals a sell and price is below the green line it know waits for price to come back above the green line and take the sell. I want this removed, so to ensure that the signals expire immediately if the conditions are not met.
Can anyone code this for me?