disable hedging on default inputs ...

This commit is contained in:
2024-08-07 17:17:48 +03:30
parent 955feae384
commit d24e442c9a
+1 -2
View File
@@ -76,7 +76,7 @@ input double eaMaxDrawdownPercentForOpenTrades = 3; // Max Drawdown Percent for
//
// Risk Management > Hedging ...
input group "Hedging";
input bool eaAllowHedging = true; // Allow Hedging Trades
input bool eaAllowHedging = false; // Allow Hedging Trades
input int eaMinTradesForHedge = 2; // Minimum Open Trades for Hedging
input double eaMinimumProfitPerVolumeForHedging = 0.3; // Minimum Required Profit per Volume for Hedging
@@ -213,7 +213,6 @@ void OnDeinit(const int reason)
msg = "De Initialized Successfully ...";
eaAlert.Alert(msg);
//
// De Initialize XSampleEA Providers ...
delete mCTHelper;