TrendLines with Alerts

This isn't my own work, hence giving it in Open Source library for others to benefit from it too.

I have tried to refin the output of trendlines in this Strategy

The original Code is available at
The script needs some modifications, so I'll be making further updates in future, but for now I'm publishing this because most people don't know how to track trandlines, moreover, some use Line.New() by tradingview Pinescript, which again is a bit difficult to deal with.

This script is a basic version of trendlines on a certain angle (anglecheck was provided by the original author in his script).

Nothing fancy in this script.

Also Converted the original Script to Pinescript v4.
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?


Hi friend! Do you know any script that uses line.new() function for alerts? Thank you and great
pune3tghai thesickone470
@thesickone470, I actually made the script for this very particular reason. TV's pinescript doesn't really support alerts from line.new() but you can contact pinescripters community on Telegram and see if someone knows of any update regarding it. I have given link to the original script though, so best of luck.
Thanks mate, I don't know much about Renko chart. I am from Hoshiarpur Punjab India
Good work. Exploring the idea and sharing with others shows who humble you are. 🎩 off to you.
pune3tghai Kirandeepc
@Kirandeepc, Thanks Mate, try other indicators, specially Renko series and you'll actually benefit from it. :)
cybersecbuve pune3tghai
@pune3tghai, hello, where do I get those renko series you mentioned? thanks in advance for your answer
pune3tghai cybersecbuve
@cybersecbuve, You can check it under my published Scripts section, if you haven't found it yet.
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 Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out