API REFERENCE
overlays
Candlestick (): moving-average overlays — spec objects { kind, period, color?, width?, label? }, a JSON string, or the compact "sma:20 ema:50".
Definition
| Item | Value |
|---|---|
| JavaScript property | overlays |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | CandlestickOverlayInput | string |
| Default | undefined |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
- CandlestickOverlayInput
Type definition