This commit is contained in:
2025-04-06 20:46:15 +03:30
parent 19a7cd7629
commit 1c6785d043
15 changed files with 230 additions and 160 deletions
@@ -357,16 +357,17 @@ bool IsFVGBoxValid(
selectedBox.symbol,
selectedBox.period,
selectedBox.from //
) + 1;
) +
1;
result = IsValidIndex(fromIndex);
//
// To Index ...
int toIndex = GetBarIndex(
selectedBox.symbol,
selectedBox.period,
selectedBox.to //
);
selectedBox.symbol,
selectedBox.period,
selectedBox.to //
);
if (toIndex < 1)
{
toIndex = 1;
@@ -603,14 +604,16 @@ bool IsFVGBoxValid(
//
bool isBullish =
isBoxBullish &&
!hasBearishOrConditions &&
hasBullishAndConditions;
!hasBearishOrConditions // &&
// hasBullishAndConditions
;
//
bool isBearish =
!isBoxBullish &&
!hasBullishOrConditions &&
hasBearishAndConditions;
!hasBullishOrConditions // &&
// hasBearishAndConditions
;
//
result = isBullish ||