OPEN-SOURCE SCRIPT
Updated PineConnector - Adding alert() and plotshape()

This is a sample script is to assist PineConnector users to set up their alerts.
Please include the plotshape function to have a visual on when alerts fire.
Please include the plotshape function to have a visual on when alerts fire.
Release Notes
Instead of one example, you have 5 options to choose from ranging from basic to intermediate.Please add either of the 5 options in your script and change the license ID to your preassigned ID.
Option 1: Basic (only risk paramter, static)
Option 2: Basic (only SL and risk paramters, static)
Option 3: Basic (SL, TP and risk paramters, static)
Option 4: Intermediate (dynamic SL and static risk)
Option 5: Intermediate (dynamic SL and TP, static risk)
Release Notes
Fixed typoRelease Notes
Added option 6 and 7 with BreakEven and Trailing SL respectively.Release Notes
Added Option 8 for a sample Buy Stop and Sell Stop Pending OrdersRelease Notes
1) Changed to Version 5, from Version 42) Added Option 9: Sending multiple alerts when conditons are met
Release Notes
Added plotshape codes – recommended additon to your scripts to know when alerts will fireAdded Option 0 – hardcoded symbol
Release Notes
Added Option 3b to showcase how comments can be added.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Automate your trading with Tradingview alerts to Metatrader 4/5 using webhooks.
Start your 14-day free trial now @ pineconnector.com/. Credit card not required.
Start your 14-day free trial now @ pineconnector.com/. Credit card not required.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Automate your trading with Tradingview alerts to Metatrader 4/5 using webhooks.
Start your 14-day free trial now @ pineconnector.com/. Credit card not required.
Start your 14-day free trial now @ pineconnector.com/. Credit card not required.
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.