This commit is contained in:
2025-10-19 06:10:54 +03:30
parent ba492bf205
commit 7b57c75691
6 changed files with 3027 additions and 1260 deletions
+30
View File
@@ -1430,6 +1430,36 @@ class XCPOIDrawer : public XCBase
ZeroMemory(iObj);
}
/**
* Draw Specified Zones ...
*
* @param _zone: XBozxZone, reference to Collection Specified Zone ...
* @param config: XPOIDrawConfig, Darwing Configuration ...
*/
void DrawZones(
XBoxZone &_zones[],
XPOIDrawConfig &config //
)
{
//
// Validate ...
bool has = HasChild(_zones);
if (!has)
{
return;
}
//
for (int i = 0; i < ArraySize(_zones); i++)
{
//
DrawZone(
_zones[i],
config //
);
}
}
/**
* Draw Specified Pattern info ...
*
+97
View File
@@ -0,0 +1,97 @@
// //
// isBullish =
// //
// // Vales Same ...
// sameVales >= 7 &&
// //
// // PBar Patterns ...
// isBarPatternsPassed &&
// isPBarCloseOverFast &&
// //
// // Validate PullBack based on HK Bond ...
// isPullbackBullish &&
// pBar.close > pHKBondLower;
//
// poiDrawer.DrawPatternAnalysis(
// pBarAnalysis,
// structureDrawConfig.barAnalysisDrawConfig //
// );
// //
// if (IsValidSize(zonesCount))
// {
// //
// poiDrawer.DrawZones(
// zones,
// structureDrawConfig.drawConfig //
// );
// }
// //
// if (IsValidSize(affectedZonesCount))
// {
// //
// poiDrawer.DrawZones(
// affectedZones,
// structureDrawConfig.drawConfig //
// );
// }
//
// poiDrawer.DrawZones(
// affectedZonesBullish,
// structureDrawConfig.drawConfig //
// );
// //
// poiDrawer.DrawZones(
// affectedZonesBearish,
// structureDrawConfig.drawConfig //
// );
// //
// // Update POI Zones ...
// ENUM_X_DETECTOR_ZONE_ACTION zoneActions[];
// poiDetector.UpdateZones(
// iBar,
// zoneActions //
// // Validation Length ...
// // Required Zones ...
// // Loopback ...
// );
//
// Retrieve Conditions ...
// conditions.Clean();
// has = fimaHelper.GetConditions(
// conditions,
// barIndex,
// 10 // Loopback ...
// );
// if (!has)
// {
// //
// iBar.Clean();
// conditions.Clean();
// //
// return;
// }
//
// structure.Clean();
// poiDetector.AnalyseMarket(
// structure,
// structureConfig,
// barIndex //
// );
// poiDrawer.drawnObjects.Clear();
// poiDrawer.DrawMarketStructure(
// structure,
// structureDrawConfig //
// );
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -39,12 +39,6 @@ class XCXFIMAPOIDetector : public XCMarketPatternDetector
XCBarAnalyser *barAnalyser; // Bar Analyser ...
XCXFIMAHelper *fimaHelper; // XFIMA Helper ...
//
XBoxZone obs[];
XBoxZone fvgs[];
XBoxZone supports[];
XBoxZone resistances[];
//
// Constructor ...
XCXFIMAPOIDetector(
@@ -344,12 +338,6 @@ class XCXFIMAPOIDetector : public XCMarketPatternDetector
*/
void Destroy()
{
//
SpecifiedClean(obs);
SpecifiedClean(fvgs);
SpecifiedClean(supports);
SpecifiedClean(resistances);
//
delete barAnalyser;
ZeroMemory(barAnalyser);