add supports for XASCT in mCycle ...

This commit is contained in:
2024-06-07 08:00:27 +03:30
parent f65fdcd14a
commit 6a0f803c1a
12 changed files with 1434 additions and 124 deletions
@@ -67,9 +67,9 @@ public:
//
bool HasLongConditions(
const X121MCycleConditions &conditions, // Market Conditions
double &sl, // Hold SL ...
double &tp // Hold TP ...
X121MCycleConditions &conditions, // Market Conditions
double &sl, // Hold SL ...
double &tp // Hold TP ...
) override
{
//
@@ -153,9 +153,9 @@ public:
//
bool HasShortConditions(
const X121MCycleConditions &conditions, // Market Conditions
double &sl, // Hold SL ...
double &tp // Hold TP ...
X121MCycleConditions &conditions, // Market Conditions
double &sl, // Hold SL ...
double &tp // Hold TP ...
) override
{
//
@@ -196,7 +196,7 @@ public:
conditions.bars[1].IsResistanceRejected(lastUpper)
//
;
bool isBreaked =
bool isBreaked =
//
(conditions.bars[1].high < lastLower &&
conditions.bars[2].high < lastLower &&