This commit is contained in:
2025-09-20 18:02:13 +03:30
parent becac9983d
commit 73a97a80b3
5 changed files with 1922 additions and 15 deletions
@@ -246,6 +246,42 @@ class XCXFIMAPOIDetector : public XCBase
return result;
}
//
bool AnalyseMarketUsingZigZag(
XOHCL &bar,
ENUM_TIMEFRAMES forPeriod,
XZigZagAnalysis &analysis //
)
{
//
bool result = false;
//
// Prepare ...
analysis.Clean();
//
// Validate ...
result = bar.IsValid();
if (!result)
{
return result;
}
//
// Normalize ...
if (!IsSpecifiedValid(forPeriod))
{
forPeriod = bar.period;
}
//
// Reading XZigZag Points ...
//
return result;
}
//
// Implementing Patrren Detector ...