工作已完成
指定
Hedging EA With Hidden Pending Order
The EA is designed so it will be able to catch the breakout moment
Rules:
When the market are ranging for certain amount of candles, open Hidden (avoid broker limit order rules) Pending Order of buystop and sellstop at ranging support and resistance or set manually. EA open order only one time / day; but can read signal of previous candles from previous days.
For first open order, EA will open pending order of buy stop and sell stop at manualy designated time or at correct signals. When one of the pending order triggered, the other pending order will be deleted.
The first open order will not folowing the hedging TP/SL value, it has its own TP/SL with trailing stop and only after second order (Hedging Order System Executed) All TP/SL follow the TP/SL of hedging system and will be without trailing stop. It is also very important in order the hedging work, when it hits TP it must as well hit the SL of the previous orders, in other words when it hit all SL it will also hit all TP even with the floating spread.
Setting Parameter
EA Name: Breakout Hedging
Account Number: (if wrong, info: contact ...)
Expired Setting: dd:mm:yyyy (if expired, info: contact ...)
MagicNumber:
MaxSpread:5
FixLot: 0.01
AutoLot: T/F
RiskMM: 2
FirstOrder_TP/SL_Setting:
TP: 60
SL: 30
Use Trailing Stop: T/F
TrailingStart: 15
TrailingGap: 10
UseManual_HiddenPO:
OpenPOTime: 14:00
BuyStopGap: 10 (Place hidden buystop 10 pips above running price)
SellStopGap: 10 (Place hidden sellstop 10 pips below running price)
BuyLimitGap: 0
SellLimitGap: 0
UseAutomatic_HiddenPO: T/F (if set to true, Manual_HiddenPO will not worked)
PreviousCandlesCount: 12 (Analyse price from 12 previous candles)
SR_mingap: 5 (Minimum pip gap from highest price (resistance) to running price and Minimum pip gap from lowest price (support) to running price
SR_MaxGap: 15
AddpipforPO: 2 ( Add 2 pips above from highest price value (resistance level) for hidden buy stop and Add 2 pips above from lowest price value (support level) for hidden sell stop
DailyOneTimeOpenOrder: T/F (open order only one time/ day, but can continue hedging)
Filter_startendTime: T/F (first open order only can be open within this time)
StartTime: 10:00
EndTIme: 23:00
CloseAllOrder: T/F
CloseAllOrder_Time: T/F
CloseAllOrderTIme: 23:59
Filter_MaxDailyRangePip: 50 ( EA stop new cycle/ will not open first order if daily range has reached, it is a gap from current price to daily open)
Continue_UseHedging: T/F
H_Step: 30
1st_multiplier: 3
Next_multiplier: 2
H_TP: 30
H_SL: 60
H_MaxLevel: (1 for first order, 2 for second order, etc)