This commit is contained in:
2026-02-13 00:46:53 +03:30
parent 3ccaf9981d
commit 5abca35202
3 changed files with 268 additions and 48 deletions
@@ -266,7 +266,9 @@ class XCMarketPatternDetector : public XCBase
//
XOHCL tmpBar;
bar.GetPreviousBar(tmpBar);
while (tmpBar.GetDirection() == bar.GetDirection())
while ((tmpBar.GetDirection() == bar.GetDirection()) ||
((bar.IsBullish() && !tmpBar.IsBearish()) ||
(bar.IsBearish() && !tmpBar.IsBullish())))
{
//
count++;