preparing Strategy 2 of Signaller 2 of XFIMA ...
This commit is contained in:
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 ...
|
||||
|
||||
Reference in New Issue
Block a user