Fix Order Blocks ...

This commit is contained in:
2025-03-17 23:02:12 +03:30
parent 48c78e1256
commit 3f26a75e2e
4 changed files with 146 additions and 56 deletions
+8 -8
View File
@@ -680,8 +680,8 @@ struct XPOIStateEvents
//
// Supply/Demand (s) ...
bool hasSupplyZone;
bool hasDemandZone;
bool hasNewSupplyZone;
bool hasNewDemandZone;
//
// Fair Value Gaps ...
@@ -748,8 +748,8 @@ struct XPOIStateEvents
hasNewResistanceZone = false;
//
hasSupplyZone = false;
hasDemandZone = false;
hasNewSupplyZone = false;
hasNewDemandZone = false;
//
hasNewFairValueGap = false;
@@ -812,8 +812,8 @@ struct XPOIStateEvents
hasNewResistanceZone = HasNewResistanceZone(events);
//
hasSupplyZone = HasSupplyZone(events);
hasDemandZone = HasDemandZone(events);
hasNewSupplyZone = HasNewSupplyZone(events);
hasNewDemandZone = HasNewDemandZone(events);
//
hasNewFairValueGap = HasNewFairValueGap(events);
@@ -4981,7 +4981,7 @@ bool HasNewResistanceZone(ENUM_XPOI_EVENTS &events[])
// Supply / Demand Zones ...
//
bool HasSupplyZone(ENUM_XPOI_EVENTS &events[])
bool HasNewSupplyZone(ENUM_XPOI_EVENTS &events[])
{
return Contains(
X_SUPPLY_ZONE_DETECTED,
@@ -4990,7 +4990,7 @@ bool HasSupplyZone(ENUM_XPOI_EVENTS &events[])
}
//
bool HasDemandZone(ENUM_XPOI_EVENTS &events[])
bool HasNewDemandZone(ENUM_XPOI_EVENTS &events[])
{
return Contains(
X_DEMAND_ZONE_DETECTED,