工作已完成
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
Hi Dear,
I Need to Develop a EA that will trade every day from (GMT) Coordinated Universal Time 23:30pm to (GMT) Coordinated Universal Time 19:30pm,
and it will take breaks of 1 hour during the news time of the currencies that have been use on the chart selected.
For example if I'm Trading EURUSD and it has a news of EUR at (GMT) Coordinated Universal Time 11:30am the EA will cancel all pending orders from 11:00 till 12:00.
The Perimeter is
1.Spread (input maximum spread acceptable to trade)
2. Chart Time Frame (15min, 30min, 1h, 4h, 1d)
3. Moving Average (input period)
4.Fibonacci level for Buy Stop or Sell Stop ( 0%, 23.6%, 38.2%, 50%, 61.8%, 76.4%, 100%) - to be selected
5.Fibonacci level for Stop Loss ( 0%, 23.6%, 38.2%, 50%, 61.8%, 76.4%, 100%) - to be selected
6.Fibonacci level for Take Profit ( 0%, 23.6%, 38.2%, 50%, 61.8%, 76.4%, 100%, 161.8%, 261.8%, 423.6%) - to be selected
7.Trailing Stop will be place always at the low price of the last two candles for a buy position, when the low price of the last two candles is bigger than the opening price. it also will be place always at the high price of the last two candles for a sell position, when the high price of the last two candles is lower than the opening price.
7.Size lot calculator of the first position base on Risk% (input the risk%)
8.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
9.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.
10.Draw Fibonacci Retracement
If Price is above moving average than wait for 3 consecutive bearish candles to draw Fibonacci 100% level at the highest high after price cross up the moving average and the 0% level at the low of the current candle. If Price continues to goes low than 0% level will follow till price cross and close below moving average. In this case Fibonacci is removed and the process starts on the other way.
If price is below moving average than wait for 3 consecutives bullish candles to draw Fibonacci 100% level at the lowest low point after price cross down the moving average and the 0% level at the high of the current candle. If price continues to goes up than 0% level will follow till price cross and close above moving average. In this case Fibonacci is removed and the process starts on the other way.
I need the moving Average to be visible as well as Fibonacci Retracement and all the trading levels.
I will need to test the EA before close the deal.
Kind Regards