Skip to content

Commit

Permalink
Fixed issue #16
Browse files Browse the repository at this point in the history
  • Loading branch information
jb-lopez committed Oct 9, 2023
1 parent f6d8387 commit a4d93b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/TALib/Core/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public static function construct(): void
/* when measuring distance between parts of candles or width of gaps "equal" means "<= 5% of the average of the 5 previous candles' high-low range" */
new CandleSetting(CandleSettingType::Equal, RangeType::HighLow, 5, 0.05),
];
static::$unstablePeriod = \array_pad([], count(UnstablePeriodFunctionID::cases()) - 2, 0);
static::$unstablePeriod = \array_pad([], UnstablePeriodFunctionID::ALL - 2, 0);
}

public static function setUnstablePeriod(int $functionID, int $unstablePeriod): void
Expand Down

0 comments on commit a4d93b8

Please sign in to comment.