This commit is contained in:
2025-04-06 18:45:02 +03:30
parent ffcf43067e
commit 19a7cd7629
18 changed files with 1984 additions and 567 deletions
@@ -960,7 +960,7 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
//
bool showAll = false;
int swingLength = 17;
int swingLength = 14;
//
x121Inputs.showRSI = showAll || false;
@@ -996,11 +996,14 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
//
// Presentations ...
x121Inputs.xpvInputs.showSar = showAll || false;
x121Inputs.xpvInputs.showSar = showAll || true;
x121Inputs.xpvInputs.showPeaks = showAll || true;
x121Inputs.xpvInputs.showVales = showAll || true;
x121Inputs.xpvInputs.showTrend = showAll || false;
x121Inputs.xpvInputs.showSupports = showAll || false;
x121Inputs.xpvInputs.showGoldenZones = showAll || false;
x121Inputs.xpvInputs.showSwingLows = showAll || false;
x121Inputs.xpvInputs.showSwingHighs = showAll || false;
x121Inputs.xpvInputs.showGoldenZones = showAll || true;
x121Inputs.xpvInputs.showResistances = showAll || false;
//
@@ -1015,7 +1018,7 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
//
// Presentations ...
x121Inputs.xhkInputs.drawRawXHKCandles = showAll || false;
x121Inputs.xhkInputs.drawSmoothedXHKCandles = showAll || false;
x121Inputs.xhkInputs.drawSmoothedXHKCandles = showAll || true;
//
// XMAS ...
@@ -1036,7 +1039,7 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
//
// Configurations ...
x121Inputs.xatrInputs.atrMultiplier = 1.5;
x121Inputs.xatrInputs.atrMultiplier = 2;
x121Inputs.xatrInputs.rsiLength = swingLength;
x121Inputs.xatrInputs.atrLength = swingLength;
x121Inputs.xatrInputs.priceChangeSmoothingLength = swingLength;
@@ -1049,7 +1052,7 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
x121Inputs.xatrInputs.showAtrUpper = showAll || false;
x121Inputs.xatrInputs.showAtrLower = showAll || false;
x121Inputs.xatrInputs.showRSIChange = showAll || false;
x121Inputs.xatrInputs.showPriceChange = showAll || false;
x121Inputs.xatrInputs.showPriceChange = showAll || true;
x121Inputs.xatrInputs.showSmoothedAtrUpper = showAll || false;
x121Inputs.xatrInputs.showSmoothedAtrLower = showAll || false;
x121Inputs.xatrInputs.showSmoothedRSIChange = showAll || false;
@@ -1060,11 +1063,13 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
//
// Configurations ...
x121Inputs.xstrInputs.strMultiplier = 5;
x121Inputs.xstrInputs.strLength = swingLength;
x121Inputs.xstrInputs.strAppliedTo = PRICE_TYPICAL;
//
// Presentations ...
x121Inputs.xstrInputs.showStr = showAll || false;
x121Inputs.xstrInputs.showStr = showAll || true;
x121Inputs.xstrInputs.showStrUpper = showAll || false;
x121Inputs.xstrInputs.showStrLower = showAll || false;
@@ -1086,6 +1091,7 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
//
// Configurations ...
x121Inputs.x3maInputs.x3maMaMethod = MODE_SMA;
x121Inputs.x3maInputs.x3maFastMALength = swingLength;
x121Inputs.x3maInputs.x3maMidMALength = (swingLength * 2);
x121Inputs.x3maInputs.x3maSlowMALength = 50;