last ...
This commit is contained in:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user