I'm trying to write an EA that places an order at Noon everyday and has a specific expiration which is midnight local time everyday. Local time is 6 hours after GMT. Is there a way to have the EA update the expiration automatically?
- Pending Order Expire
- Writing an EA to execute market order with SL and TP at specific time
- Help! Need Time Filter / Time mgt
yeah that was the solution i was thinking of myself i saw a post earlier today where
someone counted the bars and thats what i was thinking about using. I didn't know
if it was possible to even update the expiration daily. Nor did I know that some
brokers would disable your expiration. thanks for the advice.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register