last ...
This commit is contained in:
@@ -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 //
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user