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 อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน