last ...
This commit is contained in:
@@ -1074,7 +1074,12 @@ bool DetectXCAEAConditions(
|
|||||||
//
|
//
|
||||||
bool isCond2Bullish =
|
bool isCond2Bullish =
|
||||||
//
|
//
|
||||||
false // &&
|
false &&
|
||||||
|
//
|
||||||
|
conditions.isUnderMal &&
|
||||||
|
conditions.isValeIsPivot &&
|
||||||
|
// conditions.swingLowBuffer[cIDX] > conditions.valeBuffer[cIDX] &&
|
||||||
|
conditions.swingLowBuffer[cIDX] < conditions.fiboLevel3Buffer[cIDX]
|
||||||
//
|
//
|
||||||
// conditions.isRSIOS
|
// conditions.isRSIOS
|
||||||
//
|
//
|
||||||
@@ -1187,6 +1192,7 @@ bool DetectXCAEAConditions(
|
|||||||
double sls[];
|
double sls[];
|
||||||
|
|
||||||
//
|
//
|
||||||
|
// Preparing SLs ...
|
||||||
if (isCond1)
|
if (isCond1)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
@@ -1295,6 +1301,27 @@ bool DetectXCAEAConditions(
|
|||||||
//
|
//
|
||||||
box.type = "XCASignal";
|
box.type = "XCASignal";
|
||||||
|
|
||||||
|
//
|
||||||
|
// Preparing Targets ...
|
||||||
|
if (isCond1)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// Add Reward 1 ...
|
||||||
|
|
||||||
|
//
|
||||||
|
double rewardPrice = 1 * risk;
|
||||||
|
double rewardTP =
|
||||||
|
isBullish
|
||||||
|
? entry + rewardPrice
|
||||||
|
: entry - rewardPrice;
|
||||||
|
|
||||||
|
//
|
||||||
|
Add(
|
||||||
|
rewardTP,
|
||||||
|
targets //
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
Clean(sls);
|
Clean(sls);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user