This commit is contained in:
2025-03-08 06:32:05 +03:30
parent 06572ffb2e
commit e0e081628a
2 changed files with 3 additions and 12 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ input group "Protection";
input bool eaAllowHedging = true; // Allow Hedge Positions
input int eaMinOpenTradesFroHedging = 2; // Minimum Open Positions for Hedging
input double eaHedgingMinVolumeStep = 0.01; // Minimum Volume Step for Hedging
input double eaHedgeingMinRequiredProfitPerVolumeStep = 2.0; // Minimum Required Profit Per Volume Step for Hedging
input double eaHedgeingMinRequiredProfitPerVolumeStep = 1.0; // Minimum Required Profit Per Volume Step for Hedging
//
// Alert ...
@@ -441,17 +441,8 @@ class XCX121SMCXWZSignalDetector : public XCBase
//
double iSL = 0;
// double signalBoxRange = (signalBox.upper - signalBox.lower);
// if (signalBoxRange < points * 100)
// {
// iSL = pivot;
// }
// else
// {
// iSL = signalBox.lower + (signalBox.upper - signalBox.lower) / 2;
// }
//
// Select and Provide SL Based on ...
if (signalProvider == X121SMC_XWZ_PROVIDER_ACTIVATED_MA)
{
//
@@ -534,7 +525,7 @@ class XCX121SMCXWZSignalDetector : public XCBase
//
Add(
iTP2,
iTP3,
targets //
);