This commit is contained in:
2025-03-09 07:04:04 +03:30
parent d8a989d3dd
commit a81c09e2a5
5 changed files with 850 additions and 291 deletions
+1 -34
View File
@@ -295,36 +295,6 @@ class XC121SMCExpert : public XCBaseExpert
ReConfigure();
}
/**
* Get Minimum Spread Verification for Signalling ...
* 0 => Ignore ...
*
* @return ( int )
*/
int MinRequiredVerificationForSpreadPass()
{
return mMinRequiredVerificationForSpreadPass;
}
/**
* Set Minimum Spread Verification for Signalling ...
*
* @param value: Integer ...
* 0 => Ignore ...
*/
void MinRequiredVerificationForSpreadPass(int value)
{
//
if (value < 0)
{
value = 0;
}
//
mMinRequiredVerificationForSpreadPass = value;
ReConfigure();
}
//
// Trade ...
@@ -1242,6 +1212,7 @@ class XC121SMCExpert : public XCBaseExpert
mTradeHandler.SaveTrades(false);
mTradeHandler.SaveSignals(false);
mTradeHandler.SaveConditions(false);
mTradeHandler.MaxAllowedSpread(MaxAllowedSpread());
//
ReConfigureTradeHandler();
@@ -1802,9 +1773,6 @@ class XC121SMCExpert : public XCBaseExpert
strategy.R2R(R2R());
strategy.AllowLong(AllowLong());
strategy.AllowShort(AllowShort());
strategy.MaxAllowedSpread(20);
// strategy.MaxAllowedSaveTicks(150);
// strategy.MinRequiredTicksForSpreadPass(100);
//
if (Disabled())
@@ -1920,7 +1888,6 @@ class XC121SMCExpert : public XCBaseExpert
double mLastPositionProfitForAcceptNextInPoint; // Last Position Profit In Points for Accept new Signal ...
int mDelaysBetweenTwoSignalsInBar; // Delay between two Signals in Bars ...
double mMaxAllowedSpread; // Max Allowed Spread for Signalling ...
int mMinRequiredVerificationForSpreadPass; // Minimum Spread Verification for Signalling ...
//
// Trade ...