OPEN-SOURCE SCRIPT
Scalping 15min: EMA + MACD + RSI + ATR-based SL/TP

๐ Strategy: 15-Minute Scalping โ EMA + MACD + RSI + ATR-based SL/TP
This scalping strategy is designed for 15-minute charts and combines trend-following and momentum confirmation with dynamic stop loss and take profit levels based on volatility.
๐ง Indicators Used:
EMA 50 โ identifies the main trend
MACD Histogram โ confirms momentum direction
RSI (14) โ filters overbought/oversold conditions
ATR (14) โ dynamically sets SL and TP based on market volatility
๐ Entry Conditions:
Long Entry:
Price is above EMA 50
MACD histogram is positive
RSI is above 50 but below 70
Short Entry:
Price is below EMA 50
MACD histogram is negative
RSI is below 50 but above 30
๐ Risk Management:
Stop Loss: 1รATR (user-configurable)
Take Profit: 2รATR (user-configurable)
These values can be adjusted in the script inputs depending on your risk/reward preference or market conditions.
โ ๏ธ Notes:
Strategy is optimized for scalping fast-moving pairs (e.g. crypto, forex).
Works best in trending markets.
Use backtesting and forward testing before live trading.
This scalping strategy is designed for 15-minute charts and combines trend-following and momentum confirmation with dynamic stop loss and take profit levels based on volatility.
๐ง Indicators Used:
EMA 50 โ identifies the main trend
MACD Histogram โ confirms momentum direction
RSI (14) โ filters overbought/oversold conditions
ATR (14) โ dynamically sets SL and TP based on market volatility
๐ Entry Conditions:
Long Entry:
Price is above EMA 50
MACD histogram is positive
RSI is above 50 but below 70
Short Entry:
Price is below EMA 50
MACD histogram is negative
RSI is below 50 but above 30
๐ Risk Management:
Stop Loss: 1รATR (user-configurable)
Take Profit: 2รATR (user-configurable)
These values can be adjusted in the script inputs depending on your risk/reward preference or market conditions.
โ ๏ธ Notes:
Strategy is optimized for scalping fast-moving pairs (e.g. crypto, forex).
Works best in trending markets.
Use backtesting and forward testing before live trading.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.