add support back indicators usage ...
This commit is contained in:
@@ -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 ...
|
||||
|
||||
Reference in New Issue
Block a user