last ...
This commit is contained in:
@@ -105,7 +105,7 @@ struct X121XCatbInputs
|
||||
//
|
||||
// Validating ...
|
||||
bool forceHasSwing; // Force Blocks to Have Swing
|
||||
bool forceObBarType; // Force Block Has Reversal Bar
|
||||
bool forceOBBarType; // Force Block Has Reversal Bar
|
||||
bool forceOBFVGBarType; // Force FVG Has Same Bars
|
||||
bool forceHasFLiquidity; // Force Blocks to Have Following Liquidity
|
||||
bool forceHasRLiquidity; // Force Blocks to Have Reversal Liquidity
|
||||
@@ -188,7 +188,7 @@ struct X121XCatbInputs
|
||||
//
|
||||
// Validating ...
|
||||
forceHasSwing = false; // Force Blocks to Have Swing
|
||||
forceObBarType = false; // Force Block Has Reversal Bar
|
||||
forceOBBarType = false; // Force Block Has Reversal Bar
|
||||
forceOBFVGBarType = false; // Force FVG Has Same Bars
|
||||
forceHasFLiquidity = false; // Force Blocks to Have Following Liquidity
|
||||
forceHasRLiquidity = false; // Force Blocks to Have Reversal Liquidity
|
||||
@@ -265,7 +265,7 @@ struct X121XCatbInputs
|
||||
//
|
||||
// Validating ...
|
||||
forceHasSwing = false; // Force Blocks to Have Swing
|
||||
forceObBarType = false; // Force Block Has Reversal Bar
|
||||
forceOBBarType = false; // Force Block Has Reversal Bar
|
||||
forceOBFVGBarType = false; // Force FVG Has Same Bars
|
||||
forceHasFLiquidity = false; // Force Blocks to Have Following Liquidity
|
||||
forceHasRLiquidity = false; // Force Blocks to Have Reversal Liquidity
|
||||
@@ -1588,7 +1588,7 @@ class XCX121XCatbHelper : public XCBaseHelper
|
||||
mInputs.slAtrMultiplier,
|
||||
"", // Validating ...
|
||||
mInputs.forceHasSwing,
|
||||
mInputs.forceObBarType,
|
||||
mInputs.forceOBBarType,
|
||||
mInputs.forceOBFVGBarType,
|
||||
mInputs.forceHasFLiquidity,
|
||||
mInputs.forceHasRLiquidity,
|
||||
@@ -4401,9 +4401,9 @@ class XCX121XCatbHelper : public XCBaseHelper
|
||||
// Calculate ...
|
||||
|
||||
//
|
||||
double rsiOBLevel = mInputs.rsiOBLevel; // Over Bought Level
|
||||
double rsiOSLevel = mInputs.rsiOSLevel; // Over Sold Level
|
||||
double adxThreshold = mInputs.adxThreshold; // Big Movement Threshold
|
||||
double _rsiOBLevel = mInputs.rsiOBLevel; // Over Bought Level
|
||||
double _rsiOSLevel = mInputs.rsiOSLevel; // Over Sold Level
|
||||
double _adxThreshold = mInputs.adxThreshold; // Big Movement Threshold
|
||||
|
||||
//
|
||||
// Reading Values ...
|
||||
@@ -4646,15 +4646,15 @@ class XCX121XCatbHelper : public XCBaseHelper
|
||||
|
||||
//
|
||||
bool isADXOverThreshold =
|
||||
cADX > adxThreshold;
|
||||
cADX > _adxThreshold;
|
||||
bool isADXUnderThreshold =
|
||||
cADX < adxThreshold;
|
||||
cADX < _adxThreshold;
|
||||
|
||||
//
|
||||
bool isPADXOverThreshold =
|
||||
pADX > adxThreshold;
|
||||
pADX > _adxThreshold;
|
||||
bool isPADXUnderThreshold =
|
||||
pADX < adxThreshold;
|
||||
pADX < _adxThreshold;
|
||||
|
||||
//
|
||||
bool isDXPBiggerThanDXN =
|
||||
@@ -4711,25 +4711,25 @@ class XCX121XCatbHelper : public XCBaseHelper
|
||||
|
||||
//
|
||||
bool isRSIOB =
|
||||
cRSI > rsiOBLevel;
|
||||
cRSI > _rsiOBLevel;
|
||||
bool isRSIOS =
|
||||
cRSI < rsiOSLevel;
|
||||
cRSI < _rsiOSLevel;
|
||||
|
||||
//
|
||||
bool isRSICrossedOverOB =
|
||||
cRSI > rsiOBLevel &&
|
||||
pRSI <= rsiOBLevel;
|
||||
cRSI > _rsiOBLevel &&
|
||||
pRSI <= _rsiOBLevel;
|
||||
bool isRSICrossedOverOS =
|
||||
cRSI > rsiOSLevel &&
|
||||
pRSI <= rsiOSLevel;
|
||||
cRSI > _rsiOSLevel &&
|
||||
pRSI <= _rsiOSLevel;
|
||||
|
||||
//
|
||||
bool isRSICrossedUnderOB =
|
||||
cRSI < rsiOBLevel &&
|
||||
pRSI >= rsiOBLevel;
|
||||
cRSI < _rsiOBLevel &&
|
||||
pRSI >= _rsiOBLevel;
|
||||
bool isRSICrossedUnderOS =
|
||||
cRSI < rsiOSLevel &&
|
||||
pRSI >= rsiOSLevel;
|
||||
cRSI < _rsiOSLevel &&
|
||||
pRSI >= _rsiOSLevel;
|
||||
|
||||
//
|
||||
// DELTA ...
|
||||
@@ -4886,11 +4886,11 @@ class XCX121XCatbHelper : public XCBaseHelper
|
||||
conditions.isDeltaUp = isDeltaUp;
|
||||
conditions.isATRDown = isATRDown;
|
||||
conditions.isTrendUp = isTrendUp;
|
||||
conditions.rsiOBLevel = rsiOBLevel;
|
||||
conditions.rsiOSLevel = rsiOSLevel;
|
||||
conditions.rsiOBLevel = _rsiOBLevel;
|
||||
conditions.rsiOSLevel = _rsiOSLevel;
|
||||
conditions.isDeltaDown = isDeltaDown;
|
||||
conditions.isTrendDown = isTrendDown;
|
||||
conditions.adxThreshold = adxThreshold;
|
||||
conditions.adxThreshold = _adxThreshold;
|
||||
conditions.isSarBullish = isSarBullish;
|
||||
conditions.isSarBearish = isSarBearish;
|
||||
conditions.isADXBullish = isADXBullish;
|
||||
|
||||
Reference in New Issue
Block a user