Psych (Function)

image\trumpet2.gif Disclaimer

The Psych series function calculates the ratio of up bars (current Price higher than previous) over a specified number of bars.

Syntax

Psych(Price, Length)

Returns (Double)

A numeric value of the Psych ratio (0 to 100) for the current bar.

Parameters

Name Type Description
Price Numeric Specifies which bar value (price, function, or formula) to be considered.
Length Numeric Sets the number of bars to consider for the function.

Remarks

The value for the Length input parameter should be a number greater than 0.