This commit is contained in:
2025-05-04 12:03:52 +03:30
parent 5c350c088b
commit 2dbdc2ecc1
+3 -3
View File
@@ -276,7 +276,7 @@ bool IsFakeBreakeout(
// //
int fromIDX = pivot.FromIndex(); int fromIDX = pivot.FromIndex();
result = barIndex < fromIDX; result = barIndex > fromIDX;
if (!result) if (!result)
{ {
return result; return result;
@@ -322,9 +322,9 @@ bool IsFakeBreakeout(
// //
bool isBarInside = bool isBarInside =
cBar.GetDirection() == pivot.dir &&
cBar.GetUp() > breakPrice && cBar.GetUp() > breakPrice &&
cBar.GetDown() < breakPrice; cBar.GetDown() < breakPrice &&
cBar.GetDirection() == pivot.dir;
// //
result = result =