OPEN-SOURCE SCRIPT

Z-Score Delta

Heavily modified from Z Score by jwammo12

Compares the z-score of two assets, the onscreen one and the reference one configured. If you're familiar, you can think of it as Bollinger Band Percent of Onscreen Asset minus the Bollinger Band Percent of Reference Asset.

It's compared off a simple moving average, due to how standard deviation is calculated.

I view this a more literal meaning of relative strength.
Has the ability to offset or delay in time one to another.

TODO: add MAD and MAD/STD.DEV views
Not my greatest work, but it's functional.
Bollinger Bands (BB)Relative Strength ComparisonRelative Strength Index (RSI)Standard Deviation (Volatility)z-score

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer