Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
Breakout EA is a Momentum Break out indicator EA, Which filters the time zone and daily Pivot channel. The Strategy pursuing the trend direction accordance of momentum, also it filters with time zone and pivot channel to avoid false momentum breakout.
Expert Advisor trades on All Pairs using market orders. It’s using default indicator and trend following on pattern. The indicator's signals are verified by Elder-Ray. Trailing Stop Loss are based on ATR.
Final EA will be in mq4 format
Default setting:
MagicNumber = 2222
StopEA = false - Stop/Disable the Expert Advisor
TimeFrame = H1(M1,M5,M30,4H and so on)
Trading hours
Asian session
Starttime(HH:MM) = 02:00 - EA Start Hour
EndTime(HH:MM) = 03:00 - EA End Hour
European session
Starttime(HH:MM) = 09:00 - EA Start Hour
EndTime(HH:MM) = 10:00 - EA End Hour
USA session
Starttime(HH:MM) = 15:00 - EA Start Hour
EndTime (HH:MM) = 16:00 - EA End Hour
Other market session
Starttime (HH:MM) = 10:00 - EA Start Hour
EndTime (HH:MM) = 20:00 - EA End Hour
Trade setting
Lots = 0.01 -Fixed Lot Size
StopLoss = 40 - Stop Loss (use pip or points)
TakeProfit = 50 - Take Profit
MaxSlippage=4
Slippage =5
MaxSpreadAllowed = 3.5 - Maximum Spread Allowed (Not recommended more than 5 Pips(50 Points)
Buy Trades=True
Sell Trades=True
Total number of buy trades=10(total trades not exceed that limit)
Total number of sell trades=10
DelayOrderInSeconds=False
ExitOnDayEnd = true Exit all trades daily at the end of the day and adjusts the time automatically for all brokers
Money management=True
RiskInPercent = 1 - Change Percentage of Risk in Trade(0 for false)
Step(0 value for false)=300 points(Martingle steps and third step will be 350 and then 400 and so on)
LotMultiplier=1.5(lot multiplying value if Step is true)
Decreaser= (when the number of orders increases inversely percent of profit decreases)
Trailing Setting=True (Added 3 Trailing Stop Profit)
BerakEven = true - Enable/Disable Break Even
LockFirstProfitinPips = 20 - Lock First Profit in Pips to safe the trade
LockFirstProfitPercent = 50 - % of Lot size to be lock to safe the trade
Lock2ndPrfit=True
Lock2ndProfitinPips = 50 - Lock First Profit in Pips to safe the trade
Lock2ndProfitPercent = 50 - % of Lot size to be lock to safe the trade
Securre2ndProfit=10
Lock3rdPrfit=True
Lock3rdProfitinPips =100 - Lock First Profit in Pips to safe the trade
Lock3rdProfitPercent = 50 - % of Lot size to be lock to safe the trade
Loss Recovery order Setting
ReverseTrade = true –
Enable/Disable Reverse order in case of loss order(s) (Lot order will be multiplied LotMultiplier the previous order, this will continue till profit is gained) detail is given in figure 2
ReverseOrderRiskInPercent = 2 - Reverse Order Risk Percentage
Using indicators/filter setting= true/false
MainSMA = 200 - Main SMA Filter Value
RevSMA = 50 - Reverse SMA Filter Value
Doublefilter=false
DailyMaxPips = 250 - Trade is Allowable when Max. range < DailyMaxPips
RSI Filter=false
RSIPeriod=25, Apply to=Close, level=30 to 70
CCI=False
CCIperiod=49,Apply to=Typical Price(HLC/3),level=-100 to100
Bollinger Bands=False
Bollinger BandPeriod=69,shift=0,Deviation=2,applyto=close
CandleClosedOnPivot=false(confirmation by Pivot on Candle Close)
AddLOTFilter=True
Gap Setting
OrderGap=0.05
SLGap=0.05
NewsGap=0.05
CandleGap=0.05
Advance Setting
DynamicSL=False
StopOnMonth = 12 - Stop Trading @ this month
CloseTradesOnFriday=True
DelayInSeconds=3
Manual Breakout=true/false
BuyStop Value=50 (Close Sell stop when Buy stop triggered )
SellStop Value=50 (Close Buy stop when sell stop triggered )
Allowed Time= true
Allowed Time (HH:MM) = When no trades taken in required time then cancel both pending trades.
Trailing Setting=True (Added 3 Trailing Stop Profit)(as above)
Sell limit for both(Buy/Sell) pending orders Sell limit =300 points (ignore if adjusted in Trade Setting)
Take profit=300 points (ignore if adjusted Trade Setting )