OPEN-SOURCE SCRIPT
13 EMA Cross + RSI 50 = Buy / Sell

13 EMA Cross + RSI 50 Description:
A simple yet effective signal indicator combining price action, a dynamic EMA level, and RSI momentum confirmation.
How it works:
🟢 Buy Signal = A bullish candle opens below the 13 EMA and closes above it, confirming a momentum shift to the upside. The signal is only valid when RSI has crossed above the 50 level within the last 1–2 candles, confirming that momentum is turning bullish.
🔴 Sell Signal = A bearish candle opens above the 13 EMA and closes below it. The signal is only valid when RSI has crossed below the 50 level within the last 1–2 candles, confirming bearish momentum.
Why this combination works:
The 13 EMA candle cross filters out noise by requiring price to actually close on the opposite side - not just touch the EMA. The RSI 50 cross filter ensures you are not catching signals in exhausted moves, but rather at the early stage of a momentum shift.
Best used on: 1H timeframe | Crude Oil (MCX) | Natural Gas (MCX) | Nifty 50
Settings:
EMA Length - default 13
RSI Length - default 14
RSI Lookback - how many previous candles RSI must have been on the opposite side of 50 (default 2)
This indicator is for educational purposes. Always use proper risk management and position sizing.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.