apply latest optimization on indicator helpers classes and also add time tracking configurations into ea ...
This commit is contained in:
@@ -335,7 +335,18 @@ public:
|
||||
|
||||
//
|
||||
// Deconstructor ...
|
||||
~XSCXHKHelper() {}
|
||||
~XSCXHKHelper()
|
||||
{
|
||||
//
|
||||
Clean(openBuffer);
|
||||
Clean(highBuffer);
|
||||
Clean(lowBuffer);
|
||||
Clean(closeBuffer);
|
||||
Clean(smOpenBuffer);
|
||||
Clean(smHighBuffer);
|
||||
Clean(smLowBuffer);
|
||||
Clean(smCloseBuffer);
|
||||
}
|
||||
|
||||
//
|
||||
// Tools ...
|
||||
@@ -1160,7 +1171,7 @@ public:
|
||||
conditions.isSMHKSwitchedToBullish = isSMHKSwitchedToBullish;
|
||||
conditions.isSMHKBearish = isSMHKBearish;
|
||||
conditions.isSMHKSwitchedToBearish = isSMHKSwitchedToBearish;
|
||||
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
@@ -1195,7 +1206,8 @@ private:
|
||||
{
|
||||
//
|
||||
int totalBars = CountBars();
|
||||
if (totalBars > 1000) {
|
||||
if (totalBars > 1000)
|
||||
{
|
||||
totalBars = 1000;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user