ZScore is a statistical function that indicates the number of standard deviation an item is above or below the average.

 

Syntax:

ZScore ( series, bars )

 

Parameter:

Description:

series

Name of data series

bars

Number of bars over which to find the Z-Score value.

 

Returns:

Z-score value.

 

Example:

'  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'  Update Indicators Script
'  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'  Bar_ Count = 21 - Parameter - Lookback enabled
'  Calculates Number of Std. Deviation Above & Below Averag
ZScoreClose = ZScore( instrument.close, Bar_Count)      
'  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

OR:

ZScore_Close_AD_21-Bar_Dialog

Chart Display:

Click to Enlarge; Click to Reduce.

Z-Score indicator values at each price change location.

 

Links:

 

 

See Also:

 

 


Edit Time: 9/26/2020 1:32:06 PM


Topic ID#: 657

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software