Supertrend
Implementation of supertrend indicator
Install / Use
/learn @maxgfr/SupertrendREADME
supertrend
The Super Trend indicator, is a trending indicator that can be used to identify if the price is in an upward or downward trend. If the price is above the line then it acts as a point of support, and if below the line it acts as a point of resistance. The indicator is based on the ATR indicator, and is used to identify the trend direction and strength.
Installation
yarn add supertrend
Usage
import { supertrend } from 'supertrend';
supertrend({
initialArray: [
{"high":4035,"low":3893.77,"close":4020.99},
...
{"high":5000,"low":4900.77,"close":4950.99},
],
multiplier: 3,
period: 10,
})
// => [ 0, 4670.9619, 2000 ]
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Writing Hookify Rules
109.8kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
review-duplication
100.4kUse this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities.
