Zscore Indicator Suite
In statistics, the Zscore tells us the number of standard deviations by which the value of a raw score is above or below the mean value of what is being observed or measured. In trading the Zscore tells us the number of standard deviations by which the value of price is above or below a moving average of choice. For example a Zscore of 1.5 in a period of 20 tells us the closing price is currently 1.5 x standard deviations above the 20 period Moving Average.
The ZscoreSuite offers to calculate & illustrate the Zscore not only of Price, but of Moving Averages and Standard Deviations in the form of an Oscillator combined with a moving average of the Zscore which serves as a signal line to better determine entries or exits when these two cross.
The following 3 modes are available:
1) 1st ScreenShot ~ Classic (Calculates ZScore of Price), in this mode you can see whether price is above or below the mean average (period of your choice) determined by a + or - value. The value itself represents a Standard Deviation multiplier. In essence it tells you how much Price is currently deviated from such Moving Average.
2) 2nd Screenshot ~ Average (Calculates the ZScore of an Average, instead of price) in this mode you can see whether an Average of your choice (ideally a short period moving average), instead of Price, is above or below the mean average (A slow moving average, period of your choice) determined by a + or - value. The value itself represents a Standard Deviation multiplier. In essence it tells you how much a Short Period Moving Average is currently deviated from the Long Period Moving Average. The idea here was to eliminate noise of price by using an average instead of Price itself. In this mode one can easily identify Moving Average Crossovers since any crossing of the ZERO line signifies a crossing of the averages.
3) 3rd Screenshot ~ ZDev (Calculates ZScore of Standard Deviation), in this mode you can see whether the actual Standard Deviation is above or below the mean average of the Standard Deviation (period of your choice) determined by a + or - value. The value itself represents a Standard Deviation multiplier. In essence it tells you how much the Standard Deviation is currently deviated from the Average. A low reading of below -1.00 simulates the Bollinger Band Squeeze, a time of price consolidation that is bound to break. Ideally you want to enter trades when the ZDEV is increasing. Strategies where price is trending sideways will benefit when the ZDEV is decreasing as it signifies price entering consolidation mode.
If the concept of Standard Deviations & ZScore is new to you, I highly recommend you visit my website at fxbabatrading.com where I explain in details these and other concepts related to the use of statistics in trading.
I would like to give credits to: Brian Twomey, FX trader & author, without whom I would be clueless about ZScore & statistics in trading and to Igor Durkin, Master MQL developer, without whom this project would not have been completed.
Added Alerts for zero crossings, signal crossings and Level crossings