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