OPEN-SOURCE SCRIPT

Strong BUY/SELL with BB + RSI + MACD (with alerts)

23
alertcondition() doesn’t fire alerts by itself — it enables the alert in TradingView’s alert menu.

Once you add this script to a chart, you can go to Alerts → Create Alert → Condition → (your script name).

You’ll see BUY Signal and SELL Signal in the dropdown.

You can then choose notification type: popup, email, SMS, app push, or webhook (for bots)

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.