Loading...
Loading...
Technical analysis patterns - Elliott Wave, Wyckoff, Fibonacci, Markov Regime, and Turtle Trading with confluence detection. Use when analyzing charts, identifying trading signals, or calculating technical levels.
npx skill4agent add scientiacapital/skills trading-signalsscore = sum(signal.strength * weights[signal.method] for signal in signals)
action = 'BUY' if score >= 0.7 else 'WAIT'| Methodology | Purpose | When to Use |
|---|---|---|
| Elliott Wave | Wave position + targets | Trend structure, cycle timing |
| Turtle Trading | Breakout system | Trend following |
| Fibonacci | Support/resistance | Entry/exit zones, golden pocket |
| Wyckoff | Accumulation/distribution | Institutional activity |
| Markov Regime | Market state classification | Position sizing, strategy selection |
| Pattern Recognition | Candlestick + chart patterns | Entry confirmation |
| Swarm Consensus | Multi-LLM voting | High-conviction decisions |
class ConfluenceAnalyzer:
"""Regime-weighted methodology fusion"""
REGIME_WEIGHTS = {
'trending_up': {'elliott': 0.30, 'turtle': 0.30, 'fib': 0.20, 'wyckoff': 0.15},
'trending_down': {'elliott': 0.30, 'turtle': 0.30, 'fib': 0.20, 'wyckoff': 0.15},
'ranging': {'fib': 0.35, 'wyckoff': 0.30, 'elliott': 0.20, 'turtle': 0.05},
'volatile': {'fib': 0.30, 'wyckoff': 0.30, 'elliott': 0.20, 'turtle': 0.10},
}
def analyze(self, df, regime: str) -> dict:
weights = self.REGIME_WEIGHTS[regime]
signals = self._collect_signals(df)
score = sum(s.strength * weights[s.method] for s in signals)
return {
'score': score, # 0-1.0
'action': 'BUY' if score >= 0.7 else 'WAIT',
'confluence': self._calc_agreement(signals)
}trading-project/
├── methodologies/
│ ├── elliott_wave.py # Wave detection + halving cycle
│ ├── turtle_system.py # Donchian breakouts
│ ├── fibonacci.py # Levels + golden pocket
│ ├── wyckoff.py # Phase detection + VSA
│ └── markov_regime.py # State classification
├── patterns/
│ ├── candlestick.py # Engulfing, hammer, doji
│ └── chart_patterns.py # H&S, double bottom, triangles
├── aggregator.py # Regime-weighted fusion
└── swarm/
├── consensus.py # Multi-LLM voting
└── adapters/ # Claude, DeepSeek, Gemini| Task | Model | Cost |
|---|---|---|
| Pattern detection | DeepSeek-V3 | $0.27/1M |
| Confluence scoring | Qwen-72B | $0.40/1M |
| Critical decisions | Claude Sonnet | $3.00/1M |
| Swarm consensus | Mixed tier | ~$1.50/1M avg |
reference/elliott-wave.mdreference/turtle-trading.mdreference/fibonacci.mdreference/wyckoff.mdreference/markov-regime.mdreference/pattern-recognition.mdreference/swarm-consensus.mdreference/chinese-llm-stack.md