smc
$
npx mdskill add HKUDS/Vibe-Trading/smcAnalyzes market structure using Smart Money Concepts to generate trading signals for trend continuation or reversal.
- Helps identify institutional trading patterns like BOS, ChoCH, FVG, and order blocks for decision-making.
- Integrates with the smartmoneyconcepts library and depends on pandas, numpy, and requests.
- Decides recommendations based on direction from ChoCH, confirmation from BOS, and filtering by FVG.
- Presents results as numeric signals: 1 for long, -1 for short, and 0 for stand aside.
SKILL.md
.github/skills/smcView on GitHub ↗
--- name: smc description: Smart Money Concepts (ICT) signal engine. Uses the smartmoneyconcepts library to implement institutional-trading-school analysis of BOS, ChoCH, FVG, and order blocks (OB). category: strategy --- # Smart Money Concepts ## Purpose The modern institutional trading school (ICT / Inner Circle Trader), built around the core idea of tracking the behavior of "smart money" (institutional capital): | Concept | English | Meaning | |------|------|------| | Break of structure | BOS (Break of Structure) | Trend continuation signal | | Change of character | ChoCH (Change of Character) | Trend reversal signal | | Fair value gap | FVG (Fair Value Gap) | Price refill target | | Order blocks | Order Blocks | Institutional order concentration zones | | Liquidity | Liquidity | Stop-hunt target zones | ## Signal Logic Direction from ChoCH + confirmation from BOS + filtering by FVG: - **Long**: bullish ChoCH/BOS + bullish FVG exists - **Short**: bearish ChoCH/BOS + bearish FVG exists - **Stand aside**: no structural signal or conflicting directions ## Dependencies ```bash pip install smartmoneyconcepts pandas numpy requests ``` ## Parameters | Parameter | Default | Description | |------|--------|------| | swing_length | 10 | Window for swing high/low detection | | close_break | True | Whether BOS/ChoCH requires a closing-price break | ## Signal Convention - `1` = long, `-1` = short, `0` = stand aside
More from HKUDS/Vibe-Trading
- adr-hshareADR/H-share/A-share cross-listing premium analysis — track pricing gaps between US-listed ADRs, HK-listed H-shares, and A-shares for arbitrage signals, dual-listing valuation, and delisting risk assessment.
- akshareAKShare financial data aggregator (18k+ stars). Free, no API key. Covers A-shares, US, HK, futures, macro, forex. Primary fallback for tushare and yfinance.
- asset-allocationAsset allocation theory and optimizer usage — MPT / Black-Litterman / risk budgeting / all-weather strategy, including guides for 4 optimizers and rebalancing rules.
- backtest-diagnoseDiagnose failed or underperforming backtests, locate the root cause, and fix the issue
- behavioral-financeBehavioral finance applications: theories of overreaction and underreaction, behavioral explanations for momentum and reversal, investor sentiment cycles, cognitive-bias checklists, and debiasing quantitative strategies.
- candlestickCandlestick pattern recognition engine, pure pandas vectorized implementation of 15 classic candlestick patterns (5 single-candle + 5 double-candle + 4 triple-candle + 1 trend confirmation), generating a composite signal from bullish/bearish pattern scores.
- ccxtCCXT unified crypto exchange library (100+ exchanges). Free public market data. Fallback when OKX is unavailable.
- chanlun基于缠论(缠中说禅)的形态识别引擎,使用czsc库自动检测K线分型、笔、中枢,并生成一买/一卖/二买/二卖/三买/三卖等买卖点信号。支持多周期分析和形态分类(3/5/7/9/11笔形态)。
- commodity-analysisCommodity analysis (oil supply-demand balance / gold pricing / copper as an economic predictor / inventory cycles / futures premium-discount structure / seasonality), generating directional commodity signals.
- convertible-bondA股可转债分析——转股/纯债/期权三维估值、下修/强赎/回售博弈、双低策略与转债轮动选债框架