Documentation

iSAR

The function returns the handle of the Parabolic Stop and Reverse system indicator. It has only one buffer.

int  iSAR(
   string           symbol,      // symbol name
   ENUM_TIMEFRAMES  period,      // period
   double           step,        // step increment
   double           maximum      // maximal stop level
   );

Parameters

symbol

[in] The symbol name of the security, the data of which should be used to calculate the indicator. The NULL value means the current symbol.

period

[in] The value of the period can be one of the ENUM_TIMEFRAMES values, 0 means the current timeframe.

step

[in]  The stop level increment, usually  0.02.

maximum

[in]  The maximal stop level, usually 0.2.

Returned value

Returns the handle of a specified technical indicator,  in case of failure returns INVALID_HANDLE. The computer memory can be freed from an indicator that is no more utilized, using the IndicatorRelease() function, to which the indicator handle is passed.