Sqr

Sqr ( double value );

Description

Calculates the square of an argument.

Input parameters

Parameter Default value Description
value - Defines number whose square is calculated.

Example

declare lower;
plot Data = Sqr(StDev(close, 10));

The example draws the variance of close for the last 10 bars. Variance by definition is a square of the standard deviation.