UNPKG

@cmike444/supply-and-demand-zones

Version:

A library for identifying supply and demand zones in candlestick data.

10 lines (9 loc) 425 B
import { Candle } from "../types"; /** * Determines if a given candlestick represents a bullish candle. * A candlestick is considered bullish if the closing price is higher than the opening price. * * @param candle - The candlestick object containing `open` and `close` properties. * @returns `true` if the candlestick is bullish, otherwise `false`. */ export declare function isBullishCandle(candle: Candle): boolean;