remove old experts after backing Up and also implement HE Hedging ...

This commit is contained in:
2024-09-16 14:22:14 +03:30
parent 88ea5ec928
commit 2f3bf0f34a
5 changed files with 584 additions and 2055 deletions
+14
View File
@@ -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)