OPEN-SOURCE SCRIPT

Correlation Heatmap with Relative Strength

445
Why the error happened:
In Pine Script, strings are joined using +. My previous draft had a typo that looked like standard1 - "-" + standard2. The compiler saw the minus sign (-) and tried to do math on words, which is like trying to subtract "Apple" from "Banana." Replacing it with standard1 + "-" + standard2 fixes the ticker ID generation.

Would you like me to add a tooltip that explains how to read the Pearson correlation values for anyone who downloads your script?

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。