TradingView's Supertrend Indicator
MIT License
The simple-supertrend
is a simple yet powerful tool for determining market trends. It provides a boolean signal indicating whether the market is in an uptrend or downtrend based on the Supertrend indicator.
import supertrend from "simple-supertrend";
const isSupertrendUptrend = supertrend(klines, period, multiplier);
// returns boolean