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