last ...
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user