Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
Can you kindly help me develop an EA base on this Indicator (attached) con le funzionalità aggiuntive che possono essere abilitate o disabilitate nella scheda "INGRESSI" di EA.
Here are the BUY ENTRY conditions: When candle closes below the lower band. Do a BUY trade (base on starting lot)SELL condition is opp o site of the BUY. When candle closes above the upper band. Do a SELL trade (base on starting lot)
VARIABLE ------ VALUE
1: symbols to trade --------- eurusd, usdchf,… you can insert many crosses
2: number of pairs trade ----- 1, 2 ….Work on a maximum fixed number of crosses. If I decide to work on 3 crosses at a time, the EA ignore the other signals until a new slot is free. Obviously if the EA need to open new trades (martingale) on the working crosses, it can.
3: Half lenght ------ 20 ….
4: Price ------ close p, open p, high p, low p,weighted p.
5: Bands devistions ------- 2 ….
points 3,4,5 are the parameters of the tma+cg indicator.
6: use timeframe 1 ---------------- true/false
7: timeframe 1--------------- 1m, 5m ….
this is the the timeframe in which the EA work.
8 : use timeframe 2 ---- true false
9 : timeframe 2 ----- 1m, 5m…
it is used to ask for double confirmation
10 : pips for entry (0 open at candle close) --------- 1, 2,3 ….
when the candle closes, I can decide how many pips away to open the trade
1 1 : position size ------ 0.01, 0.02 …..
1 2 : stop loss pips (0 if do not use) ------ 1, 2…..
1 3 : take profit pips (0 if do not use) ----- 1,2...
1 4 freeze after stop loss ---- minutes
set a time in minutes for freeze a cross after a Stop Loss (the cross cannot open new positions for a certain period of time).
15: close middle line ---- true /false
the EA closes operations when price touches the middle line of the indicator
1 6 : position cap ------ 1, 2 … max number of trades on the same cross. if more candles close outside the indicator I can decide how many trades to open
1 7 : trailing stop ---- true /false
1 8 : trailing stop pips - 1, 2 …..
1 9 : martingala ----- true/false
20 : martingala moltiplicator ------------- 1, 1.1 …..
2 1 : martingala pips distance --------------- 1, 2 …….
2 2 : breakeve n martingala pips - 1, 2….. it set the tp to breakeven plus the pips indicated
2 3 : magic number ------ 1, 2 ….
2 4 : limit working hours ---- true/false
2 5 : starting time ---------- 13.00/ 16.00 …
2 6 : ending time ------ 18.00/ 21.00…..
thanks