OPEN-SOURCE SCRIPT

Responsive Comparison Line by Symbol

This script allows you to specify a security to overlay on your chart when viewing a certain symbol. The line will only show on that symbol, change symbols and it will disappear. I found that adding more than 4 lines will slow load time significantly, however if you can code it to be faster please let me know!

All credit to gyromatical, a good samaritan.
comparisonoverlayTrend Analysis

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?

Disclaimer