preparing Strategy 2 of Signaller 2 of XFIMA ...

This commit is contained in:
2025-10-01 01:55:40 +03:30
parent cfba2b3e3a
commit 7ea0128540
5 changed files with 1338 additions and 626 deletions
File diff suppressed because it is too large Load Diff
@@ -916,6 +916,9 @@ class XCXFIMAPOIDetector : public XCMarketPatternDetector
resistance.Clean();
}
//
// Custom Indicator Pivots ...
//
// Detecting MA Crosses ...
if (config.detectMACrosses)
@@ -933,13 +936,52 @@ class XCXFIMAPOIDetector : public XCMarketPatternDetector
structure.maCrosses,
idx,
config.recentlyPatternsMaxAllowedCollecting,
config.validMACrossDiffMultiplier,
config.validMACrossDiffMultiplier,
config.recentlyPatternsMaxLookupLength //
);
}
//
// Analysers ...
// Detecting HK Switches ...
if (config.detectHKSwitches)
{
//
idx = forBar.Index();
has = fimaHelper.HasHKSwitch(
structure.hkSwitchDir,
idx //
);
//
fimaHelper.ExtractHKPivots(
structure.hkSwitches,
idx,
config.recentlyPatternsMaxAllowedCollecting,
config.recentlyPatternsMaxLookupLength //
);
}
//
// Detecting SAR Switches ...
if (config.detectSARSwitches) {
//
idx = forBar.Index();
has = fimaHelper.HasSARSwitch(
structure.sarSwitchDir,
idx //
);
//
fimaHelper.ExtractSARPivots(
structure.sarSwitches,
idx,
config.recentlyPatternsMaxAllowedCollecting,
config.recentlyPatternsMaxLookupLength //
);
}
//
// Custom Analysers ...
//
// Analyse Based on PV ...