OPEN-SOURCE SCRIPT

Bbhafiz ALERT SIGNAL

99
📌 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.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。