last...
This commit is contained in:
@@ -960,6 +960,7 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
|
||||
//
|
||||
bool showAll = false;
|
||||
int swingLength = 17;
|
||||
|
||||
//
|
||||
x121Inputs.showRSI = showAll || false;
|
||||
@@ -995,11 +996,11 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
|
||||
//
|
||||
// Presentations ...
|
||||
x121Inputs.xpvInputs.showSar = showAll || true;
|
||||
x121Inputs.xpvInputs.showPeaks = showAll || true;
|
||||
x121Inputs.xpvInputs.showVales = showAll || true;
|
||||
x121Inputs.xpvInputs.showSar = showAll || false;
|
||||
x121Inputs.xpvInputs.showPeaks = showAll || false;
|
||||
x121Inputs.xpvInputs.showVales = showAll || false;
|
||||
x121Inputs.xpvInputs.showSupports = showAll || false;
|
||||
x121Inputs.xpvInputs.showGoldenZones = showAll || true;
|
||||
x121Inputs.xpvInputs.showGoldenZones = showAll || false;
|
||||
x121Inputs.xpvInputs.showResistances = showAll || false;
|
||||
|
||||
//
|
||||
@@ -1008,17 +1009,21 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
//
|
||||
// Configurations ...
|
||||
x121Inputs.xhkInputs.xhkIgnoreSmoothingShadows = true;
|
||||
x121Inputs.xhkInputs.xhkSmoothingLength = swingLength;
|
||||
x121Inputs.xhkInputs.xhkSmoothingMode = X_MA_MODE_SMA;
|
||||
|
||||
//
|
||||
// Presentations ...
|
||||
x121Inputs.xhkInputs.drawRawXHKCandles = showAll || false;
|
||||
x121Inputs.xhkInputs.drawSmoothedXHKCandles = showAll || false;
|
||||
x121Inputs.xhkInputs.drawSmoothedXHKCandles = showAll || true;
|
||||
|
||||
//
|
||||
// XMAS ...
|
||||
|
||||
//
|
||||
// Configurations ...
|
||||
x121Inputs.xmasInputs.method = MODE_SMA;
|
||||
x121Inputs.xmasInputs.length = swingLength;
|
||||
|
||||
//
|
||||
// Presentations ...
|
||||
@@ -1031,6 +1036,13 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
|
||||
//
|
||||
// Configurations ...
|
||||
x121Inputs.xatrInputs.atrMultiplier = 1.5;
|
||||
x121Inputs.xatrInputs.rsiLength = swingLength;
|
||||
x121Inputs.xatrInputs.atrLength = swingLength;
|
||||
x121Inputs.xatrInputs.priceChangeSmoothingLength = swingLength;
|
||||
x121Inputs.xatrInputs.rsiSmoothingMethod = X_MA_MODE_SMA;
|
||||
x121Inputs.xatrInputs.atrSmoothingMethod = X_MA_MODE_SMA;
|
||||
x121Inputs.xatrInputs.priceChangeSmoothingMethod = X_MA_MODE_SMA;
|
||||
|
||||
//
|
||||
// Presentations ...
|
||||
@@ -1038,16 +1050,17 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
x121Inputs.xatrInputs.showAtrLower = showAll || false;
|
||||
x121Inputs.xatrInputs.showRSIChange = showAll || false;
|
||||
x121Inputs.xatrInputs.showPriceChange = showAll || false;
|
||||
x121Inputs.xatrInputs.showSmoothedAtrUpper = showAll || true;
|
||||
x121Inputs.xatrInputs.showSmoothedAtrLower = showAll || true;
|
||||
x121Inputs.xatrInputs.showSmoothedRSIChange = showAll || true;
|
||||
x121Inputs.xatrInputs.showSmoothedPriceChange = showAll || true;
|
||||
x121Inputs.xatrInputs.showSmoothedAtrUpper = showAll || false;
|
||||
x121Inputs.xatrInputs.showSmoothedAtrLower = showAll || false;
|
||||
x121Inputs.xatrInputs.showSmoothedRSIChange = showAll || false;
|
||||
x121Inputs.xatrInputs.showSmoothedPriceChange = showAll || false;
|
||||
|
||||
//
|
||||
// XSTR ...
|
||||
|
||||
//
|
||||
// Configurations ...
|
||||
x121Inputs.xstrInputs.strLength = swingLength;
|
||||
|
||||
//
|
||||
// Presentations ...
|
||||
@@ -1073,6 +1086,10 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
|
||||
//
|
||||
// Configurations ...
|
||||
x121Inputs.x3maInputs.x3maFastMALength = swingLength;
|
||||
x121Inputs.x3maInputs.x3maMidMALength = (swingLength * 2);
|
||||
x121Inputs.x3maInputs.x3maSlowMALength = 50;
|
||||
x121Inputs.x3maInputs.x3maMaAppliedTo = PRICE_TYPICAL;
|
||||
|
||||
//
|
||||
// Presentations ...
|
||||
@@ -1085,12 +1102,16 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
|
||||
//
|
||||
// Configurations ...
|
||||
x121Inputs.xvwapInputs.vwapFastLength = swingLength;
|
||||
x121Inputs.xvwapInputs.vwapMidLength = (swingLength * 2);
|
||||
x121Inputs.xvwapInputs.vwapSlowLength = 50;
|
||||
x121Inputs.xvwapInputs.vwapAppliedTo = PRICE_TYPICAL;
|
||||
|
||||
//
|
||||
// Presentations ...
|
||||
x121Inputs.xvwapInputs.showVWapFast = showAll || true;
|
||||
x121Inputs.xvwapInputs.showVWapSlow = showAll || true;
|
||||
x121Inputs.xvwapInputs.showVWapMedium = showAll || true;
|
||||
x121Inputs.xvwapInputs.showVWapFast = showAll || false;
|
||||
x121Inputs.xvwapInputs.showVWapSlow = showAll || false;
|
||||
x121Inputs.xvwapInputs.showVWapMedium = showAll || false;
|
||||
|
||||
//
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user