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:

ZScore_Close_AD_21-Bar

 

Links:

 

 

See Also:

 

 


 

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