OPEN-SOURCE SCRIPT

MACD + RSI

114
This strategy combines the MACD (12, 26, 9) and Slow Stochastic (14, 3, 3) indicators to capture trend-following opportunities on Tesla's 5-minute chart. It is designed to perform best during trending market conditions, where momentum confirmation improves trade precision.

Buy signals occur when MACD crosses above its signal line and the Stochastic %K crosses above %D from below the 20 level. Sell/exit signals trigger when either MACD crosses below its signal line or Stochastic crosses down from above 80.

**Backtest Results (Tesla, 5-min chart):**
- Total P&L: +$224,725
- Win Rate: 50.00% (29 out of 58 trades)
- Profit Factor: 1.86
- Max Drawdown: $60,808.48 (4.81%)
- Time Frame: Intraday (5-min), Strategy Period ~60 trades

This script is most effective during clear upward or downward momentum phases. For optimal use, avoid ranging/choppy market conditions.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.