add XCHSwings Indicator and it's Helper class ...
separate Symbols Based Long/Short Signal Filterings ...
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include "../Helpers/x-saherelm.xchstr.helper.mq5"
|
||||
#include "../Helpers/x-saherelm.xchvlm.helper.mq5"
|
||||
#include "../Helpers/x-saherelm.xchvwap.helper.mq5"
|
||||
#include "../Helpers/x-saherelm.xchswings.helper.mq5"
|
||||
|
||||
//
|
||||
// Base Classes ...
|
||||
@@ -1357,6 +1358,11 @@ protected:
|
||||
XCHVWAPInputs chvwapInputs;
|
||||
XSCXCHVWAPHelper *chvwapHelper;
|
||||
|
||||
//
|
||||
// XCHSWINGS ...
|
||||
XCHSwingsInputs chswingsInputs;
|
||||
XSCXCHSwingsHelper *chswingsHelper;
|
||||
|
||||
//
|
||||
|
||||
//
|
||||
@@ -1698,6 +1704,16 @@ private:
|
||||
chvwapInputs.showLong = false;
|
||||
chvwapInputs.showHind = false;
|
||||
|
||||
//
|
||||
chvwapInputs.scMethod = scMethod;
|
||||
chvwapInputs.scPeriod = scPeriod;
|
||||
chvwapInputs.mcMethod = mcMethod;
|
||||
chvwapInputs.mcPeriod = mcPeriod;
|
||||
chvwapInputs.lcMethod = lcMethod;
|
||||
chvwapInputs.lcPeriod = lcPeriod;
|
||||
chvwapInputs.hcMethod = hcMethod;
|
||||
chvwapInputs.hcPeriod = hcPeriod;
|
||||
|
||||
//
|
||||
chvwapHelper = new XSCXCHVWAPHelper();
|
||||
chvwapHelper.Init(
|
||||
@@ -1705,6 +1721,41 @@ private:
|
||||
mPeriod,
|
||||
chvwapInputs //
|
||||
);
|
||||
|
||||
//
|
||||
// XCHSwings ...
|
||||
|
||||
//
|
||||
chswingsInputs.Default();
|
||||
|
||||
//
|
||||
chswingsInputs.showSwingHighs = false;
|
||||
chswingsInputs.showSwingLows = false;
|
||||
chswingsInputs.showCurrent = false;
|
||||
chswingsInputs.showShort = false;
|
||||
chswingsInputs.showMedium = false;
|
||||
chswingsInputs.showLong = false;
|
||||
chswingsInputs.showHind = false;
|
||||
|
||||
//
|
||||
chswingsInputs.scMethod = scMethod;
|
||||
chswingsInputs.scPeriod = scPeriod;
|
||||
chswingsInputs.mcMethod = mcMethod;
|
||||
chswingsInputs.mcPeriod = mcPeriod;
|
||||
chswingsInputs.lcMethod = lcMethod;
|
||||
chswingsInputs.lcPeriod = lcPeriod;
|
||||
chswingsInputs.hcMethod = hcMethod;
|
||||
chswingsInputs.hcPeriod = hcPeriod;
|
||||
|
||||
//
|
||||
chswingsHelper = new XSCXCHSwingsHelper();
|
||||
chswingsHelper.Init(
|
||||
mSymbol,
|
||||
mPeriod,
|
||||
chswingsInputs //
|
||||
);
|
||||
|
||||
//
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user