工作已完成
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
Hi Dear,
I need to develop a EA that start trading everyday at London opens and finish at New York closes.
The EA will Trades base on two time frame charts (5 min and 1 min).
The Idea is that when a candle engulf a full previous candlestick on a 5 min chart it will generate a channel than when a candlestick breaks up, and close above that channel +50% on 1 min chart it will open a buy position with SL below the channel and TP on 150%.
Same thing will happen in the other direction as a Sell order.
EA will close the position when a candlestick engulf and close previous candlestick in opposite direction on a 5 min chart, this is a safe SL execution.
Whenever that happen we will have a new channel and the process will repeat.
The Perimeter is
1. Time to Start Trading
2. Time to Finish Trading
3.Spread (input maximum spread acceptable to trade)
4. Chart Time Frame to Generate Chanel and Execute Safe SL (1min, 5min, 15min, 30min, 1h)
5. Chart Time Frame to Open an Order (1min, 5min, 15min, 30min)
6. % for confirmation break out to execute order (25%, 50%, 75%, 100%)
7. % for Take profit after channel ( 50%, 75%, 100%, 125%, 150%, 175%, 200%, 225%, 250%, 275%, 300%)
8. % for Stop Loss after channel (5%, 10%, 15% , 20%, 25%, 30%, 35%, 40%, 45%, 50%)
6.Size lot calculator of the first position base on Risk% (input the risk%)
7.Lot calculation type for following trades if first one has no profit, Ea must count accumulation losses to keep running the lot calculation till the cycle result is + than restart from first position
( start lot(1,1,1,1,1,1,1,1,1,1,1) Martingale lot(1,2,4,8,16,32,64,128) Fibo lot(1,1,2,3,5,8,13,21,34) Sum Start lot(1,2,3,4,5,6,7,8,9) - to be selected
8.Maximum Trades (input number of maximum losing trades before restart from first position) lot size will keep going until there is a winning trade or the maximum number of losing trades is hited.
Kind Regards