indicator-chart by marketcalls/openalgo-indicator-skills
npx skills add https://github.com/marketcalls/openalgo-indicator-skills --skill indicator-chart为某个交易品种的技术指标创建交互式 Plotly 图表。
将 $ARGUMENTS 解析为:指标 品种 交易所 时间周期
$0 = 指标名称 (例如:ema, rsi, macd, supertrend, bbands, adx, stochastic, ichimoku, obv, vwap)。默认值:ema$1 = 品种 (例如:SBIN, RELIANCE, NIFTY, AAPL)。默认值:SBIN$2 = 交易所 (例如:NSE, BSE, NFO, NSE_INDEX)。默认值:NSE。对于美国品种使用:YFINANCE$3 = 时间周期 (例如:D, 1h, 5m)。默认值:D如果没有参数,则询问用户需要哪个指标和品种。
charts/{indicator_name}/ 目录不存在,则创建它(按需)charts/{indicator_name}/ 目录中创建一个名为 的 文件广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
{symbol}_{indicator}_chart.py.pyrules/assets/{indicator}_chart/chart.py 中的匹配模板作为起点(如果可用)find_dotenv() 从项目根目录加载 .envclient.history() 获取数据(美国品种使用 yfinance)openalgo.ta 计算指标template="plotly_dark" 和 xaxis_type="category" 创建 Plotly 图表make_subplots{symbol}_{indicator}_chart.htmlfig.show() 显示图表| 指标 | 图表类型 |
|---|---|
| ema, sma, wma, dema, tema, hma | 线型叠加 |
| bbands | 填充带 + 中线 |
| supertrend | 颜色编码线(绿色=上涨,红色=下跌) |
| ichimoku | 5 条线 + 云填充 |
| keltner, donchian | 填充通道 |
| sar | 价格上方/下方的点标记 |
| ma-envelopes | 上/下轨线 |
| 指标 | 图表类型 |
|---|---|
| rsi | 线 + 水平 30/70 区域 |
| macd | 线 + 信号线 + 柱状图 |
| stochastic | K% + D% 线 + 20/80 区域 |
| adx | DI+, DI-, ADX 线 + 25 阈值 |
| cci | 线 + 水平 +100/-100 区域 |
| williams_r | 线 + -20/-80 区域 |
| obv | 线(累积) |
| mfi | 线 + 20/80 区域 |
| volume | 柱状图(按价格方向显示绿色/红色) |
| atr | 线(波动率) |
如果用户要求 "multi" 或多个指标,则创建一个包含以下内容的综合多面板图表:
如果指标生成清晰的买入/卖出信号(例如,交叉、超级趋势方向变化),则添加三角形标记:
| 时间周期 | 默认回溯期 |
|---|---|
| D | 1 年 (365 天) |
| 1h | 6 个月 (180 天) |
| 15m, 30m | 3 个月 (90 天) |
| 5m | 1 个月 (30 天) |
| 1m | 7 天 |
创建图表后,打印简要解释:
SBIN — RSI(14) 分析
当前 RSI:42.3
解读:中性区域 (介于 30-70 之间)。既未超买也未超卖。
趋势:RSI 在过去 5 根 K 线中从 65 下降,表明动量减弱。
/indicator-chart ema SBIN NSE D /indicator-chart rsi RELIANCE NSE D /indicator-chart macd AAPL YFINANCE D /indicator-chart supertrend NIFTY NSE_INDEX D /indicator-chart multi SBIN NSE D /indicator-chart bbands INFY NSE 1h
每周安装量
116
代码仓库
GitHub 星标数
5
首次出现
2026年2月28日
安全审计
安装于
codex115
opencode115
gemini-cli114
amp113
cline113
github-copilot113
Create an interactive Plotly chart for a technical indicator on a symbol.
Parse $ARGUMENTS as: indicator symbol exchange interval
$0 = indicator name (e.g., ema, rsi, macd, supertrend, bbands, adx, stochastic, ichimoku, obv, vwap). Default: ema$1 = symbol (e.g., SBIN, RELIANCE, NIFTY, AAPL). Default: SBIN$2 = exchange (e.g., NSE, BSE, NFO, NSE_INDEX). Default: NSE. For US symbols use: YFINANCE$3 = interval (e.g., D, 1h, 5m). Default: DIf no arguments, ask the user which indicator and symbol they want.
charts/{indicator_name}/ directory if it doesn't exist (on-demand).py file in charts/{indicator_name}/ named {symbol}_{indicator}_chart.pyrules/assets/{indicator}_chart/chart.py as starting point (if available).env from project root using find_dotenv()client.history() (or yfinance for US symbols)openalgo.tatemplate="plotly_dark" and xaxis_type="category"make_subplots for multi-panel layouts| Indicator | Chart Type |
|---|---|
| ema, sma, wma, dema, tema, hma | Line overlay |
| bbands | Fill-between bands + midline |
| supertrend | Color-coded line (green=up, red=down) |
| ichimoku | 5 lines + cloud fill |
| keltner, donchian | Fill-between channels |
| sar | Dot markers above/below price |
| ma-envelopes | Upper/lower band lines |
| Indicator | Chart Type |
|---|---|
| rsi | Line + horizontal 30/70 zones |
| macd | Line + signal + histogram bars |
| stochastic | K% + D% lines + 20/80 zones |
| adx | DI+, DI-, ADX lines + 25 threshold |
| cci | Line + horizontal +100/-100 zones |
| williams_r | Line + -20/-80 zones |
| obv | Line (cumulative) |
| mfi | Line + 20/80 zones |
| volume | Bar chart (green/red by price direction) |
| atr | Line (volatility) |
If user asks for "multi" or multiple indicators, create a comprehensive multi-panel chart with:
If the indicator generates clear buy/sell signals (e.g., crossover, supertrend direction change), add triangle markers:
| Interval | Default Lookback |
|---|---|
| D | 1 year (365 days) |
| 1h | 6 months (180 days) |
| 15m, 30m | 3 months (90 days) |
| 5m | 1 month (30 days) |
| 1m | 7 days |
After creating the chart, print a brief explanation:
SBIN — RSI(14) Analysis
Current RSI: 42.3
Interpretation: Neutral zone (between 30-70). Neither overbought nor oversold.
Trend: RSI has been declining from 65 over the past 5 bars, suggesting weakening momentum.
/indicator-chart ema SBIN NSE D /indicator-chart rsi RELIANCE NSE D /indicator-chart macd AAPL YFINANCE D /indicator-chart supertrend NIFTY NSE_INDEX D /indicator-chart multi SBIN NSE D /indicator-chart bbands INFY NSE 1h
Weekly Installs
116
Repository
GitHub Stars
5
First Seen
Feb 28, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex115
opencode115
gemini-cli114
amp113
cline113
github-copilot113
OKX CEX Earn CLI:OKX交易所赚币命令行工具,管理简单赚币、双币赢、链上赚币
1,300 周安装
二进制初步分析指南:使用ReVa工具快速识别恶意软件与逆向工程
69 周安装
PrivateInvestigator 道德人员查找工具 | 公开数据调查、反向搜索与背景研究
69 周安装
TorchTitan:PyTorch原生分布式大语言模型预训练平台,支持4D并行与H100 GPU加速
69 周安装
screenshot 截图技能:跨平台桌面截图工具,支持macOS/Linux权限管理与多模式捕获
69 周安装
tmux进程管理最佳实践:交互式Shell初始化、会话命名与生命周期管理
69 周安装
Git Rebase Sync:安全同步分支的Git变基工具,解决冲突与备份
69 周安装
{symbol}_{indicator}_chart.htmlfig.show()