Functions
Declaration
1 names in this group.
Each comes with its signature and an example.
indicator
Name and place: overlay true draws on the candles, false in its own pane. Call once, first. range fixes the pane’s scale. timeframe is the interval the script is tuned for ('60' = 1 hour): apps pick it first and run the standard backtest on it. Other intervals still run, but trade more or less often and differently.
function indicator(o: { name: string; overlay: boolean; precision?: number; range?: [number, number]; timeframe?: string }): voidindicator({ name: 'RSI', overlay: false, range: [0, 100] })