This commit is contained in:
2024-11-19 14:33:57 +03:30
parent 67b7d416cb
commit ee9ea11b6a
6 changed files with 1416 additions and 310 deletions
@@ -979,6 +979,7 @@ class XCX121SMCBaseStrategy : public XCBaseAlert
*/
void DrawState(
XPOIState &state,
bool forceUpdateTo = false,
bool drawSwingHighs = true,
bool drawSwingLows = true,
bool drawSupportZones = true,
@@ -997,6 +998,7 @@ class XCX121SMCBaseStrategy : public XCBaseAlert
{
//
int count = 0;
datetime cTime = TimeCurrent();
//
// Swings ...
@@ -1073,6 +1075,9 @@ class XCX121SMCBaseStrategy : public XCBaseAlert
{
//
XCSupportZone item = state.supportZones[i];
if (forceUpdateTo) {
item.To(cTime);
}
//
XCSupportZoneObject *iObj;
@@ -1101,6 +1106,9 @@ class XCX121SMCBaseStrategy : public XCBaseAlert
{
//
XCResistanceZone item = state.resistanceZones[i];
if (forceUpdateTo) {
item.To(cTime);
}
//
XCResistanceZoneObject *iObj;
@@ -1132,6 +1140,9 @@ class XCX121SMCBaseStrategy : public XCBaseAlert
{
//
XCSupplyZone item = state.supplyZones[i];
if (forceUpdateTo) {
item.To(cTime);
}
//
XCSupplyZoneObject *iObj;
@@ -1160,6 +1171,9 @@ class XCX121SMCBaseStrategy : public XCBaseAlert
{
//
XCDemandZone item = state.demandZones[i];
if (forceUpdateTo) {
item.To(cTime);
}
//
XCDemandZoneObject *iObj;
@@ -1191,6 +1205,9 @@ class XCX121SMCBaseStrategy : public XCBaseAlert
{
//
XCOrderBlock item = state.bullishOrderBlocks[i];
if (forceUpdateTo) {
item.To(cTime);
}
//
XCBullishOrderBlockObject *iObj;
@@ -1219,6 +1236,9 @@ class XCX121SMCBaseStrategy : public XCBaseAlert
{
//
XCOrderBlock item = state.bearishOrderBlocks[i];
if (forceUpdateTo) {
item.To(cTime);
}
//
XCBearishOrderBlockObject *iObj;
@@ -1250,6 +1270,9 @@ class XCX121SMCBaseStrategy : public XCBaseAlert
{
//
XCFVG item = state.bullishFairValueGaps[i];
if (forceUpdateTo) {
item.To(cTime);
}
//
XCBullishFairValueGapObject *iObj;
@@ -1278,6 +1301,9 @@ class XCX121SMCBaseStrategy : public XCBaseAlert
{
//
XCFVG item = state.bearishFairValueGaps[i];
if (forceUpdateTo) {
item.To(cTime);
}
//
XCBearishFairValueGapObject *iObj;
@@ -1415,6 +1441,8 @@ class XCX121SMCBaseStrategy : public XCBaseAlert
// Ticks Zone ...
if (state.ticksZone != NULL)
{
//
// TODO: Implement this ...
}
}