last works ...

This commit is contained in:
2025-09-27 19:49:17 +03:30
parent 21ce1ebf4f
commit 0d32543974
9 changed files with 1307 additions and 153 deletions
@@ -1227,6 +1227,40 @@ class XCXFIMAPOIDetector : public XCMarketPatternDetector
);
}
//
// Supports ...
if (config.detectSupport)
{
//
Copy(
supports,
structure.supports //
);
Sort(
structure.supports,
iSortBy,
iSortDir,
config.recentlyPatternsMaxAllowedCollecting //
);
}
//
// Resistances ...
if (config.detectResistance)
{
//
Copy(
resistances,
structure.resistances //
);
Sort(
structure.resistances,
iSortBy,
iSortDir,
config.recentlyPatternsMaxAllowedCollecting //
);
}
//
// Loop through Items ...
for (int i = start; i < end; i++)
@@ -1312,7 +1346,7 @@ class XCXFIMAPOIDetector : public XCMarketPatternDetector
//
iPrefix = "TruGapedBar";
has = IsTrueGapedBar(
forBar,
iBar,
iDir,
config.truwGapApprovedPointMultiplier //
);
@@ -1341,7 +1375,7 @@ class XCXFIMAPOIDetector : public XCMarketPatternDetector
//
iPrefix = "PinBar";
has = IsPinnedBar(
forBar,
iBar,
iDir,
config.pinnedBaarShadowApprovedMultiplier,
config.pinnedBarMinimumPinBarRangeMultiplier,
@@ -1375,12 +1409,12 @@ class XCXFIMAPOIDetector : public XCMarketPatternDetector
//
iPrefix = "Star";
has = IsStartPattern(
forBar,
iBar,
iDir //
);
has = has &&
ToBox(
forBar,
iBar,
iBox,
iDir,
iPrefix //
@@ -1403,12 +1437,12 @@ class XCXFIMAPOIDetector : public XCMarketPatternDetector
//
iPrefix = "Piercing";
has = IsPiercingPattern(
forBar,
iBar,
iDir //
);
has = has &&
ToBox(
forBar,
iBar,
iBox,
iDir,
iPrefix //
@@ -1431,12 +1465,12 @@ class XCXFIMAPOIDetector : public XCMarketPatternDetector
//
iPrefix = "Rising";
has = IsRisingPattern(
forBar,
iBar,
iDir //
);
has = has &&
ToBox(
forBar,
iBar,
iBox,
iDir,
iPrefix //
@@ -1460,14 +1494,14 @@ class XCXFIMAPOIDetector : public XCMarketPatternDetector
iPrefix = "Flag";
XOHCL swingBar;
has = IsFlagPattern(
forBar,
iBar,
iDir,
swingBar,
config.flagPatternMinimumPullbackBars //
);
has = has &&
ToBox(
forBar,
iBar,
iBox,
iDir,
iPrefix //
@@ -1490,7 +1524,7 @@ class XCXFIMAPOIDetector : public XCMarketPatternDetector
//
iPrefix = "SignalKeyBar";
has = IsSignalKeyBarPattern(
forBar,
iBar,
iDir,
config.signalKeyBarShadowApprovedMultiplier,
config.signalKeyBarMinimumPinBarRangeMultiplier,
@@ -1498,7 +1532,7 @@ class XCXFIMAPOIDetector : public XCMarketPatternDetector
);
has = has &&
ToBox(
forBar,
iBar,
iBox,
iDir,
iPrefix //