This commit is contained in:
2025-01-26 20:10:44 +03:30
parent fdbc2e9361
commit 974a516bec
10 changed files with 4144 additions and 161 deletions
+8 -8
View File
@@ -386,11 +386,11 @@ struct X121Conditions
bool isRejectedDownRawHK;
bool isRawHKBreakedUpSMHK;
bool isRawHKClosedOverSMHK;
bool isSMHKSwitchedBearish;
bool isRawHKSwitchedBearish;
bool isRawHKClosedUnderSMHK;
bool isRawHKBreakedDownSMHK;
bool isSMHKSwitchedToBullish;
bool isSMHKSwitchedToBearish;
bool isRawHKSwitchedToBearish;
bool isRawHKSwitchedToBullish;
//
@@ -945,8 +945,8 @@ struct X121Conditions
isRejectedDownRawHK = false;
isRawHKBreakedUpSMHK = false;
isRawHKClosedOverSMHK = false;
isSMHKSwitchedBearish = false;
isRawHKSwitchedBearish = false;
isSMHKSwitchedToBearish = false;
isRawHKSwitchedToBearish = false;
isRawHKClosedUnderSMHK = false;
isRawHKBreakedDownSMHK = false;
isSMHKSwitchedToBullish = false;
@@ -1321,8 +1321,8 @@ struct X121Conditions
ToString("isRejectedDownRawHK", isRejectedDownRawHK, ignoreFalseConditions, separator) +
ToString("isRawHKBreakedUpSMHK", isRawHKBreakedUpSMHK, ignoreFalseConditions, separator) +
ToString("isRawHKClosedOverSMHK", isRawHKClosedOverSMHK, ignoreFalseConditions, separator) +
ToString("isSMHKSwitchedBearish", isSMHKSwitchedBearish, ignoreFalseConditions, separator) +
ToString("isRawHKSwitchedBearish", isRawHKSwitchedBearish, ignoreFalseConditions, separator) +
ToString("isSMHKSwitchedToBearish", isSMHKSwitchedToBearish, ignoreFalseConditions, separator) +
ToString("isRawHKSwitchedToBearish", isRawHKSwitchedToBearish, ignoreFalseConditions, separator) +
ToString("isRawHKClosedUnderSMHK", isRawHKClosedUnderSMHK, ignoreFalseConditions, separator) +
ToString("isRawHKBreakedDownSMHK", isRawHKBreakedDownSMHK, ignoreFalseConditions, separator) +
ToString("isSMHKSwitchedToBullish", isSMHKSwitchedToBullish, ignoreFalseConditions, separator) +
@@ -2206,8 +2206,8 @@ class XCX121Helper : public XCBase
conditions.isRejectedDownRawHK = xhkConditions.isRejectedDownRawHK;
conditions.isRawHKBreakedUpSMHK = xhkConditions.isRawHKBreakedUpSMHK;
conditions.isRawHKClosedOverSMHK = xhkConditions.isRawHKClosedOverSMHK;
conditions.isSMHKSwitchedBearish = xhkConditions.isSMHKSwitchedBearish;
conditions.isRawHKSwitchedBearish = xhkConditions.isRawHKSwitchedBearish;
conditions.isSMHKSwitchedToBearish = xhkConditions.isSMHKSwitchedToBearish;
conditions.isRawHKSwitchedToBearish = xhkConditions.isRawHKSwitchedToBearish;
conditions.isRawHKClosedUnderSMHK = xhkConditions.isRawHKClosedUnderSMHK;
conditions.isRawHKBreakedDownSMHK = xhkConditions.isRawHKBreakedDownSMHK;
conditions.isSMHKSwitchedToBullish = xhkConditions.isSMHKSwitchedToBullish;
+10 -10
View File
@@ -163,8 +163,8 @@ struct X121XHKConditions
//
bool isSMHKBearish;
bool isRawHKBearish;
bool isSMHKSwitchedBearish;
bool isRawHKSwitchedBearish;
bool isSMHKSwitchedToBearish;
bool isRawHKSwitchedToBearish;
//
bool isClosedOverSMHK;
@@ -246,8 +246,8 @@ struct X121XHKConditions
//
isSMHKBearish = false;
isRawHKBearish = false;
isSMHKSwitchedBearish = false;
isRawHKSwitchedBearish = false;
isSMHKSwitchedToBearish = false;
isRawHKSwitchedToBearish = false;
//
isClosedOverSMHK = false;
@@ -350,8 +350,8 @@ struct X121XHKConditions
ToString("isRawHKSwitchedToBullish", isRawHKSwitchedToBullish, ignoreFalseConditions, separator) +
ToString("isSMHKBearish", isSMHKBearish, ignoreFalseConditions, separator) +
ToString("isRawHKBearish", isRawHKBearish, ignoreFalseConditions, separator) +
ToString("isSMHKSwitchedBearish", isSMHKSwitchedBearish, ignoreFalseConditions, separator) +
ToString("isRawHKSwitchedBearish", isRawHKSwitchedBearish, ignoreFalseConditions, separator) +
ToString("isSMHKSwitchedToBearish", isSMHKSwitchedToBearish, ignoreFalseConditions, separator) +
ToString("isRawHKSwitchedToBearish", isRawHKSwitchedToBearish, ignoreFalseConditions, separator) +
ToString("isClosedOverSMHK", isClosedOverSMHK, ignoreFalseConditions, separator) +
ToString("isClosedUnderSMHK", isClosedUnderSMHK, ignoreFalseConditions, separator) +
ToString("isClosedOverRawHK", isClosedOverRawHK, ignoreFalseConditions, separator) +
@@ -1211,9 +1211,9 @@ class XCX121XHKHelper : public XCBaseHelper
bool isRawHKBearishPrev = rawHKOpenPrev > rawHKClosePrev;
//
bool isSMHKSwitchedBearish = isSMHKBearish &&
bool isSMHKSwitchedToBearish = isSMHKBearish &&
!isSMHKBearishPrev;
bool isRawHKSwitchedBearish = isRawHKBearish &&
bool isRawHKSwitchedToBearish = isRawHKBearish &&
!isRawHKBearishPrev;
//
@@ -1297,8 +1297,8 @@ class XCX121XHKHelper : public XCBaseHelper
conditions.isRawHKSwitchedToBullish = isRawHKSwitchedToBullish;
conditions.isSMHKBearish = isSMHKBearish;
conditions.isRawHKBearish = isRawHKBearish;
conditions.isSMHKSwitchedBearish = isSMHKSwitchedBearish;
conditions.isRawHKSwitchedBearish = isRawHKSwitchedBearish;
conditions.isSMHKSwitchedToBearish = isSMHKSwitchedToBearish;
conditions.isRawHKSwitchedToBearish = isRawHKSwitchedToBearish;
conditions.isClosedOverSMHK = isClosedOverSMHK;
conditions.isClosedUnderSMHK = isClosedUnderSMHK;
conditions.isClosedOverRawHK = isClosedOverRawHK;