This commit is contained in:
2025-02-12 00:50:56 +03:30
parent 4a70a3ef4f
commit 44f2a9baba
4 changed files with 112 additions and 28 deletions
+12 -1
View File
@@ -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);
/////////////////////////////////////////////////////////