remove old experts after backing Up and also implement HE Hedging ...
This commit is contained in:
@@ -438,6 +438,20 @@ bool InitialEA()
|
||||
eaTradeHandler.UseMaxAllowedTradesPerSymbol(eaUseMaxAllowedTradesPerSymbol);
|
||||
eaTradeHandler.MaxDrawdownPercentForOpenTrades(eaMaxDrawdownPercentForOpenTrades);
|
||||
|
||||
//
|
||||
// Configure Position Protector ...
|
||||
|
||||
//
|
||||
// Configure Hedging ...
|
||||
// TODO: Configure it using Inputs ...
|
||||
eaTradeHandler.AllowHedge(true);
|
||||
eaTradeHandler.HedgeMinVolumeStep(0.01);
|
||||
eaTradeHandler.MinimumOpenPositionsForHEHedge(2);
|
||||
eaTradeHandler.HedgeHEMinProfitPerVolumeStep(0.2);
|
||||
|
||||
//
|
||||
// Configure Strategies ...
|
||||
|
||||
//
|
||||
// Single Symbol ...
|
||||
if (!eaMultiSymbol)
|
||||
|
||||
Reference in New Issue
Block a user