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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。