Fix all Refactors issues on X121SMC for start Implementing Strategy ...

This commit is contained in:
2024-11-15 10:36:57 +03:30
parent b921b45eb2
commit 801b37806e
15 changed files with 1584 additions and 151 deletions
+94 -9
View File
@@ -1068,10 +1068,95 @@ class XCPOIDetector : public XCBaseAlert
//
state.symbol = mSymbol;
state.period = mPeriod;
state.reportedAt = TimeCurrent();
state.time = TimeCurrent();
//
// TODO: Fill State ...
Copy(
mSwingHighs,
state.swingHighs //
);
//
Copy(
mSwingLows,
state.swingLows //
);
//
Copy(
mBullishMomentumBars,
state.bullishMomentumBars //
);
//
Copy(
mBearishMomentumBars,
state.bearishMomentumBars //
);
//
Copy(
mBullishRejectionBars,
state.bullishRejectionBars //
);
//
Copy(
mBearishRejectionBars,
state.bearishRejectionBars //
);
//
Copy(
mSupportZones,
state.supportZones //
);
//
Copy(
mResistanceZones,
state.resistanceZones //
);
//
Copy(
mSupplyZones,
state.supplyZones //
);
//
Copy(
mDemandZones,
state.demandZones //
);
//
Copy(
mBullishOrderBlocks,
state.bullishOrderBlocks //
);
//
Copy(
mBearishOrderBlocks,
state.bearishOrderBlocks //
);
//
Copy(
mBullishFairValueGaps,
state.bullishFairValueGaps //
);
//
Copy(
mBearishFairValueGaps,
state.bearishFairValueGaps //
);
//
state.ticksZone = mTicksZone;
//
}
//
@@ -2993,7 +3078,7 @@ class XCPOIDetector : public XCBaseAlert
//
// Supply Zone(s) ...
XCSupplyZone *mSupplyZones[];
XCSupplyZone *mSupplyZones[]; // Holds Founded Supply Zones ...
/**
* Detect Supply Zone ...
@@ -3162,7 +3247,7 @@ class XCPOIDetector : public XCBaseAlert
//
// Demand Zone(s) ...
XCDemandZone *mDemandZones[];
XCDemandZone *mDemandZones[]; // Holds Founded Demand Zones ...
/**
* Detect Demand Zone ...
@@ -3335,7 +3420,7 @@ class XCPOIDetector : public XCBaseAlert
//
// Bullish OB ...
XCOrderBlock *mBullishOrderBlocks[];
XCOrderBlock *mBullishOrderBlocks[]; // Holds Founded Bullish Order Blocks ...
/**
* Detect Bullish Order Block ...
@@ -3493,7 +3578,7 @@ class XCPOIDetector : public XCBaseAlert
//
// Bearish OB ...
XCOrderBlock *mBearishOrderBlocks[];
XCOrderBlock *mBearishOrderBlocks[]; // Holds Founded Bearish Order Blocks ...
/**
* Detect Bearish Order Block ...
@@ -3655,7 +3740,7 @@ class XCPOIDetector : public XCBaseAlert
//
// Bullish FVG ...
XCFVG *mBullishFairValueGaps[];
XCFVG *mBullishFairValueGaps[]; // Holds Founded Bullish Fair Value Gaps ...
/**
* Detect Bullish Fair Value Gap ...
@@ -3816,7 +3901,7 @@ class XCPOIDetector : public XCBaseAlert
//
// Bearish FVG ...
XCFVG *mBearishFairValueGaps[];
XCFVG *mBearishFairValueGaps[]; // Holds Founded Bearish Fair Value Gaps ...
/**
* Detect Bearish Fair Value Gap ...
@@ -3981,7 +4066,7 @@ class XCPOIDetector : public XCBaseAlert
int mTicksRangeZoneRange; // Ticks Range Zone Loopback Period ...
//
XCTicksZone *mTicksZone; // Ticks Zone ...
XCTicksZone *mTicksZone; // Ticks Zone ...
// XCTicksZoneObject *mTicksZoneObject; // Ticks Zone Object ...
/**