apply last POI Changes Refctor and Resolve all Side Affect Issues on X121 SMC Expert Projects ...

This commit is contained in:
2025-03-17 23:40:00 +03:30
parent f8ff7a0dbe
commit 5ac08cf97b
12 changed files with 4415 additions and 1160 deletions
-110
View File
@@ -179,20 +179,6 @@ struct X121XHKConditions
bool isRawHKClosedOverSMHK;
bool isRawHKClosedUnderSMHK;
//
bool isBreakedUpSMHK;
bool isBreakedUpRawHK;
bool isRejectedUpSMHK;
bool isRejectedUpRawHK;
bool isRawHKBreakedUpSMHK;
//
bool isBreakedDownSMHK;
bool isBreakedDownRawHK;
bool isRejectedDownSMHK;
bool isRejectedDownRawHK;
bool isRawHKBreakedDownSMHK;
//
// Constructor ...
X121XHKConditions()
@@ -262,20 +248,6 @@ struct X121XHKConditions
isRawHKClosedOverSMHK = false;
isRawHKClosedUnderSMHK = false;
//
isBreakedUpSMHK = false;
isBreakedUpRawHK = false;
isRejectedUpSMHK = false;
isRejectedUpRawHK = false;
isRawHKBreakedUpSMHK = false;
//
isBreakedDownSMHK = false;
isBreakedDownRawHK = false;
isRejectedDownSMHK = false;
isRejectedDownRawHK = false;
isRawHKBreakedDownSMHK = false;
//
ZeroMemory(this);
}
@@ -364,16 +336,6 @@ struct X121XHKConditions
ToString("isClosedUnderRawHK", isClosedUnderRawHK, ignoreFalseConditions, separator) +
ToString("isRawHKClosedOverSMHK", isRawHKClosedOverSMHK, ignoreFalseConditions, separator) +
ToString("isRawHKClosedUnderSMHK", isRawHKClosedUnderSMHK, ignoreFalseConditions, separator) +
ToString("isBreakedUpSMHK", isBreakedUpSMHK, ignoreFalseConditions, separator) +
ToString("isBreakedUpRawHK", isBreakedUpRawHK, ignoreFalseConditions, separator) +
ToString("isRejectedUpSMHK", isRejectedUpSMHK, ignoreFalseConditions, separator) +
ToString("isRejectedUpRawHK", isRejectedUpRawHK, ignoreFalseConditions, separator) +
ToString("isRawHKBreakedUpSMHK", isRawHKBreakedUpSMHK, ignoreFalseConditions, separator) +
ToString("isBreakedDownSMHK", isBreakedDownSMHK, ignoreFalseConditions, separator) +
ToString("isBreakedDownRawHK", isBreakedDownRawHK, ignoreFalseConditions, separator) +
ToString("isRejectedDownSMHK", isRejectedDownSMHK, ignoreFalseConditions, separator) +
ToString("isRejectedDownRawHK", isRejectedDownRawHK, ignoreFalseConditions, separator) +
ToString("isRawHKBreakedDownSMHK", isRawHKBreakedDownSMHK, ignoreFalseConditions, separator) +
//
""
//
@@ -1240,68 +1202,6 @@ class XCX121XHKHelper : public XCBaseHelper
bool isRawHKClosedOverSMHK = rawHKClose > smHKUp;
bool isRawHKClosedUnderSMHK = rawHKClose < smHKDown;
//
bool isBreakedUpSMHK = IsBarBreak(
smHKUp,
X_DIRECTION_BULLISH,
cBar //
);
bool isBreakedUpRawHK = IsBarBreak(
rawHKUp,
X_DIRECTION_BULLISH,
cBar //
);
bool isRejectedUpSMHK = IsBarReject(
smHKUp,
X_DIRECTION_BULLISH,
cBar //
);
bool isRejectedUpRawHK = IsBarReject(
rawHKUp,
X_DIRECTION_BULLISH,
cBar //
);
//
bool isRawHKBreakedUpSMHK =
hasRawHKBar &&
IsBarBreak(
smHKUp,
X_DIRECTION_BULLISH,
rawHKCBar //
);
//
bool isBreakedDownSMHK = IsBarBreak(
smHKDown,
X_DIRECTION_BEARISH,
cBar //
);
bool isBreakedDownRawHK = IsBarBreak(
rawHKDown,
X_DIRECTION_BEARISH,
cBar //
);
bool isRejectedDownSMHK = IsBarReject(
smHKDown,
X_DIRECTION_BEARISH,
cBar //
);
bool isRejectedDownRawHK = IsBarReject(
rawHKDown,
X_DIRECTION_BEARISH,
cBar //
);
//
bool isRawHKBreakedDownSMHK =
hasRawHKBar &&
IsBarBreak(
smHKDown,
X_DIRECTION_BEARISH,
rawHKCBar //
);
//
conditions.isSMHKBullish = isSMHKBullish;
conditions.isRawHKBullish = isRawHKBullish;
@@ -1317,16 +1217,6 @@ class XCX121XHKHelper : public XCBaseHelper
conditions.isClosedUnderRawHK = isClosedUnderRawHK;
conditions.isRawHKClosedOverSMHK = isRawHKClosedOverSMHK;
conditions.isRawHKClosedUnderSMHK = isRawHKClosedUnderSMHK;
conditions.isBreakedUpSMHK = isBreakedUpSMHK;
conditions.isBreakedUpRawHK = isBreakedUpRawHK;
conditions.isRejectedUpSMHK = isRejectedUpSMHK;
conditions.isRejectedUpRawHK = isRejectedUpRawHK;
conditions.isRawHKBreakedUpSMHK = isRawHKBreakedUpSMHK;
conditions.isBreakedDownSMHK = isBreakedDownSMHK;
conditions.isBreakedDownRawHK = isBreakedDownRawHK;
conditions.isRejectedDownSMHK = isRejectedDownSMHK;
conditions.isRejectedDownRawHK = isRejectedDownRawHK;
conditions.isRawHKBreakedDownSMHK = isRawHKBreakedDownSMHK;
//
Cleanup();