Trading Indicators from Price Data (20 common indicators)
Calculate 20 widely used trading indicators from OHLCV candles (open, high, low, close, volume) using Python.
This skill is useful for:
- signal generation
- strategy backtesting
- feature engineering for ML models
- market condition dashboards
Requirements
Install dependencies:
pip install pandas pandas-ta
Input data must include these columns:
open
high
low
close
volume
20 indicators included
- RSI (14)
- MACD line (12,26)
- MACD signal (9)
- MACD histogram
- SMA (20)
- SMA (50)
- EMA (20)
- EMA (50)
- WMA (20)
- Bollinger upper band (20,2)
- Bollinger middle band (20,2)
- Bollinger lower band (20,2)
- Stochastic %K (14,3,3)
- Stochastic %D (14,3,3)
- ATR (14)
- ADX (14)
- CCI (20)
- OBV
- MFI (14)
- ROC (12)
Notes
- Indicators need warmup candles (first rows can be
NaN).
- For stable output, use at least 200 candles.
- If you run this on minute candles, indicators are intraday; on daily candles, they are swing/position oriented.
Agent prompt
You have a trading-indicators skill.
When given OHLCV price data, calculate the following 20 indicators:
RSI(14), MACD line/signal/histogram (12,26,9), SMA(20), SMA(50), EMA(20), EMA(50), WMA(20),
Bollinger upper/middle/lower (20,2), Stoch %K/%D (14,3,3), ATR(14), ADX(14), CCI(20), OBV, MFI(14), ROC(12).
Return a table with the latest value of each indicator and include the last 50 rows when requested.
If data is insufficient, ask for more candles.
Source: besoeasy/open-skills — distributed by TomeVault.
1---2name: trading-indicators-from-price-data3description: Compute common trading indicators from OHLCV price data for analysis and strategy development. Use when this capability is needed.4---56# Trading Indicators from Price Data (20 common indicators)78Calculate 20 widely used trading indicators from OHLCV candles (open, high, low, close, volume) using Python.910This skill is useful for:11- signal generation12- strategy backtesting13- feature engineering for ML models14- market condition dashboards1516## Requirements1718Install dependencies:1920```bash21pip install pandas pandas-ta22```2324Input data must include these columns:25- `open`26- `high`27- `low`28- `close`29- `volume`3031## 20 indicators included32331. RSI (14)342. MACD line (12,26)353. MACD signal (9)364. MACD histogram375. SMA (20)386. SMA (50)397. EMA (20)408. EMA (50)419. WMA (20)4210. Bollinger upper band (20,2)4311. Bollinger middle band (20,2)4412. Bollinger lower band (20,2)4513. Stochastic %K (14,3,3)4614. Stochastic %D (14,3,3)4715. ATR (14)4816. ADX (14)4917. CCI (20)5018. OBV5119. MFI (14)5220. ROC (12)5354## Notes5556- Indicators need warmup candles (first rows can be `NaN`).57- For stable output, use at least 200 candles.58- If you run this on minute candles, indicators are intraday; on daily candles, they are swing/position oriented.5960## Agent prompt6162```text63You have a trading-indicators skill.6465When given OHLCV price data, calculate the following 20 indicators:66RSI(14), MACD line/signal/histogram (12,26,9), SMA(20), SMA(50), EMA(20), EMA(50), WMA(20),67Bollinger upper/middle/lower (20,2), Stoch %K/%D (14,3,3), ATR(14), ADX(14), CCI(20), OBV, MFI(14), ROC(12).6869Return a table with the latest value of each indicator and include the last 50 rows when requested.70If data is insufficient, ask for more candles.71```7273---74> Source: [besoeasy/open-skills](https://github.com/besoeasy/open-skills) — distributed by [TomeVault](https://tomevault.io).75<!-- tomevault:4.0:skill_md:2026-06-24 -->