OPEN-SOURCE SCRIPT
Correlation Heatmap with Relative Strength

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?
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, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.