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?

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.