OPEN-SOURCE SCRIPT
🧠 Aggressive RSI + EMA Strategy with TP/SL

⚙️ How It Works
RSI-Based Entries:
Buys when RSI is below 40 (oversold) and trend is up (fast EMA > slow EMA).
Sells when RSI is above 60 (overbought) and trend is down (fast EMA < slow EMA).
Trend Filter:
Uses two EMAs (short/long) to filter signals and avoid trading against momentum.
Risk Management:
Default Take Profit: +1%
Default Stop Loss: -0.5%
This creates a 2:1 reward-to-risk setup.
📊 Backtest Settings
Initial Capital: $10,000
Order Size: 10% of equity per trade (adjustable)
Commission: 0.04% per trade (Binance spot-style)
Slippage: 2 ticks
Tested on: BTC/USDT – 15min timeframe (suitable for high-frequency scalping)
Trade Sample: [e.g. ~220 trades since Jan 2023] (Adjust this based on your actual results.)
🔔 Features
Built-in alerts for buy/sell signals
Visual chart plots for entry/exit, RSI, EMAs
Customizable inputs for RSI thresholds, TP/SL %, EMA lengths
💡 Why It’s Unique
Unlike many RSI systems that trade blindly at 70/30 levels, this strategy adds a trend filter to boost signal quality.
The tight TP/SL configuration is tailored for scalpers and intraday momentum traders who prefer quick, consistent trades over long holds.
RSI-Based Entries:
Buys when RSI is below 40 (oversold) and trend is up (fast EMA > slow EMA).
Sells when RSI is above 60 (overbought) and trend is down (fast EMA < slow EMA).
Trend Filter:
Uses two EMAs (short/long) to filter signals and avoid trading against momentum.
Risk Management:
Default Take Profit: +1%
Default Stop Loss: -0.5%
This creates a 2:1 reward-to-risk setup.
📊 Backtest Settings
Initial Capital: $10,000
Order Size: 10% of equity per trade (adjustable)
Commission: 0.04% per trade (Binance spot-style)
Slippage: 2 ticks
Tested on: BTC/USDT – 15min timeframe (suitable for high-frequency scalping)
Trade Sample: [e.g. ~220 trades since Jan 2023] (Adjust this based on your actual results.)
🔔 Features
Built-in alerts for buy/sell signals
Visual chart plots for entry/exit, RSI, EMAs
Customizable inputs for RSI thresholds, TP/SL %, EMA lengths
💡 Why It’s Unique
Unlike many RSI systems that trade blindly at 70/30 levels, this strategy adds a trend filter to boost signal quality.
The tight TP/SL configuration is tailored for scalpers and intraday momentum traders who prefer quick, consistent trades over long holds.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。