OPEN-SOURCE SCRIPT

Date-selected Synch and Compare Script Module [yoxxx]

3 433
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.

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.