last ...
This commit is contained in:
@@ -5471,4 +5471,15 @@ else if (isPriceInsideDemandZone)
|
||||
{
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////
|
||||
|
||||
int tSLTPIndex = (int)reachedTPLevel - 1;
|
||||
double tSLTPPrice = tps[tSLTPIndex];
|
||||
canTrailSL =
|
||||
reachedTPLevel >= startTrailTPLevel &&
|
||||
(isLong
|
||||
? iPosition.sl < tSLTPPrice
|
||||
: iPosition.sl > tSLTPPrice);
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
Reference in New Issue
Block a user