This commit is contained in:
2024-07-30 11:15:34 +03:30
parent 1365cce1ed
commit 7a98bbe094
3 changed files with 1268 additions and 24 deletions
+1 -1
View File
@@ -321,7 +321,7 @@ bool InitialEA()
xchmStrategy.EnableXCHM(true); xchmStrategy.EnableXCHM(true);
xchmStrategy.EnableXCHHK(true); xchmStrategy.EnableXCHHK(true);
xchmStrategy.EnableXCHSTR(true); xchmStrategy.EnableXCHSTR(true);
xchmStrategy.EnableXCHCHE(false); xchmStrategy.EnableXCHCHE(true);
xchmStrategy.SetAlertLogAlerts(true); xchmStrategy.SetAlertLogAlerts(true);
xchmStrategy.DrawImportantAreas(false); xchmStrategy.DrawImportantAreas(false);
xchmStrategy.SetAlertEnableAlerts(true); xchmStrategy.SetAlertEnableAlerts(true);
File diff suppressed because it is too large Load Diff
+21 -23
View File
@@ -883,13 +883,12 @@ public:
// //
bool chcheHasLong = bool chcheHasLong =
// //
hasBullishPower &&
cBar.IsBullish() && cBar.IsBullish() &&
hasBullishPattern &&
(hasBullishPower ||
hasBullishPressure) &&
chcheConditions.isBullishPowerUp && chcheConditions.isBullishPowerUp &&
(chcheConditions.isCStrongBullish || (chmConditions.hasBullishPower ||
chcheConditions.isSStrongBullish) chhkConditions.hasBullishPower ||
chstrConditions.hasBullishPower)
// //
; ;
@@ -919,14 +918,13 @@ public:
{ {
// //
bool chcheHasShort = bool chcheHasShort =
//
hasBearishPower &&
cBar.IsBearish() && cBar.IsBearish() &&
hasBearishPattern &&
(hasBearishPower ||
hasBearishPressure) &&
chcheConditions.isBearishPowerUp && chcheConditions.isBearishPowerUp &&
(chcheConditions.isCStrongBearish || (chmConditions.hasBearishPower ||
chcheConditions.isSStrongBearish) chhkConditions.hasBearishPower ||
chstrConditions.hasBearishPower)
// //
; ;
@@ -1142,8 +1140,8 @@ private:
chmInputs.hcPeriod = hcPeriod; chmInputs.hcPeriod = hcPeriod;
// //
chmInputs.showFast = false; chmInputs.showFast = true;
chmInputs.showSlow = false; chmInputs.showSlow = true;
chmInputs.showCCFast = false; chmInputs.showCCFast = false;
chmInputs.showCCSlow = false; chmInputs.showCCSlow = false;
chmInputs.showSCFast = false; chmInputs.showSCFast = false;
@@ -1183,11 +1181,11 @@ private:
chhkInputs.ignoreShadows = true; chhkInputs.ignoreShadows = true;
// //
chhkInputs.showCurrent = false; chhkInputs.showCurrent = true;
chhkInputs.showShort = false; chhkInputs.showShort = true;
chhkInputs.showMedium = false; chhkInputs.showMedium = true;
chhkInputs.showLong = false; chhkInputs.showLong = true;
chhkInputs.showHind = false; chhkInputs.showHind = true;
// //
chhkHelper = new XSCXCHHKHelper(); chhkHelper = new XSCXCHHKHelper();
@@ -1214,11 +1212,11 @@ private:
chstrInputs.hcPeriod = hcPeriod; chstrInputs.hcPeriod = hcPeriod;
// //
chstrInputs.showCurrent = false; chstrInputs.showCurrent = true;
chstrInputs.showShort = false; chstrInputs.showShort = true;
chstrInputs.showMedium = false; chstrInputs.showMedium = true;
chstrInputs.showLong = false; chstrInputs.showLong = true;
chstrInputs.showHind = false; chstrInputs.showHind = true;
// //
chstrHelper = new XSCXCHSTRHelper(); chstrHelper = new XSCXCHSTRHelper();