OPEN-SOURCE SCRIPT

[Mad] Active Line

Updated
This is a simple line tool that can give you active feedback based on the closing price.

It is intended for a live chart whose ticker is not changed by the user every 10 minutes, like a general overview of an asset in a higher time frame.

What can it provide:
Price difference from the price to the line
Price at the current collision point

How to use it:
When opened, it requests 2 input points from you.
After you set these 2 points, it will set the "Active Line" for you, like the normal TV line.

One thing to know is that you can't place into the future, so "extend" is always on by default.

and as always, have fun trading the assets up and down :-)
Release Notes
added alerts
Release Notes
Additional customisation
width color and active/deactive per item
Release Notes
Log compensation, (thanks to Bjorgum for the hint also to log the time not only the price)

Code cleanup
Release Notes
removing unused function
Release Notes
minor change
-selectable extension direction
Release Notes
typo ..
linesPine utilitiestool

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


djmad|Bitblockart

Disclaimer