marketcalls/openalgo-indicator-skills26 files

Indicator Expert

OpenAlgo indicator expert. Use when user asks about technical indicators, charting, plotting indicators, creating custom indicators, building dashboards, real-time feeds, scanning stocks, indicator combinations, or using openalgo.ta. Also triggers for indicator functions (sma, ema, rsi, macd, supertrend, bollinger, atr, adx, ichimoku, stochastic, obv, vwap, crossover, crossunder, exrem).

Specification
Skill ID
marketcalls/openalgo-indicator-skills/indicator-expert
Publisher
marketcalls
Repository
openalgo-indicator-skills
Installs
0
Files
26
Synced
Sep 23, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

marketcalls/openalgo-indicator-skills/indicator-expertInstalls these files
  • SKILL.md
  • rules/assets/bollinger_chart/chart.py
  • rules/assets/custom_indicator/template.py
  • rules/assets/dashboard_basic/app.py
  • rules/assets/dashboard_multi/app.py
  • rules/assets/ema_chart/chart.py
  • rules/assets/live_feed/template.py
  • rules/assets/macd_chart/chart.py
  • rules/assets/multi_indicator/chart.py
  • rules/assets/rsi_chart/chart.py
  • rules/assets/scanner/template.py
  • rules/assets/streamlit_basic/app.py
  • rules/assets/streamlit_multi/app.py
  • rules/assets/supertrend_chart/chart.py
  • rules/custom-indicators.md
  • rules/dashboard-patterns.md
  • rules/data-fetching.md
  • rules/indicator-catalog.md
  • rules/indicator-combinations.md
  • rules/multi-timeframe.md
  • rules/performance.md
  • rules/plotting.md
  • rules/signal-generation.md
  • rules/streamlit-patterns.md
  • rules/symbol-format.md
  • rules/websocket-feeds.md

What this skill tells the agent

OpenAlgo Indicator Expert Skill

Environment

  • Python 3.12+ (required by openalgo 2.x) with openalgo, pandas, numpy, plotly, dash, streamlit
  • Data sources: OpenAlgo (Indian markets via client.history(), client.quotes(), client.depth()), yfinance (US/Global)
  • Real-time: OpenAlgo WebSocket (client.connect(), subscribe_ltp, subscribe_quote, subscribe_depth)
  • Indicators: openalgo.ta (ALWAYS — 100+ indicators computed by a compiled Rust core, full speed from the first call)
  • Charts: Plotly with template="plotly_dark"
  • Dashboards: Plotly Dash with dash-bootstrap-components (default) OR Streamlit with st.plotly_chart() — use Streamlit only when the user explicitly asks for it
  • Custom indicators: vectorized NumPy composed from openalgo.ta primitives (Rust core — no JIT, no warmup)
  • API keys loaded from single root .env via python-dotenv + find_dotenv() — never hardcode keys
  • Scripts go in appropriate directories (charts/, dashboards/, custom_indicators/, scanners/) created on-demand
  • Never use icons/emojis in code or logger output

Critical Rules

  1. ALWAYS use openalgo.ta for ALL technical indicators. Never reimplement what already exists in the library.
  2. Data normalization: Always convert DataFrame index to datetime, sort, and strip timezone after fetching.
  3. Signal cleaning: Always use ta.exrem() after generating raw buy/sell signals. Always .fillna(False) before exrem.
  4. Plotly dark theme: All charts use template="plotly_dark" with xaxis type="category" for candlesticks.
  5. Custom indicators: Compose from openalgo.ta primitives (ta.sma, ta.stdev, ta.bbands, ...) plus vectorized NumPy. Never reimplement built-ins; no JIT or warmup is needed.
  6. Input flexibility: openalgo.ta accepts numpy arrays, pandas Series, or lists. Output matches input type.
  7. WebSocket feeds: Use client.connect(), client.subscribe_ltp() / subscribe_quote() / subscribe_depth() for real-time data.
  8. Environment: Load .env from project root via find_dotenv() — never hardcode API keys.
  9. Market detection: If symbol looks Indian (SBIN, RELIANCE, NIFTY), use OpenAlgo. If US (AAPL, MSFT), use yfinance.
  10. Always explain chart outputs in plain language so traders understand what the indicator shows.

Data Source Priority

MarketData SourceMethodExample Symbols
India (equity)OpenAlgoclient.history()SBIN, RELIANCE, INFY
India (index)OpenAlgoclient.history(exchange="NSE_INDEX")NIFTY, BANKNIFTY
India (F&O)OpenAlgoclient.history(exchange="NFO")NIFTY30DEC25FUT
US/Globalyfinanceyf.download()AAPL, MSFT, SPY

OpenAlgo API Methods for Data

MethodPurposeReturns
client.history(symbol, exchange, interval, start_date, end_date)OHLCV candlesDataFrame (timestamp, open, high, low, close, volume)
client.quotes(symbol, exchange)Real-time snapshotDict (open, high, low, ltp, bid, ask, prev_close, volume)
client.multiquotes(symbols=[...])Multi-symbol quotesList of quote dicts
client.depth(symbol, exchange)Market depth (L5)Dict (bids, asks, ohlc, volume, oi)
client.intervals()Available intervalsDict (minutes, hours, days, weeks, months)
client.optionchain(underlying, exchange, expiry_date, strike_count)Option chain around ATMDict (underlying_ltp, atm_strike, chain with ce/pe per strike)
client.optiongreeks(symbol, exchange, interest_rate, ...)Option greeks + IVDict (greeks: delta/gamma/theta/vega/rho, implied_volatility, days_to_expiry)
client.expiry(symbol, exchange, instrumenttype)Expiry dates listDict (data: list of expiry dates)
client.connect()WebSocket connectNone (sets up WS connection)
client.subscribe_ltp(instruments, callback)Live LTP streamCallback with {symbol, exchange, ltp}
client.subscribe_quote(instruments, callback)Live quote streamCallback with {symbol, exchange, ohlc, ltp, volume}
client.subscribe_depth(instruments, callback)Live depth streamCallback with {symbol, exchange, bids, asks}

Indicator Library Reference

All indicators accessed via from openalgo import ta:

Trend (20)

ta.sma, ta.ema, ta.wma, ta.dema, ta.tema, ta.hma, ta.vwma, ta.alma, ta.kama, ta.zlema, ta.t3, ta.frama, ta.supertrend, ta.ichimoku, ta.chande_kroll_stop, ta.trima, ta.mcginley, ta.vidya, ta.alligator, ta.ma_envelopes

Momentum (9)

ta.rsi, ta.macd, ta.stochastic, ta.cci, ta.williams_r, ta.bop, ta.elder_ray, ta.fisher, ta.crsi

Volatility (16)

ta.atr, ta.bbands, ta.keltner, ta.donchian, ta.chaikin_volatility, ta.natr, ta.rvi, ta.ultimate_oscillator, ta.true_range, ta.massindex, ta.bb_percent, ta.bb_width, ta.chandelier_exit, ta.historical_volatility, ta.ulcer_index, ta.starc

Volume (15)

ta.obv, ta.obv_smoothed, ta.vwap, ta.mfi, ta.adl, ta.cmf, ta.emv, ta.force_index, ta.nvi, ta.pvi, ta.volosc, ta.vroc, ta.kvo, ta.pvt, ta.rvol

Oscillators (20+)

ta.cmo, ta.trix, ta.uo_oscillator, ta.awesome_oscillator, ta.accelerator_oscillator, ta.ppo, ta.po, ta.dpo, ta.aroon_oscillator, ta.stoch_rsi, ta.rvi_oscillator, ta.cho, ta.chop, ta.kst, ta.tsi, ta.vortex, ta.gator_oscillator, ta.stc, ta.coppock, ta.roc

Statistical (9)

ta.linreg, ta.lrslope, ta.correlation, ta.beta, ta.variance, ta.tsf, ta.median, ta.mode, ta.median_bands

Hybrid (6+)

ta.adx, ta.dmi, ta.aroon, ta.pivot_points, ta.sar, ta.williams_fractals, ta.rwi

TA-Lib Compatible (18, new in openalgo 2.0)

ta.mom, ta.rocp, ta.rocr, ta.rocr100, ta.apo, ta.midpoint, ta.midprice, ta.avgprice, ta.medprice, ta.typprice, ta.wclprice, ta.plus_dm, ta.minus_dm, ta.dx, ta.adxr, ta.stochf, ta.linregangle, ta.linregintercept

Utilities

ta.crossover, ta.crossunder, ta.cross, ta.highest, ta.lowest, ta.change, ta.roc, ta.stdev, ta.exrem, ta.flip, ta.valuewhen, ta.rising, ta.falling

Modular Rule Files

Detailed reference for each topic is in rules/:

Rule FileTopic
indicator-catalogComplete 100+ indicator reference with signatures and parameters
data-fetchingOpenAlgo history/quotes/depth, yfinance, data normalization
plottingPlotly candlestick, overlay, subplot, multi-panel charts
custom-indicatorsBuilding custom indicators with vectorized NumPy + ta primitives
websocket-feedsReal-time LTP/Quote/Depth streaming via WebSocket
performanceRust core performance, O(n) guarantees, benchmarking
dashboard-patternsPlotly Dash web applications with callbacks
streamlit-patternsStreamlit web applications with sidebar, metrics, plotly charts
multi-timeframeMulti-timeframe indicator analysis
signal-generationSignal generation, cleaning, crossover/crossunder
indicator-combinationsCombining indicators for confluence analysis
symbol-formatOpenAlgo symbol format, exchange codes, index symbols

Chart Templates (in rules/assets/)

TemplatePathDescription
EMA Chartassets/ema_chart/chart.pyEMA overlay on candlestick
RSI Chartassets/rsi_chart/chart.pyRSI with overbought/oversold zones
MACD Chartassets/macd_chart/chart.pyMACD line, signal, histogram

Use this skill in a project

Open any RiverX project, search the Skills panel for marketcalls/openalgo-indicator-skills/indicator-expert, and install it in one click.

Use this skill