This commit is contained in:
2025-04-28 19:59:13 +03:30
parent 28f5ffac63
commit 806fdeb4bb
3 changed files with 81 additions and 12 deletions
+23 -8
View File
@@ -867,7 +867,7 @@ bool DetectXCAEAConditions(
cBar,
pBar,
p2Bar,
true, // Ignore Mid Rejection ...
false, // Ignore Mid Rejection ...
true,
true //
);
@@ -1032,6 +1032,16 @@ bool DetectXCAEAConditions(
sls //
);
//
if (!isRejectedOnMid)
{
//
Add(
rejectedPivot.GetMid(),
sls //
);
}
// //
// // X3MA Medium ...
// if (c3MAMedium < entry)
@@ -1052,6 +1062,16 @@ bool DetectXCAEAConditions(
sls //
);
//
if (!isRejectedOnMid)
{
//
Add(
rejectedPivot.GetMid(),
sls //
);
}
// //
// // X3MA Medium ...
// if (c3MAMedium > entry)
@@ -1308,15 +1328,10 @@ bool SelectRejectedBox(
bool isBearish = iBox.IsBearish();
//
double boundaryPrice =
isBullish
? iBox.upper
: iBox.lower;
double boundaryPrice = iBox.GetRejection();
//
double midPrice =
iBox.lower +
((iBox.upper - iBox.lower) / 2);
double midPrice = iBox.GetMid();
//
bool isMidBullishRejected = cBar.IsRejected(