last ...
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -40,8 +40,14 @@ class XCXCAEAPOIDrawer : public XCBase
|
||||
bool drawSWLPivots;
|
||||
bool drawPeakPivots;
|
||||
bool drawValePivots;
|
||||
bool drawRSIPeakPivots;
|
||||
bool drawRSIValePivots;
|
||||
bool drawCCIPeakPivots;
|
||||
bool drawCCIValePivots;
|
||||
bool drawKIBullishPivots;
|
||||
bool drawKIBearishPivots;
|
||||
bool drawFVGBullishPivots;
|
||||
bool drawFVGBearishPivots;
|
||||
bool drawPeakSWHResPivots;
|
||||
bool drawValeSWLSupPivots;
|
||||
bool drawTKIBullishPivots;
|
||||
@@ -80,8 +86,14 @@ class XCXCAEAPOIDrawer : public XCBase
|
||||
mSWLPivotObjects.Clear();
|
||||
mPeakPivotObjects.Clear();
|
||||
mValePivotObjects.Clear();
|
||||
mRSIPeakPivotObjects.Clear();
|
||||
mRSIValePivotObjects.Clear();
|
||||
mCCIPeakPivotObjects.Clear();
|
||||
mCCIValePivotObjects.Clear();
|
||||
mKIBullishPivotObjects.Clear();
|
||||
mKIBearishPivotObjects.Clear();
|
||||
mFVGBullishPivotObjects.Clear();
|
||||
mFVGBearishPivotObjects.Clear();
|
||||
mPeakSWHResPivotObjects.Clear();
|
||||
mValeSWLSupPivotObjects.Clear();
|
||||
mTKIBullishPivotObjects.Clear();
|
||||
@@ -116,8 +128,14 @@ class XCXCAEAPOIDrawer : public XCBase
|
||||
drawSWLPivots = false;
|
||||
drawPeakPivots = false;
|
||||
drawValePivots = false;
|
||||
drawRSIPeakPivots = false;
|
||||
drawRSIValePivots = false;
|
||||
drawCCIPeakPivots = false;
|
||||
drawCCIValePivots = false;
|
||||
drawKIBullishPivots = false;
|
||||
drawKIBearishPivots = false;
|
||||
drawFVGBullishPivots = false;
|
||||
drawFVGBearishPivots = false;
|
||||
drawPeakSWHResPivots = false;
|
||||
drawValeSWLSupPivots = false;
|
||||
drawTKIBullishPivots = false;
|
||||
@@ -142,8 +160,14 @@ class XCXCAEAPOIDrawer : public XCBase
|
||||
DrawSWLPivots(to);
|
||||
DrawPeakPivots(to);
|
||||
DrawValePivots(to);
|
||||
DrawRSIPeakPivots(to);
|
||||
DrawRSIValePivots(to);
|
||||
DrawCCIPeakPivots(to);
|
||||
DrawCCIValePivots(to);
|
||||
DrawKIBullishPivots(to);
|
||||
DrawKIBearishPivots(to);
|
||||
DrawFVGBullishPivots(to);
|
||||
DrawFVGBearishPivots(to);
|
||||
DrawPeakSWHResPivots(to);
|
||||
DrawValeSWLSupPivots(to);
|
||||
DrawTKIBullishPivots(to);
|
||||
@@ -481,6 +505,96 @@ class XCXCAEAPOIDrawer : public XCBase
|
||||
iBox.Clean();
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
void DrawFVGBullishPivots(datetime to = NULL) {
|
||||
//
|
||||
if (!drawFVGBullishPivots) {
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
bool canUpdateTo = IsValid(to);
|
||||
|
||||
//
|
||||
bool has = detector.HasFVGBullishPivots();
|
||||
if (!has) {
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
int count = detector.CountFVGBullishPivots();
|
||||
for (int i = 0; i < count; i++) {
|
||||
//
|
||||
XBoxZone iBox;
|
||||
has = detector.fvgBullishPivots[i].AsBox(iBox);
|
||||
if (!has) {
|
||||
//
|
||||
iBox.Clean();
|
||||
continue;
|
||||
}
|
||||
|
||||
//
|
||||
if (canUpdateTo) {
|
||||
iBox.to = to;
|
||||
}
|
||||
|
||||
//
|
||||
XCBoxObject *iObj;
|
||||
has = drawer.DrawBox(
|
||||
iBox,
|
||||
iObj //
|
||||
);
|
||||
if (has) {
|
||||
mFVGBullishPivotObjects.Add(iObj);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
void DrawFVGBearishPivots(datetime to = NULL) {
|
||||
//
|
||||
if (!drawFVGBearishPivots) {
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
bool canUpdateTo = IsValid(to);
|
||||
|
||||
//
|
||||
bool has = detector.HasFVGBearishPivots();
|
||||
if (!has) {
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
int count = detector.CountFVGBearishPivots();
|
||||
for (int i = 0; i < count; i++) {
|
||||
//
|
||||
XBoxZone iBox;
|
||||
has = detector.fvgBearishPivots[i].AsBox(iBox);
|
||||
if (!has) {
|
||||
//
|
||||
iBox.Clean();
|
||||
continue;
|
||||
}
|
||||
|
||||
//
|
||||
if (canUpdateTo) {
|
||||
iBox.to = to;
|
||||
}
|
||||
|
||||
//
|
||||
XCBoxObject *iObj;
|
||||
has = drawer.DrawBox(
|
||||
iBox,
|
||||
iObj //
|
||||
);
|
||||
if (has) {
|
||||
mFVGBearishPivotObjects.Add(iObj);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
void DrawPeakSWHResPivots(datetime to = NULL)
|
||||
@@ -1250,6 +1364,116 @@ class XCXCAEAPOIDrawer : public XCBase
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
void DrawRSIPeakPivots(datetime to = NULL)
|
||||
{
|
||||
//
|
||||
if (!drawRSIPeakPivots)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
to = NULL;
|
||||
bool canUpdateTo = IsValid(to);
|
||||
|
||||
//
|
||||
int count = 0;
|
||||
bool has = detector.HasRSIPeakPivots();
|
||||
if (has)
|
||||
{
|
||||
//
|
||||
count = detector.CountRSIPeakPivots();
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
//
|
||||
XBoxZone iBox;
|
||||
has = detector.rsiPeakPivots[i].AsBox(iBox);
|
||||
if (!has)
|
||||
{
|
||||
//
|
||||
iBox.Clean();
|
||||
continue;
|
||||
}
|
||||
|
||||
//
|
||||
if (canUpdateTo)
|
||||
{
|
||||
iBox.to = to;
|
||||
}
|
||||
|
||||
//
|
||||
XCBoxObject *iObj;
|
||||
has = drawer.DrawBox(
|
||||
iBox,
|
||||
iObj //
|
||||
);
|
||||
if (has)
|
||||
{
|
||||
mRSIPeakPivotObjects.Add(iObj);
|
||||
}
|
||||
|
||||
//
|
||||
iBox.Clean();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
void DrawRSIValePivots(datetime to = NULL)
|
||||
{
|
||||
//
|
||||
if (!drawRSIValePivots)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
to = NULL;
|
||||
bool canUpdateTo = IsValid(to);
|
||||
|
||||
//
|
||||
int count = 0;
|
||||
bool has = detector.HasRSIValePivots();
|
||||
if (has)
|
||||
{
|
||||
//
|
||||
count = detector.CountRSIValePivots();
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
//
|
||||
XBoxZone iBox;
|
||||
has = detector.rsiValePivots[i].AsBox(iBox);
|
||||
if (!has)
|
||||
{
|
||||
//
|
||||
iBox.Clean();
|
||||
continue;
|
||||
}
|
||||
|
||||
//
|
||||
if (canUpdateTo)
|
||||
{
|
||||
iBox.to = to;
|
||||
}
|
||||
|
||||
//
|
||||
XCBoxObject *iObj;
|
||||
has = drawer.DrawBox(
|
||||
iBox,
|
||||
iObj //
|
||||
);
|
||||
if (has)
|
||||
{
|
||||
mRSIValePivotObjects.Add(iObj);
|
||||
}
|
||||
|
||||
//
|
||||
iBox.Clean();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
void DrawRSICrossedOverOSPivots(datetime to = NULL)
|
||||
{
|
||||
@@ -1356,6 +1580,116 @@ class XCXCAEAPOIDrawer : public XCBase
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
void DrawCCIPeakPivots(datetime to = NULL)
|
||||
{
|
||||
//
|
||||
if (!drawCCIPeakPivots)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
to = NULL;
|
||||
bool canUpdateTo = IsValid(to);
|
||||
|
||||
//
|
||||
int count = 0;
|
||||
bool has = detector.HasCCIPeakPivots();
|
||||
if (has)
|
||||
{
|
||||
//
|
||||
count = detector.CountCCIPeakPivots();
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
//
|
||||
XBoxZone iBox;
|
||||
has = detector.cciPeakPivots[i].AsBox(iBox);
|
||||
if (!has)
|
||||
{
|
||||
//
|
||||
iBox.Clean();
|
||||
continue;
|
||||
}
|
||||
|
||||
//
|
||||
if (canUpdateTo)
|
||||
{
|
||||
iBox.to = to;
|
||||
}
|
||||
|
||||
//
|
||||
XCBoxObject *iObj;
|
||||
has = drawer.DrawBox(
|
||||
iBox,
|
||||
iObj //
|
||||
);
|
||||
if (has)
|
||||
{
|
||||
mCCIPeakPivotObjects.Add(iObj);
|
||||
}
|
||||
|
||||
//
|
||||
iBox.Clean();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
void DrawCCIValePivots(datetime to = NULL)
|
||||
{
|
||||
//
|
||||
if (!drawCCIValePivots)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
to = NULL;
|
||||
bool canUpdateTo = IsValid(to);
|
||||
|
||||
//
|
||||
int count = 0;
|
||||
bool has = detector.HasCCIValePivots();
|
||||
if (has)
|
||||
{
|
||||
//
|
||||
count = detector.CountCCIValePivots();
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
//
|
||||
XBoxZone iBox;
|
||||
has = detector.cciValePivots[i].AsBox(iBox);
|
||||
if (!has)
|
||||
{
|
||||
//
|
||||
iBox.Clean();
|
||||
continue;
|
||||
}
|
||||
|
||||
//
|
||||
if (canUpdateTo)
|
||||
{
|
||||
iBox.to = to;
|
||||
}
|
||||
|
||||
//
|
||||
XCBoxObject *iObj;
|
||||
has = drawer.DrawBox(
|
||||
iBox,
|
||||
iObj //
|
||||
);
|
||||
if (has)
|
||||
{
|
||||
mCCIValePivotObjects.Add(iObj);
|
||||
}
|
||||
|
||||
//
|
||||
iBox.Clean();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
void DrawCCICrossedOverOSPivots(datetime to = NULL)
|
||||
{
|
||||
@@ -1483,8 +1817,14 @@ class XCXCAEAPOIDrawer : public XCBase
|
||||
CArrayObj mSWLPivotObjects;
|
||||
CArrayObj mPeakPivotObjects;
|
||||
CArrayObj mValePivotObjects;
|
||||
CArrayObj mRSIPeakPivotObjects;
|
||||
CArrayObj mRSIValePivotObjects;
|
||||
CArrayObj mCCIPeakPivotObjects;
|
||||
CArrayObj mCCIValePivotObjects;
|
||||
CArrayObj mKIBullishPivotObjects;
|
||||
CArrayObj mKIBearishPivotObjects;
|
||||
CArrayObj mFVGBullishPivotObjects;
|
||||
CArrayObj mFVGBearishPivotObjects;
|
||||
CArrayObj mPeakSWHResPivotObjects;
|
||||
CArrayObj mValeSWLSupPivotObjects;
|
||||
CArrayObj mTKIBullishPivotObjects;
|
||||
|
||||
Reference in New Issue
Block a user