This indicator calculates and visualizes z-scores to compare the valuation of an asset (the charted symbol) against gold, bonds, and either its own price or USD (depending on the isCurrency input). A z-score measures how many standard deviations a value is from its mean over a specified lookback period (default: 200 bars).
Horizontal Lines:
0 (Zero Line): The mean value of the z-score. +1 (Overvalued Threshold): One standard deviation above the mean. -1 (Undervalued Threshold): One standard deviation below the mean.