Veronique Valcu's article "Z-Score Indicator" in Feb,2003 provided a description and commentary on a new method of displaying directional change normalized in terms of standard deviation. This indicator is realized in pine script here by using the following function code, adding vwap function, called vwap ZScore.
Function
This indicator has three input, "AvgLen", "Smooth1" and "Smooth2." Price is fixed in selected vwap price. AvgLen describes the length of the sample considered in the standard deviation calculation. Once created and verified, the function can be easily called in any indicator or strategy.
Inputs
AvgLen --> Length input for vwap Zscore. Smooth1 and Smooth2 --> Smoothing length.
Key Signal
Curve1 --> vwap ZScore output fast signal Curve2 --> vwap ZScore output slow signal
Avoid losing contact!Don't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq 防止失联,请立即行动,加入本猫聊天群: discord.com/invite/ZTGpQJq