It is the better to use Template for your case than modify some EA which the other priogrammer coded.
https://www.mql5.com/en/forum/173059
https://www.mql5.com/en/forum/general

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
Good day to all
I was wondering if someone knows or a freely available EA that I can modify for specific needs.
I am looking for an EA that takes a position depending on where price lies with the 100sma on an hourly chart. Ok so say at 16:00 price is below the 100sma, I want a buy order and sell order to get activated either 100 pips above the low of 12:00 or 100 pips below the low of 13:00. Orders do not get cancelled they stay there forever till the get activated, so no order cancel order needed, or orders cancelled end of day etc.
If there isd such an EA available somewhere then that will be great cause then I can start playing with diff parameters.
Thank you