last ...
This commit is contained in:
@@ -95,6 +95,9 @@ class XCBaseHelper : public XCBase
|
||||
return BarsCalculated(mHandler);
|
||||
}
|
||||
|
||||
//
|
||||
virtual void Free() {}
|
||||
|
||||
//
|
||||
// Generate Tag ...
|
||||
virtual string GetTag()
|
||||
|
||||
@@ -1947,6 +1947,20 @@ class XCX121Helper : public XCBase
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
void Free()
|
||||
{
|
||||
//
|
||||
xpvHelper.Free();
|
||||
xhkHelper.Free();
|
||||
xatrHelper.Free();
|
||||
xstrHelper.Free();
|
||||
xcheHelper.Free();
|
||||
xdonHelper.Free();
|
||||
xvwapHelper.Free();
|
||||
xtrendHelper.Free();
|
||||
}
|
||||
|
||||
//
|
||||
bool GetConditions(
|
||||
X121Conditions &conditions, //
|
||||
@@ -3328,6 +3342,9 @@ class XCX121Helper : public XCBase
|
||||
xvwapConditions.Clean();
|
||||
xtrendConditions.Clean();
|
||||
|
||||
//
|
||||
Free();
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -890,6 +890,12 @@ class XCX121XATRHelper : public XCBaseHelper
|
||||
);
|
||||
}
|
||||
|
||||
//
|
||||
void Free() override
|
||||
{
|
||||
Cleanup(10);
|
||||
}
|
||||
|
||||
//
|
||||
bool GetConditions(
|
||||
X121XATRConditions &conditions, //
|
||||
|
||||
@@ -943,6 +943,12 @@ class XCX121XCHEHelper : public XCBaseHelper
|
||||
);
|
||||
}
|
||||
|
||||
//
|
||||
void Free() override
|
||||
{
|
||||
Cleanup(10);
|
||||
}
|
||||
|
||||
//
|
||||
bool GetConditions(
|
||||
X121XCHEConditions &conditions, //
|
||||
|
||||
@@ -965,6 +965,12 @@ class XCX121XDONHelper : public XCBaseHelper
|
||||
);
|
||||
}
|
||||
|
||||
//
|
||||
void Free() override
|
||||
{
|
||||
Cleanup(10);
|
||||
}
|
||||
|
||||
//
|
||||
bool GetConditions(
|
||||
X121XDONConditions &conditions, //
|
||||
|
||||
@@ -1011,6 +1011,12 @@ class XCX121XHKHelper : public XCBaseHelper
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
void Free() override
|
||||
{
|
||||
Cleanup(10);
|
||||
}
|
||||
|
||||
//
|
||||
bool GetConditions(
|
||||
X121XHKConditions &conditions, //
|
||||
@@ -1332,7 +1338,7 @@ class XCX121XHKHelper : public XCBaseHelper
|
||||
|
||||
//
|
||||
rawHKCBar.Clean();
|
||||
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -1833,6 +1833,12 @@ class XCX121XPVHelper : public XCBaseHelper
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
void Free() override
|
||||
{
|
||||
Cleanup(10);
|
||||
}
|
||||
|
||||
//
|
||||
bool GetConditions(
|
||||
X121XPVConditions &conditions, //
|
||||
|
||||
@@ -809,6 +809,12 @@ class XCX121XSTRHelper : public XCBaseHelper
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
void Free() override
|
||||
{
|
||||
Cleanup(10);
|
||||
}
|
||||
|
||||
//
|
||||
bool GetConditions(
|
||||
X121XSTRConditions &conditions, //
|
||||
|
||||
@@ -928,6 +928,12 @@ class XCX121XTRENDHelper : public XCBaseHelper
|
||||
);
|
||||
}
|
||||
|
||||
//
|
||||
void Free() override
|
||||
{
|
||||
Cleanup(10);
|
||||
}
|
||||
|
||||
//
|
||||
bool GetConditions(
|
||||
X121XTRENDConditions &conditions, //
|
||||
@@ -1079,15 +1085,15 @@ class XCX121XTRENDHelper : public XCBaseHelper
|
||||
conditions.isTrendBearish = isTrendBearish;
|
||||
conditions.isTrendSwitchedToBullish = isTrendSwitchedToBullish;
|
||||
conditions.isTrendSwitchedToBearish = isTrendSwitchedToBearish;
|
||||
|
||||
|
||||
//
|
||||
Cleanup();
|
||||
|
||||
//
|
||||
zBar.Clean();
|
||||
cBar.Clean();
|
||||
pBar.Clean();
|
||||
|
||||
pBar.Clean();
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -1047,6 +1047,12 @@ class XCX121XVWAPHelper : public XCBaseHelper
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
void Free() override
|
||||
{
|
||||
Cleanup(10);
|
||||
}
|
||||
|
||||
//
|
||||
bool GetConditions(
|
||||
X121XVWAPConditions &conditions, //
|
||||
@@ -1315,7 +1321,7 @@ class XCX121XVWAPHelper : public XCBaseHelper
|
||||
//
|
||||
zBar.Clean();
|
||||
cBar.Clean();
|
||||
pBar.Clean();
|
||||
pBar.Clean();
|
||||
|
||||
//
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user