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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.