This commit is contained in:
2025-03-17 15:24:18 +03:30
parent 7adb4535e9
commit 35f11f3b5c
5 changed files with 430 additions and 22 deletions
+63
View File
@@ -3355,6 +3355,7 @@ class XCPOIDrawer : public XCBase
bool ignoreSupportZones = false,
bool ignoreBullishSharps = false,
bool ignoreBullishSpikes = false,
bool ignoreBullishPullbacks = false,
bool ignoreBullishMomentums = false,
bool ignoreBullishRejections = false,
bool ignoreBullishOrderBlocks = false,
@@ -3367,6 +3368,7 @@ class XCPOIDrawer : public XCBase
bool ignoreResistanceZones = false,
bool ignoreBearishSharps = false,
bool ignoreBearishSpikes = false,
bool ignoreBearishPullbacks = false,
bool ignoreBearishMomentums = false,
bool ignoreBearishRejections = false,
bool ignoreBearishOrderBlocks = false,
@@ -3856,6 +3858,67 @@ class XCPOIDrawer : public XCBase
}
}
//
// Pullbacks ...
//
// Bullish ...
if (!ignoreBullishPullbacks)
{
//
int count = state.CountBullishPullbacks();
if (IsValidSize(count))
{
//
for (int i = 0; i < count; i++)
{
//
XCBoxObject *iObj;
bool isCreated = DrawBox(
state.bullishPullbacks[i],
iObj //
);
if (isCreated)
{
//
Add(
(XCBaseObject *)iObj,
drawnObjects //
);
}
}
}
}
//
// Bearish ...
if (!ignoreBearishPullbacks)
{
//
int count = state.CountBearishPullbacks();
if (IsValidSize(count))
{
//
for (int i = 0; i < count; i++)
{
//
XCBoxObject *iObj;
bool isCreated = DrawBox(
state.bearishPullbacks[i],
iObj //
);
if (isCreated)
{
//
Add(
(XCBaseObject *)iObj,
drawnObjects //
);
}
}
}
}
//
// Consolidation Zones ...