last works ...
This commit is contained in:
@@ -21,10 +21,21 @@
|
||||
|
||||
//
|
||||
/// Imports ...
|
||||
#include "../Libraries/x-saherelm.tools.mq5"
|
||||
#include "../Classes/x-saherelm.xtrade.class.mq5"
|
||||
#include "../Classes/x-saherelm.xalert.class.mq5"
|
||||
|
||||
//
|
||||
// Definitions ...
|
||||
|
||||
//
|
||||
enum ENUM_X_SIGNALLING_DIRECTION
|
||||
{
|
||||
X_SIGNALLING_NONE = 0,
|
||||
X_SIGNALLING_BOTH_DIRECTIONS = 1,
|
||||
X_SIGNALLING_TREND_DIRECTION = 2,
|
||||
X_SIGNALIING_TREND_REVERSAL_DIRECTION = 3
|
||||
};
|
||||
|
||||
//
|
||||
class XSCBaseStrategy : public XSCBaseAlert
|
||||
{
|
||||
@@ -479,9 +490,6 @@ protected:
|
||||
int mRequiredPivots; // Required Pivots For Trend Detecting ...
|
||||
int mRequiredShoulders; // Required Pivots Shoulders ...
|
||||
|
||||
//
|
||||
XTrendDetector trendDetector; // Trend Detector ...
|
||||
|
||||
//
|
||||
XSCTrade *trader;
|
||||
|
||||
@@ -491,9 +499,7 @@ protected:
|
||||
//
|
||||
void Reset()
|
||||
{
|
||||
//
|
||||
barTracker.Clean();
|
||||
trendDetector.Clean();
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user