Custom Alert Message With alertcondition Example [BigBitsIO]

This was a follower suggested script. This script shows an example of how to create a custom alert message using the alertcondition() function in pine.

- Well documented code with links to documentation for specific functions.
- Two alertconditions in a different order than the plots they reference to show the importance of plot IDs.

In order to actually get an alert with this script, you must create an alert through TradingView and reference this indicator and then reference the specific alert condition you want that alert to use.

For more information, contact me on social media or check YouTube for the associated video.

*** DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB. ***
Release Notes: I added some comments.
Release Notes: Update to include examples of referencing plot values by their name instead of their ID. With this method, you shouldn't have to worry about what order you plot data to reference later. Details in the script comments.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
Like and follow!

💻 Website:
📺 YouTube:
🎮 Discord:
🐦 Twitter:
💸 Save $30 on TradingView Paid Plan:


Great job mate! ...
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out