This commit is contained in:
2025-02-12 14:34:26 +03:30
parent 9f21ad0dd8
commit 3968ac7887
10 changed files with 73 additions and 5 deletions
+3
View File
@@ -95,6 +95,9 @@ class XCBaseHelper : public XCBase
return BarsCalculated(mHandler); return BarsCalculated(mHandler);
} }
//
virtual void Free() {}
// //
// Generate Tag ... // Generate Tag ...
virtual string GetTag() virtual string GetTag()
+17
View File
@@ -1947,6 +1947,20 @@ class XCX121Helper : public XCBase
return result; return result;
} }
//
void Free()
{
//
xpvHelper.Free();
xhkHelper.Free();
xatrHelper.Free();
xstrHelper.Free();
xcheHelper.Free();
xdonHelper.Free();
xvwapHelper.Free();
xtrendHelper.Free();
}
// //
bool GetConditions( bool GetConditions(
X121Conditions &conditions, // X121Conditions &conditions, //
@@ -3328,6 +3342,9 @@ class XCX121Helper : public XCBase
xvwapConditions.Clean(); xvwapConditions.Clean();
xtrendConditions.Clean(); xtrendConditions.Clean();
//
Free();
// //
return result; return result;
} }
+6
View File
@@ -890,6 +890,12 @@ class XCX121XATRHelper : public XCBaseHelper
); );
} }
//
void Free() override
{
Cleanup(10);
}
// //
bool GetConditions( bool GetConditions(
X121XATRConditions &conditions, // X121XATRConditions &conditions, //
+6
View File
@@ -943,6 +943,12 @@ class XCX121XCHEHelper : public XCBaseHelper
); );
} }
//
void Free() override
{
Cleanup(10);
}
// //
bool GetConditions( bool GetConditions(
X121XCHEConditions &conditions, // X121XCHEConditions &conditions, //
+6
View File
@@ -965,6 +965,12 @@ class XCX121XDONHelper : public XCBaseHelper
); );
} }
//
void Free() override
{
Cleanup(10);
}
// //
bool GetConditions( bool GetConditions(
X121XDONConditions &conditions, // X121XDONConditions &conditions, //
+6
View File
@@ -1011,6 +1011,12 @@ class XCX121XHKHelper : public XCBaseHelper
return result; return result;
} }
//
void Free() override
{
Cleanup(10);
}
// //
bool GetConditions( bool GetConditions(
X121XHKConditions &conditions, // X121XHKConditions &conditions, //
+6
View File
@@ -1833,6 +1833,12 @@ class XCX121XPVHelper : public XCBaseHelper
return result; return result;
} }
//
void Free() override
{
Cleanup(10);
}
// //
bool GetConditions( bool GetConditions(
X121XPVConditions &conditions, // X121XPVConditions &conditions, //
+6
View File
@@ -809,6 +809,12 @@ class XCX121XSTRHelper : public XCBaseHelper
return result; return result;
} }
//
void Free() override
{
Cleanup(10);
}
// //
bool GetConditions( bool GetConditions(
X121XSTRConditions &conditions, // X121XSTRConditions &conditions, //
@@ -928,6 +928,12 @@ class XCX121XTRENDHelper : public XCBaseHelper
); );
} }
//
void Free() override
{
Cleanup(10);
}
// //
bool GetConditions( bool GetConditions(
X121XTRENDConditions &conditions, // X121XTRENDConditions &conditions, //
+6
View File
@@ -1047,6 +1047,12 @@ class XCX121XVWAPHelper : public XCBaseHelper
return result; return result;
} }
//
void Free() override
{
Cleanup(10);
}
// //
bool GetConditions( bool GetConditions(
X121XVWAPConditions &conditions, // X121XVWAPConditions &conditions, //