apply latest optimization on indicator helpers classes and also add time tracking configurations into ea ...

This commit is contained in:
2024-07-09 12:40:59 +03:30
parent 47e21cece6
commit ee9f04b817
39 changed files with 499 additions and 399 deletions
+15 -3
View File
@@ -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;
}