Thinkscript for ThikorSwim (TOS)
Budget: $30 – $250 USD
I am looking for a Thinkscript that replicate the PriceRatio plot study, that shows the R-squared from a regression line.
See the example attached. It's a PriceRatio study plot with AMZN vs SPY, with a regression line drawn. By default I am able to see some data (number of days, bars, return, etc.). I want to also see the R2 using ad length the number of days of the line (in this example: 413).
Best
See the example attached. It's a PriceRatio study plot with AMZN vs SPY, with a regression line drawn. By default I am able to see some data (number of days, bars, return, etc.). I want to also see the R2 using ad length the number of days of the line (in this example: 413).
Best
Related categories:
Scripting