OPEN-SOURCE SCRIPT

Date-selected Synch and Compare Script Module [yoxxx]

This Script is a Convenience Script Module for calculations based or started on a fix time / date.
(In difference to bar_index-based where the reference point is shifting from bar to bar, thus is dynamic).

Purpose examples:
- Comparison by start date
- Time driven studies or strategies
- Measuring from Date of Interest

The script also contains a date input box with the feature of auto-converting the default time to local user time (a newer feature of Tradingview which too me a lot of research to find; so here integrated).
Last not least it the module gives you a ready to go example for multi security comparison on percentage scale with a free selectable start date.

Enjoy
Yoxxx

P.S:. For further notes look at the script code.
They are concerning usage and how avoiding some strange display issues.
comparisonDATEdate_conversionpercentage-scalesynchronisationTrend 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