PineCoders

Alert Creation Framework - PineCoders FAQ

This script provides a framework to add alerts to a script.

It uses a method and provides code that:
— Allows the indicator's users to select the plotting of markers representing the different conditions used to trigger alerts.
— Allows filtering of the markers on direction: both, longs only, shorts only.
— Uses a single alert for the indicator. It will trigger on any number of marker conditions selected by the user when the alert is configured. The user can thus create the combination that suits his needs.
— Includes the marker's number in the alert's message.

NOTES
— Alerts should usually be configured to trigger Once Per Bar Close to prevent false signals.
— See the Pine User Manual page on alerts.
— This code uses the Pine Script Coding Conventions.
Remove from Favorite Scripts Add to Favorite Scripts

Comments

Hi
I did implemented code in my code and getting sometimes 1,2 or 3 in same place, is there any way where plotshape can be shown one under the other if I get 2 signals same time in my oscilator?
Reply
@CUBYC, Hi, Yes, you could use a technique like this one: http://www.pinecoders.com/faq_and_code/#how-can-i-lift-plotshape-text-up
Copy the whole snippet in your editor and you'll see the special character used to lift the lines up.
+1 Reply
CUBYC PineCoders
@PineCoders, I will try that , thank you so much for getting back to me.
Reply
Top notch quality as usual, thanks pinecoders!
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works 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 Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out