This commit is contained in:
2025-05-01 14:22:20 +03:30
parent 22605f46b6
commit 4eb3881672
5 changed files with 169 additions and 23 deletions
+15 -1
View File
@@ -660,6 +660,9 @@ bool DetectXCAEAConditions(
bool isScoreBearish =
bearishScore > bullishScore;
//
bool isScoreNeutural = MathAbs(bullishScore - bearishScore) == 0;
//
// Generating Conditions Summary ...
string summary =
@@ -672,7 +675,7 @@ bool DetectXCAEAConditions(
//
double bullishVolume = 0;
double bearishVolume = 0;
int volumeRangeLoopback = 5;
int volumeRangeLoopback = loopback;
helper.barAnalyser.CalculateRangeVolume(
cBar,
bullishVolume,
@@ -680,6 +683,9 @@ bool DetectXCAEAConditions(
volumeRangeLoopback //
);
//
bool isVolumeNeutural = MathAbs(bullishVolume - bearishVolume) == 0;
//
double rangeVolume = bullishVolume = bearishVolume;
double rangeVolumeAvg = rangeVolume / volumeRangeLoopback;
@@ -1009,6 +1015,14 @@ bool DetectXCAEAConditions(
Print(ToString(cBar.GetDirection()), " ATR Growing ...");
}
//
if (isScoreNeutural ||
isVolumeNeutural)
{
//
Print("Zero Volume ...");
}
//
bool isLowOverMax = cBar.low > maxCTrendValue;
bool isHighUnderMin = cBar.high < minCTrendValue;