attach x3ma and x3vwapinto x121 smc strategy ...
This commit is contained in:
@@ -57,9 +57,10 @@ struct X3VWAPInputs
|
|||||||
|
|
||||||
//
|
//
|
||||||
// Market ...
|
// Market ...
|
||||||
int fastLength; // Fast Length
|
int fastLength; // Fast Length
|
||||||
int midLength; // Mid Length
|
int midLength; // Mid Length
|
||||||
int slowLength; // Slow Length
|
int slowLength; // Slow Length
|
||||||
|
ENUM_APPLIED_PRICE appliedTo; // Applied To
|
||||||
|
|
||||||
//
|
//
|
||||||
// Presentation ...
|
// Presentation ...
|
||||||
@@ -88,6 +89,7 @@ struct X3VWAPInputs
|
|||||||
fastLength = 0;
|
fastLength = 0;
|
||||||
midLength = 0;
|
midLength = 0;
|
||||||
slowLength = 0;
|
slowLength = 0;
|
||||||
|
appliedTo = PRICE_CLOSE;
|
||||||
|
|
||||||
//
|
//
|
||||||
showFast = false;
|
showFast = false;
|
||||||
@@ -103,6 +105,7 @@ struct X3VWAPInputs
|
|||||||
fastLength = 50;
|
fastLength = 50;
|
||||||
midLength = 100;
|
midLength = 100;
|
||||||
slowLength = 200;
|
slowLength = 200;
|
||||||
|
appliedTo = PRICE_CLOSE;
|
||||||
|
|
||||||
//
|
//
|
||||||
showFast = true;
|
showFast = true;
|
||||||
@@ -428,6 +431,7 @@ class XSCX3VWAPHelper : public XSCBaseHelper
|
|||||||
mInputs.fastLength,
|
mInputs.fastLength,
|
||||||
mInputs.midLength,
|
mInputs.midLength,
|
||||||
mInputs.slowLength,
|
mInputs.slowLength,
|
||||||
|
mInputs.appliedTo,
|
||||||
//
|
//
|
||||||
// Presentation ...
|
// Presentation ...
|
||||||
"",
|
"",
|
||||||
|
|||||||
@@ -30,16 +30,14 @@
|
|||||||
//
|
//
|
||||||
// Market ...
|
// Market ...
|
||||||
input group "Market";
|
input group "Market";
|
||||||
input int fastLength = 50; // Fast Length
|
input int fastLength = 50; // Fast Length
|
||||||
input int midLength = 100; // Mid Length
|
input int midLength = 100; // Mid Length
|
||||||
input int slowLength = 200; // Slow Length
|
input int slowLength = 200; // Slow Length
|
||||||
|
input ENUM_APPLIED_PRICE appliedTo = PRICE_CLOSE; // Applied To
|
||||||
|
|
||||||
//
|
//
|
||||||
// Presentation ...
|
// Presentation ...
|
||||||
input group "Presentation";
|
input group "Presentation";
|
||||||
|
|
||||||
//
|
|
||||||
// Parts ...
|
|
||||||
input bool showFast = true; // Show Fast
|
input bool showFast = true; // Show Fast
|
||||||
input bool showMid = true; // Show Mid
|
input bool showMid = true; // Show Mid
|
||||||
input bool showSlow = true; // Show Slow
|
input bool showSlow = true; // Show Slow
|
||||||
|
|||||||
@@ -57,9 +57,10 @@ struct X3VWAPInputs
|
|||||||
|
|
||||||
//
|
//
|
||||||
// Market ...
|
// Market ...
|
||||||
int fastLength; // Fast Length
|
int fastLength; // Fast Length
|
||||||
int midLength; // Mid Length
|
int midLength; // Mid Length
|
||||||
int slowLength; // Slow Length
|
int slowLength; // Slow Length
|
||||||
|
ENUM_APPLIED_PRICE appliedTo; // Applied To
|
||||||
|
|
||||||
//
|
//
|
||||||
// Presentation ...
|
// Presentation ...
|
||||||
@@ -88,6 +89,7 @@ struct X3VWAPInputs
|
|||||||
fastLength = 0;
|
fastLength = 0;
|
||||||
midLength = 0;
|
midLength = 0;
|
||||||
slowLength = 0;
|
slowLength = 0;
|
||||||
|
appliedTo = PRICE_CLOSE;
|
||||||
|
|
||||||
//
|
//
|
||||||
showFast = false;
|
showFast = false;
|
||||||
@@ -103,6 +105,7 @@ struct X3VWAPInputs
|
|||||||
fastLength = 50;
|
fastLength = 50;
|
||||||
midLength = 100;
|
midLength = 100;
|
||||||
slowLength = 200;
|
slowLength = 200;
|
||||||
|
appliedTo = PRICE_CLOSE;
|
||||||
|
|
||||||
//
|
//
|
||||||
showFast = true;
|
showFast = true;
|
||||||
@@ -428,6 +431,7 @@ class XSCX3VWAPHelper : public XSCBaseHelper
|
|||||||
mInputs.fastLength,
|
mInputs.fastLength,
|
||||||
mInputs.midLength,
|
mInputs.midLength,
|
||||||
mInputs.slowLength,
|
mInputs.slowLength,
|
||||||
|
mInputs.appliedTo,
|
||||||
//
|
//
|
||||||
// Presentation ...
|
// Presentation ...
|
||||||
"",
|
"",
|
||||||
|
|||||||
@@ -30,19 +30,14 @@
|
|||||||
//
|
//
|
||||||
// Market ...
|
// Market ...
|
||||||
input group "Market";
|
input group "Market";
|
||||||
input int fastLength = 50; // Fast Length
|
input int fastLength = 50; // Fast Length
|
||||||
input int midLength = 100; // Mid Length
|
input int midLength = 100; // Mid Length
|
||||||
input int slowLength = 200; // Slow Length
|
input int slowLength = 200; // Slow Length
|
||||||
input int shiftLength = 0; // Shift
|
|
||||||
input ENUM_MA_METHOD method = MODE_SMA; // Mode
|
|
||||||
input ENUM_APPLIED_PRICE appliedTo = PRICE_CLOSE; // Applied To
|
input ENUM_APPLIED_PRICE appliedTo = PRICE_CLOSE; // Applied To
|
||||||
|
|
||||||
//
|
//
|
||||||
// Presentation ...
|
// Presentation ...
|
||||||
input group "Presentation";
|
input group "Presentation";
|
||||||
|
|
||||||
//
|
|
||||||
// Parts ...
|
|
||||||
input bool showFast = true; // Show Fast
|
input bool showFast = true; // Show Fast
|
||||||
input bool showMid = true; // Show Mid
|
input bool showMid = true; // Show Mid
|
||||||
input bool showSlow = true; // Show Slow
|
input bool showSlow = true; // Show Slow
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user