last ...
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
//
|
||||
#include "../../Classes/x-saherelm.x-alert.class.mq5"
|
||||
#include "../../Classes/x-saherelm.x-bar.analyser.class.mq5"
|
||||
#include "../../Classes/x-saherelm.x-poi.drawer.class.mq5"
|
||||
#include "../../Classes/x-saherelm.x-trade.class.mq5"
|
||||
#include "../Libraries/x-121.smc.lib.mq5"
|
||||
|
||||
@@ -1639,9 +1638,6 @@ class XC121SMCTradeHandler : public XCBaseAlert
|
||||
Clean(mSymbolInfos);
|
||||
Clean(mLastExecutedSignals);
|
||||
|
||||
//
|
||||
delete mDrawer;
|
||||
|
||||
//
|
||||
delete mTrader;
|
||||
delete mCollector;
|
||||
@@ -2220,32 +2216,6 @@ class XC121SMCTradeHandler : public XCBaseAlert
|
||||
mHedgeingMinRequiredProfitPerVolumeStep = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get POI Drawer instance Pointer ...
|
||||
*/
|
||||
XCPOIDrawer *GetDrawer()
|
||||
{
|
||||
return mDrawer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get POI Drawer instance Pointer ...
|
||||
*/
|
||||
void SetDrawer(XCPOIDrawer *drawer)
|
||||
{
|
||||
mDrawer = drawer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check Darwer Exists Before Draw anything ...
|
||||
*
|
||||
* @return ( bool )
|
||||
*/
|
||||
bool CanDraw()
|
||||
{
|
||||
return mDrawer != NULL;
|
||||
}
|
||||
|
||||
//
|
||||
// Actions ...
|
||||
|
||||
@@ -3175,12 +3145,6 @@ class XC121SMCTradeHandler : public XCBaseAlert
|
||||
//
|
||||
// Add XTradeHandler Data ...
|
||||
Add(signal);
|
||||
if (CanDraw())
|
||||
{
|
||||
//
|
||||
XCSignalObject *iObj;
|
||||
mDrawer.DrawSignal(signal, iObj);
|
||||
}
|
||||
|
||||
//
|
||||
// Handle Last Executed Signal ...
|
||||
@@ -3281,12 +3245,6 @@ class XC121SMCTradeHandler : public XCBaseAlert
|
||||
//
|
||||
// Add XTradeHandler Data ...
|
||||
Add(signal);
|
||||
if (CanDraw())
|
||||
{
|
||||
//
|
||||
XCSignalObject *iObj;
|
||||
mDrawer.DrawSignal(signal, iObj);
|
||||
}
|
||||
|
||||
//
|
||||
// Handle Last Executed Signal ...
|
||||
@@ -3895,9 +3853,6 @@ class XC121SMCTradeHandler : public XCBaseAlert
|
||||
double mHedgingMinVolumeStep; // Minimum Volume Step for Hedging ...
|
||||
double mHedgeingMinRequiredProfitPerVolumeStep; // Minimum Required Profit Per Volume Step for Hedging ...
|
||||
|
||||
//
|
||||
XCPOIDrawer *mDrawer;
|
||||
|
||||
//
|
||||
// Common Functions ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user