OPEN-SOURCE SCRIPT

Bbhafiz ALERT SIGNAL

85
📌 Indicator Overview

Uses EMA20 & EMA50 to detect trend direction and identify crossover/crossunder points.

RSI filter (default ON) to improve accuracy — BUY only when RSI > 50, SELL only when RSI < 50.

Displays a BUY label below the candle and a SELL label above the candle when signals appear.

AlertCondition added so TradingView can send push notifications, pop-ups, or emails when a signal appears.

⚡ Main Logic:

BUY → EMA20 crosses above EMA50 + RSI > 50 (if filter is ON) + price above EMA20.

SELL → EMA20 crosses below EMA50 + RSI < 50 (if filter is ON) + price below EMA20.

🎯 Advantages of This Version:

No need to stare at the chart — alerts will notify you when a valid setup appears.

Can be used for scalping (M1, M5) or swing trading (H1, H4).

Perfect for busy traders since alerts only trigger on confirmed setups.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.