UNPKG

@cmike444/supply-and-demand-zones

Version:

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

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