last ...
This commit is contained in:
@@ -309,18 +309,48 @@ bool DetectX121SMCGuards(
|
||||
|
||||
//
|
||||
// Trigger ...
|
||||
bool hasTriggerBullishTrend = triggerXConditions.bullishTrendBuffer[1];
|
||||
bool hasTriggerBearishTrend = triggerXConditions.bearishTrendBuffer[1];
|
||||
ENUM_X_DIRECTION triggerTrendDir;
|
||||
bool hasTriggerTrend =
|
||||
triggerCycleHelper
|
||||
.DetectMarketStructure(
|
||||
triggerTrendDir //
|
||||
);
|
||||
bool hasTriggerBullishTrend =
|
||||
hasTriggerTrend &&
|
||||
IsBullish(triggerTrendDir);
|
||||
bool hasTriggerBearishTrend =
|
||||
hasTriggerTrend &&
|
||||
IsBearish(triggerTrendDir);
|
||||
|
||||
//
|
||||
// Decision ...
|
||||
bool hasDecisionBullishTrend = decisionXConditions.bullishTrendBuffer[1];
|
||||
bool hasDecisionBearishTrend = decisionXConditions.bearishTrendBuffer[1];
|
||||
ENUM_X_DIRECTION decisionTrendDir;
|
||||
bool hasDecisionTrend =
|
||||
decisionCycleHelper
|
||||
.DetectMarketStructure(
|
||||
decisionTrendDir //
|
||||
);
|
||||
bool hasDecisionBullishTrend =
|
||||
hasDecisionTrend &&
|
||||
IsBullish(decisionTrendDir);
|
||||
bool hasDecisionBearishTrend =
|
||||
hasDecisionTrend &&
|
||||
IsBearish(decisionTrendDir);
|
||||
|
||||
//
|
||||
// Analyse ...
|
||||
bool hasAnalyseBullishTrend = analyseXConditions.bullishTrendBuffer[1];
|
||||
bool hasAnalyseBearishTrend = analyseXConditions.bearishTrendBuffer[1];
|
||||
ENUM_X_DIRECTION analyseTrendDir;
|
||||
bool hasAnalyseTrend =
|
||||
analyseCycleHelper
|
||||
.DetectMarketStructure(
|
||||
analyseTrendDir //
|
||||
);
|
||||
bool hasAnalyseBullishTrend =
|
||||
hasAnalyseTrend &&
|
||||
IsBullish(analyseTrendDir);
|
||||
bool hasAnalyseBearishTrend =
|
||||
hasAnalyseTrend &&
|
||||
IsBearish(analyseTrendDir);
|
||||
|
||||
//
|
||||
// Consolidation Zone ...
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
const string X121SMCStrategyToken = "X121SMC";
|
||||
|
||||
//
|
||||
const string X121SMCXTestToken = "X121XTest";
|
||||
const string X121SMCXToken = "X121X";
|
||||
const string X121SMCXPZToken = "X121XPZ";
|
||||
const string X121SMCXRSPVIToken = "X121XRSPVI";
|
||||
const string X121SMCXSTRPVToken = "X121XSTRPV";
|
||||
@@ -46,7 +46,7 @@ enum ENUM_X_121_SMC_PROVIDERS
|
||||
{
|
||||
//
|
||||
X_121_SMC_PROVIDER_NONE,
|
||||
X_121_SMC_PROVIDER_XTEST,
|
||||
X_121_SMC_PROVIDER_X,
|
||||
X_121_SMC_PROVIDER_XPZ,
|
||||
X_121_SMC_PROVIDER_XRSPVI,
|
||||
X_121_SMC_PROVIDER_XSTRPV,
|
||||
@@ -704,8 +704,8 @@ string ToString(ENUM_X_121_SMC_PROVIDERS value)
|
||||
switch (value)
|
||||
{
|
||||
//
|
||||
case X_121_SMC_PROVIDER_XTEST:
|
||||
result = X121SMCXTestToken;
|
||||
case X_121_SMC_PROVIDER_X:
|
||||
result = X121SMCXToken;
|
||||
break;
|
||||
|
||||
//
|
||||
@@ -747,9 +747,9 @@ ENUM_X_121_SMC_PROVIDERS ParseProvider(string value)
|
||||
}
|
||||
|
||||
//
|
||||
if (Contains(X121SMCXTestToken, value))
|
||||
if (Contains(X121SMCXToken, value))
|
||||
{
|
||||
result = X_121_SMC_PROVIDER_XTEST;
|
||||
result = X_121_SMC_PROVIDER_X;
|
||||
}
|
||||
else if (Contains(X121SMCXPZToken, value))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user