OPEN-SOURCE SCRIPT

Momentum MA RSI Breakout

88
Moving Averages (EMA 9 & EMA 21):

Fast EMA crossing above Slow EMA = Bullish Trend
Fast EMA crossing below Slow EMA = Bearish Trend
RSI-Based Buy/Sell Signals (14-period RSI):

RSI crosses above 30 → Buy signal
RSI crosses below 70 → Sell signal
Breakout Alerts (20-period lookback):

Price breaks above the highest high in the last 20 bars → Breakout Up
Price breaks below the lowest low in the last 20 bars → Breakout Down
Visual Enhancements:

Green/Red background for strong buy/sell signals
Up/Down triangles for breakout alerts
Alerts for key events

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.