last ...
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user