
axisju/price-action-skills
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
📈 An AI-powered trading setup detection toolkit based on Al Brooks Price Action methodology. Auto-detects market cycles (Spike/Channel/TR), swing pivots, S/R zones, and pullback triggers...
概要
Price Action Skills is a professional market structure analysis and trading setup detection toolkit designed for AI coding assistants (like Claude Code, Cursor, and Antigravity). It bridges the gap between programmatic quantitative calculations and qualitative chart analysis, automatically scanning A-Share and global market K-line charts using . - 📈 : Programmatically detects whether a stock is in a Spike (Strong Trend), Channel (Tight/Broad), or Trading Range (TR). - 🎯 : Automatically identifies H1/H2 (High 1/2) bullish setups in uptrend pullbacks, and L1/L2 (Low 1/2) bearish setups in downtrends. - 📍 : Maps swing highs and swing lows to construct channels and trace horizontal support/resistance levels. - 📐 : Identifies bearish wedge tops and bullish wedge bottoms (3-push structures) to forecast trend reversals. - 📊 : Renders K-line charts highlighting EMAs, Swing Points, Support/Resistance zones, and H1/H2/L1/L2 trading triggers. - Python 3.
README
以下は原文 README の抜粋です。原文を見る。
Price Action Skills — AI-Powered Brooks Price Action Analyzer
Price Action Skills is a professional market structure analysis and trading setup detection toolkit designed for AI coding assistants (like Claude Code, Cursor, and Antigravity).
It bridges the gap between programmatic quantitative calculations and qualitative chart analysis, automatically scanning A-Share and global market K-line charts using Al Brooks’ classic Price Action (PA) methodology.
Key Features
- 📈 Market Cycle Classification: Programmatically detects whether a stock is in a Spike (Strong Trend), Channel (Tight/Broad), or Trading Range (TR).
- 🎯 Brooks Pullback Setup Counting: Automatically identifies H1/H2 (High 1/2) bullish setups in uptrend pullbacks, and L1/L2 (Low 1/2) bearish setups in downtrends.
- 📍 Swing Pivot & Support/Resistance Detection: Maps swing highs and swing lows to construct channels and trace horizontal support/resistance levels.
- 📐 Wedge Pattern Detection: Identifies bearish wedge tops and bullish wedge bottoms (3-push structures) to forecast trend reversals.
- 📊 Auto-Annotated Visualization: Renders K-line charts highlighting EMAs, Swing Points, Support/Resistance zones, and H1/H2/L1/L2 trading triggers.
Repository Layout
price-action-skills/
├── SKILL.md # System prompt & skill configuration for AI agents
├── README.md # Project documentation (this file)
├── scripts/
│ ├── pa_analyzer.py # Core Python logic for Price Action calculation
│ └── chart_plotter.py # Annotation and chart rendering engine
├── references/
│ └── al_brooks_cheat_sheet.md # Al Brooks terminology and reference guide
└── tests/ # Test suite for indicators and algorithms
Getting Started
1. Requirements
- Python 3.10+
- Dependencies:
pandas,numpy,matplotlib,requests,loguru(Optionallyyfinance/aksharefor live market data)
pip install pandas numpy matplotlib requests loguru yfinance
2. Run Analysis
You can execute the analyzer script directly to output a structured JSON report:
python scripts/pa_analyzer.py --ticker 601899 --start-date 20251001 --end-date 20260625 --output scratch/pa_601899.json
Arguments:
--ticker: The 6-digit stock code (e.g.601899for Zijin Mining,000001for Ping An Bank) or US tickers (e.g.AAPL,GLD,QQQ).--output: Path to save the extracted setups and market structures (JSON).
3. Generate Annotated Charts
Once you have the analysis output, pass it to the plotter:
python scripts/chart_plotter.py --data scratch/pa_601899.json --output scratch/chart_601899.png
This produces a publication-quality chart mapping the identified Price Action setups on top of the candlestick chart.
Integrating with AI Agents (Antigravity / Claude Code)
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add axisju/price-action-skills