
**π [Open Source] I built a BTC/Altcoin Trading Strategy Analyzer that uses Multi-Timeframe Analysis + Bitcoin Dominance to Generate Trading Signals**
Heyπ
I’ve been working on a trading strategy analyzer that I think might interest some of you technical analysis folks. It’s completely **open source** and combines several market indicators to provide trading recommendations for both Bitcoin and altcoins.
## π **What it does:**
The tool analyzes three key market factors:
– **BTC 7-hour price trend** (bullish/bearish/sideways)
– **BTC Dominance 7-hour trend** (how Bitcoin’s market share is moving)
– **Market Wave Cycles** (weekly and monthly trends)
It then runs these through a **decision matrix with 27 different combinations** to give specific trading recommendations like “Strong BTC buy”, “Altcoin accumulation”, or “Market range – stay cautious”.
## π― **Key Features:**
β **Real-time data** from Binance and Coinstats APIs
β **Risk assessment** (Low/Medium/High) for each recommendation
β **Confidence scoring** (50-95%) based on pattern matching
β **Conflict detection** when weekly/monthly trends disagree
β **Error handling** for data gaps and API issues
## π **Sample Output:**
”’
[2025-08-30T22:08:39Z]
BTC 7h Trend: βΌ 0.34% (Sideways)
BTC.D 7h Trend: β² 0.02% (Sideways)
MWC Status: Bearish (Weekly -5.9%)
HWC Status: Sideways (Monthly +1.1%)
RECOMMENDATION: Market range (Low risk)
CONFIDENCE: 50%
”’
## π **Technical Stack:**
– Python with ccxt, requests
– Data from Binance (price) + Coinstats (dominance)
– Multi-timeframe analysis (hourly, daily, weekly, monthly)
The logic is pretty straightforward: when BTC is bullish AND dominance is rising AND weekly trend is up = strong BTC buy signal. When BTC is bearish but dominance is falling with weekly trend up = altcoin opportunity. And so on through all 27 combinations.
## π **GitHub**: github.com/mohammad154/Trade-on-btc-or-altcoins-based-on-btc.d
Feel free to check it out, fork it, or contribute! I’m especially interested in feedback on the decision matrix logic and any ideas for additional indicators.
**β οΈ IMPORTANT DISCLAIMER:** This is for educational/research purposes only. Not financial advice. Trading crypto carries significant risk – always DYOR and never risk more than you can afford to lose.
Anyone else building similar tools or have thoughts on multi-timeframe analysis strategies? Would love to hear your experiences! π€
***
**Edit**: Thanks for the feedback! Yes, it’s designed specifically for futures trading as mentioned in the repo. Spot trading would need different risk parameters.

