last ...
This commit is contained in:
@@ -1226,17 +1226,6 @@ bool DetectDecisionZone(
|
||||
dir = X_DIRECTION_NONE;
|
||||
}
|
||||
|
||||
//
|
||||
// Check Box Size ...
|
||||
double range = box.GetRange();
|
||||
double maxAllowedBoxRange = 400;
|
||||
double ponts = GetPoints(box.symbol);
|
||||
bool isTooLarget = range > (maxAllowedBoxRange * points);
|
||||
if (isTooLarget)
|
||||
{
|
||||
Print("Too Large ...");
|
||||
}
|
||||
|
||||
//
|
||||
// Check Box is Prepared or Not ...
|
||||
result = box.IsValid();
|
||||
@@ -1897,6 +1886,14 @@ bool CanTriggerCond2(
|
||||
// Since Here TP Must Calculated
|
||||
// Using R2R we Ignore Target ...
|
||||
tp = 0;
|
||||
// if (isBullish && zBar.close < decisionZone.upper)
|
||||
// {
|
||||
// tp = decisionZone.upper;
|
||||
// }
|
||||
// else if (isBearish && zBar.close > decisionZone.lower)
|
||||
// {
|
||||
// tp = decisionZone.lower;
|
||||
// }
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user