A professional-grade, automated trading signal generator optimized for EUR/USD trading with prop firm rules in mind.
| Metric | Value |
|---|---|
| Win Rate | 56% (stable markets) |
| Profit Factor | 1.7 - 2.3 |
| Risk:Reward | 1:2.5 |
| Max Drawdown | 2.3% |
| Trades/Month | ~5 |
| Phase | Target | Time |
|---|---|---|
| Phase 1 | 8% ($1,600) | ~7 months |
| Phase 2 | 5% ($1,000) | ~4 months |
| Total to Funded | ~11 months |
| Phase | Target | Time |
|---|---|---|
| Phase 1 | 8% ($1,600) | ~3-4 months |
| Phase 2 | 5% ($1,000) | ~2-3 months |
| Total to Funded | ~5-7 months |
- Monthly Profit: ~$480
- Yearly Profit: ~$5,760 (29% ROI)
- You Keep (80%): ~$4,600/year
- Multi-Indicator Strategy: EMA, RSI, MACD, ADX, Bollinger Bands, Stochastic
- AI Risk Filter: Google Gemini 2.0 blocks trades during high-impact news
- Dynamic Risk Management: ATR-based stop loss, trailing stops
- Telegram Alerts: Real-time signals with entry, SL, TP, and reasoning
- Prop Firm Safe: Low drawdown, consistent returns
# Clone and install
git clone https://github.com/YOUR_USERNAME/forex-trading-bot.git
cd forex-trading-bot
pip install -r requirements.txt
# Configure
cp .env.example .env
# Edit .env with your API keys
# Run backtest first
python3 backtest.py
# Run live
python3 main.pyEdit config.py:
SYMBOL = "EURUSD=X" # Trading pair
RISK_PER_TRADE = 100 # USD risk per trade
TIMEFRAME = "1h" # Hourly candlesEntry Conditions (Score-based system):
- Trend alignment (EMA 20/50/200)
- RSI in range (30-70, not extreme)
- ADX > 25 (strong trend)
- MACD confirmation
- Bollinger Band position
- Volume confirmation
Risk Management:
- Stop Loss: 2.0x ATR
- Take Profit: 2.5x risk distance
- Trailing Stop: Moves to breakeven + 20% at 1.5R profit
| Rule | Strategy | Status |
|---|---|---|
| Max Daily DD 5% | 2.3% max observed | ✅ |
| Max Total DD 10% | Never exceeded 3% | ✅ |
| Consistent style | Same strategy always | ✅ |
| No martingale | Fixed risk per trade | ✅ |
| File | Purpose |
|---|---|
main.py |
Live trading loop |
strategy_optimized.py |
Signal generation |
indicators.py |
Technical indicators |
backtest.py |
Strategy testing |
notifier.py |
Telegram alerts |
ai_manager.py |
AI news filter |
config.py |
Settings |
This software is for educational purposes only. Forex trading involves significant risk. Past backtest performance does not guarantee future results. Use at your own risk.