trading-indicators-from-price-data
Compute common trading indicators from OHLCV price data for analysis and strategy development.
git clone --depth 1 https://github.com/besoeasy/open-skills /tmp/trading-indicators-from-price-data && cp -r /tmp/trading-indicators-from-price-data/skills/trading-indicators-from-price-data ~/.claude/skills/trading-indicators-from-price-dataSKILL.md
# 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: ```bash pip install pandas pandas-ta ``` Input data must include these columns: - `open` - `high` - `low` - `close` - `volume` ## 20 indicators included 1. RSI (14) 2. MACD line (12,26) 3. MACD signal (9) 4. MACD histogram 5. SMA (20) 6. SMA (50) 7. EMA (20) 8. EMA (50) 9. WMA (20) 10. Bollinger upper band (20,2) 11. Bollinger middle band (20,2) 12. Bollinger lower band (20,2) 13. Stochastic %K (14,3,3) 14. Stochastic %D (14,3,3) 15. ATR (14) 16. ADX (14) 17. CCI (20) 18. OBV 19. MFI (14) 20. 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 ```text 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. ```
Encrypt and decrypt files or streams using age — a simple, modern, and secure encryption tool with small explicit keys, passphrase support, SSH key support, post-quantum hybrid keys, and UNIX-style composability. No config options, no footguns.
Upload and host files anonymously using decentralized storage with Originless and IPFS.
Automate web browsers for AI agents using agent-browser CLI with deterministic element selection.
Star all repositories from a GitHub user automatically. Use when: (1) Supporting open source creators, (2) Bulk discovery of useful projects, or (3) Automating GitHub engagement.
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Log all chat messages to a SQLite database for searchable history and audit. Use when: (1) Building chat history, (2) Auditing conversations, (3) Searching past messages, or (4) User asks to log chats.
Check cryptocurrency wallet balances across multiple blockchains using free public APIs.
Calculate line-of-sight and road distances between two cities using free OpenStreetMap services.