Appearance
Personalize your experience
Mode
Accent Color
Layout
Direction
RSI (Relative Strength Index)
Admin's ChoiceFreeMomentum oscillator measuring overbought/oversold conditions
4.7(387)
12.3k installs 1.6k 2 commentsQ
42 listings12400 followers
Official QuaTick team — building advanced charting & trading tools for the Indian market.
View Profilersimomentumoscillatoroverboughtoversold
Free
Open in QuaTick IDE Edit in IDE Version1.2.0
Updated2025-10-10
Compatiblecandlestick, heiken-ashi, line
Live Preview — BTC/USDT
About
Classic RSI with configurable overbought/oversold levels, SMMA smoothing and optional background fill.
Features
• Standard Wilder smoothing (SMMA/RMA)
• Customisable source (close, hl2, hlc3, ohlc4)
• Reference lines at 70/50/30
Outputs & Parameters
Outputs
RSI Lineline
Parameters
Period14
Sourceclose
Overbought70
Oversold30
Source Code
Edit in IDEtypescript
| 1 | // RSI Indicator — Quatick IDE |
| 2 | // SDK math globals available: sma, ema, atr, rsi, macd, bollingerBands, vwap, etc. |
| 3 | |
| 4 | const metadata = { id: 'rsi', name: 'RSI', version: '1.0.0', category: 'oscillators' }; |
| 5 | |
| 6 | interface BarData { |
| 7 | time: number; |
| 8 | open: number; |
| 9 | high: number; |
| 10 | low: number; |
| 11 | close: number; |
| 12 | volume?: number; |
| 13 | } |
| 14 | |
| 15 | const defaultParams = { period: 14, source: 'close' }; |
| 16 | |
| 17 | function calculate(bars: BarData[], params = defaultParams): { time: number; value: number }[] { |
| 18 | const prices = bars.map(b => { |
| 19 | if (params.source === 'open') return b.open; |
| 20 | if (params.source === 'high') return b.high; |
| 21 | if (params.source === 'low') return b.low; |
| 22 | return b.close; |
| 23 | }); |
| 24 | |
| 25 | // rsi() is an SDK global: rsi(data[], period) -> number[] |
| 26 | const rsiValues = rsi(prices, params.period); |
| 27 | |
| 28 | return bars |
| 29 | .map((bar, i) => ({ time: bar.time, value: rsiValues[i] })) |
| 30 | .filter(p => !isNaN(p.value)); |
| 31 | } |
Read-only preview. Open in the QuaTick IDE to edit and deploy.
Reviews
No reviews yet. Be the first to review this listing.
Discussion
Sign in to join the discussion.