Did u manage to find an EA with OCO order?
![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
Hi,
I am trying to see if an EA based on these requirements can be created:
1) Find the lowest low (SSP, sell stop price) and highest high (BSP, buy stop price) of the previous two 1-hour candles.
2) Entry price is 10 pips less than SSP and 10 pips higher than BSP from above.
3) Place buy and sell stop orders at a pre-specified time.
4) Merge them as OCO - one cancels the other. If any one of the stop orders get triggered, the other one must be cancelled.
5) Provisions for entering lot sizes & start time(s).
6) Provisions for stop loss and trailing stop would be nice to have.
Now sure how much of an effort it takes. Can someome please help ?
Thanks in advance!
-Gc