last ...
This commit is contained in:
@@ -1033,6 +1033,7 @@ class XC121SMCExpert : public XCBaseExpert
|
||||
//
|
||||
// Parsers ...
|
||||
XSymbolParser _symbolParser;
|
||||
XCPOIDrawer *poiDrawer = NULL;
|
||||
|
||||
//
|
||||
// Single Symbol ...
|
||||
@@ -1049,6 +1050,14 @@ class XC121SMCExpert : public XCBaseExpert
|
||||
_Period //
|
||||
);
|
||||
|
||||
//
|
||||
if (poiDrawer == NULL)
|
||||
{
|
||||
//
|
||||
poiDrawer = iX121SMCStrategy
|
||||
.GetDrawer();
|
||||
}
|
||||
|
||||
//
|
||||
iX121SMCStrategy.AddXSignalEventHandler(OnSignalEventListener);
|
||||
|
||||
@@ -1114,6 +1123,14 @@ class XC121SMCExpert : public XCBaseExpert
|
||||
_Period //
|
||||
);
|
||||
|
||||
//
|
||||
if (poiDrawer == NULL)
|
||||
{
|
||||
//
|
||||
poiDrawer = iX121SMCStrategy
|
||||
.GetDrawer();
|
||||
}
|
||||
|
||||
//
|
||||
iX121SMCStrategy.AddXSignalEventHandler(OnSignalEventListener);
|
||||
|
||||
@@ -1125,6 +1142,12 @@ class XC121SMCExpert : public XCBaseExpert
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
if (poiDrawer != NULL)
|
||||
{
|
||||
mTradeHandler.SetDrawer(poiDrawer);
|
||||
}
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user