Работа завершена
Техническое задание
Hello,
Need a very simple EA. I want this as a basis for modification. I would like this to be done by Experienced programmer who can successfully create well organized programs.
Simply want an EA that will work on open a Long Market Order when it crosses the EMA with a t/p and sl based on the ATR at that point. Similar when a bar closes below the ema, a short market order.
There are a few parameters and requirements though.
It needs to be able to handle multiple orders on multiple pairs. I want an EA to attach to one chart with a set timeframe, as defined in parameters. Then I want to be able to enter 1 or 2 or 5 or 15 pairs etc for this to trade on. The EA will open trades on the open of a bar.
For Example, I want to open a chart with 15 min TF. Attach the EA. Set the Pairs parameter to trade EURUSD, NZDUSD, USDCHF ... , set the timeframe paramater to 15 min. The EA should then scan each pair after the close of the 15 min bar, if the bar crossed the EMA it should enter a market order with TP and SL = to the ATR.
There needs to be something that checks open orders. If they are halfway to their target, it needs to change the Stop Loss to the entry point.
My main concern is that I would like to have 4 charts open, a M5, M15, H1, 4H so 4 EA's would be running. I do not want any two EAs to attempt to open a trade at the same time as I hear that is bad.
Parameters
EMAPeriod
TimeFrame
ATRperiod
Pairs
LotSize
MaxLoss
Let me know if this is possible. Someone who could create a workable code and well organized code would be greatly appreciated.
Thanks