add support back indicators usage ...

This commit is contained in:
2025-02-09 21:29:21 +03:30
parent e53ed9a5c0
commit c79ee42d7c
13 changed files with 1787 additions and 1720 deletions
@@ -142,6 +142,10 @@ class XC121SMCCycleHelper : public XCBase
return result;
}
//
mSymbol = symbol;
mPeriod = period;
//
// X121 ...
mX121Helper = new XCX121Helper();
@@ -199,14 +203,7 @@ class XC121SMCCycleHelper : public XCBase
*/
string GetSymbol()
{
//
string result = NULL;
//
result = mX121Helper.GetSymbol();
//
return result;
return mSymbol;
}
/**
@@ -216,14 +213,7 @@ class XC121SMCCycleHelper : public XCBase
*/
ENUM_TIMEFRAMES GetPeriod()
{
//
ENUM_TIMEFRAMES result = NULL;
//
result = mX121Helper.GetPeriod();
//
return result;
return mPeriod;
}
/**
@@ -433,8 +423,8 @@ class XC121SMCCycleHelper : public XCBase
mPOIDetector.GetState(conditions.state);
//
conditions.symbol = conditions.x121Conditions.symbol;
conditions.period = conditions.x121Conditions.period;
conditions.symbol = GetSymbol();
conditions.period = GetPeriod();
conditions.time = TimeCurrent();
//
@@ -465,6 +455,8 @@ class XC121SMCCycleHelper : public XCBase
private:
//
// Props ...
string mSymbol;
ENUM_TIMEFRAMES mPeriod;
//
// Actions ...