This commit is contained in:
2025-04-19 16:35:21 +03:30
parent c96a77b4bb
commit a9e8fe04a8
6 changed files with 804 additions and 21 deletions
+74
View File
@@ -367,6 +367,31 @@ struct XCAEAConditions
double stochasticBuffer[];
double stochasticSignalBuffer[];
//
// Values ...
//
double adxThreshold;
double cciOBLevel;
double cciOSLevel;
double cciReversalLevel;
double rsiOBLevel;
double rsiOSLevel;
double rsiReversalLevel;
double mfiOBLevel;
double mfiOSLevel;
double mfiReversalLevel;
double rviBullishLevel;
double rviBearishLevel;
double macdBullishLevel;
double macdBearishLevel;
double momentumBullishLevel;
double momentumBearishLevel;
double stochasticOBLevel;
double stochasticOSLevel;
double stochasticReversalLevel;
//
// Conditions ...
@@ -850,6 +875,30 @@ struct XCAEAConditions
ArraySetAsSeries(stochasticBuffer, true);
ArraySetAsSeries(stochasticSignalBuffer, true);
//
// Values ...
//
adxThreshold = 0.0;
cciOBLevel = 0.0;
cciOSLevel = 0.0;
cciReversalLevel = 0.0;
rsiOBLevel = 0.0;
rsiOSLevel = 0.0;
rsiReversalLevel = 0.0;
mfiOBLevel = 0.0;
mfiOSLevel = 0.0;
mfiReversalLevel = 0.0;
rviBullishLevel = 0.0;
rviBearishLevel = 0.0;
macdBullishLevel = 0.0;
macdBearishLevel = 0.0;
momentumBullishLevel = 0.0;
momentumBearishLevel = 0.0;
stochasticOBLevel = 0.0;
stochasticOSLevel = 0.0;
stochasticReversalLevel = 0.0;
//
// Conditions ...
@@ -2880,8 +2929,33 @@ class XCXCAEAHelper : XCBase
conditions.stochasticSignalBuffer //
);
//
// Values ...
//
conditions.adxThreshold = xocsConditions.adxThreshold;
conditions.cciOBLevel = xocsConditions.cciOBLevel;
conditions.cciOSLevel = xocsConditions.cciOSLevel;
conditions.cciReversalLevel = xocsConditions.cciReversalLevel;
conditions.rsiOBLevel = xocsConditions.rsiOBLevel;
conditions.rsiOSLevel = xocsConditions.rsiOSLevel;
conditions.rsiReversalLevel = xocsConditions.rsiReversalLevel;
conditions.mfiOBLevel = xocsConditions.mfiOBLevel;
conditions.mfiOSLevel = xocsConditions.mfiOSLevel;
conditions.mfiReversalLevel = xocsConditions.mfiReversalLevel;
conditions.rviBullishLevel = xocsConditions.rviBullishLevel;
conditions.rviBearishLevel = xocsConditions.rviBearishLevel;
conditions.macdBullishLevel = xocsConditions.macdBullishLevel;
conditions.macdBearishLevel = xocsConditions.macdBearishLevel;
conditions.momentumBullishLevel = xocsConditions.momentumBullishLevel;
conditions.momentumBearishLevel = xocsConditions.momentumBearishLevel;
conditions.stochasticOBLevel = xocsConditions.stochasticOBLevel;
conditions.stochasticOSLevel = xocsConditions.stochasticOSLevel;
conditions.stochasticReversalLevel = xocsConditions.stochasticReversalLevel;
//
// Conditions ...
//
conditions.isCCIOB = xocsConditions.isCCIOB;
conditions.isCCIOS = xocsConditions.isCCIOS;