ProRealTime documentation

Technical indicator Average Directionnal Index, usually known as ADX.

Calculation:

We first calculate +DM and -DM (the directional movement) , the number of points obtained in a direction. We apply a wilder moving average on +DM and -DM to calculate +DI and -DI. Then we calculate DX.

Dx = 100 x ((+DI) – (-DI)) / ((+DI) + (-DI)).

Finally to obtain ADX we apply again a wilder moving average on DX.

 

Syntax :

(more…)

Indicator Average Directional Index Rate, also known as “ADXR”. Compute with N periods :

ADXR formula : ADXR = (ADX + ADX[n]) / 2

 

Calculation of ADX :

We first calculate +DM and -DM (the directional movement) , the number of points obtained in a direction. We apply a wilder moving average on +DM and -DM to calculate +DI and -DI. Then we calculate DX.

Dx = 100 x ((+DI) – (-DI)) / ((+DI) + (-DI)).

Finally to obtain ADX we apply again a wilder moving average on DX.

(more…)

“AND” is the logical operator used to add different functions in the same expression.

 

Example:

 

Call of technical indicator Aroon for its Down value over N periods.

Syntax:

Calculation:

The indicator is composed of 2 lines, Aroon Up and Down that represent the number of days since the most recent x-period high for Aroon Up and x-period low for Aroon Down.

For example, if a stock market makes a new x-day high, the Aroon Up = 100; On the other hand, if a stock has not made a new high for x days, the Aroon Up = 0.

(more…)

Call of technical indicator Aroon for its Up value over N periods.

Syntax:

Calculation:

The indicator is composed of 2 lines, Aroon Up and Down that represent the number of days since the most recent x-period high for Aroon Up and x-period low for Aroon Down.

For example, if a stock market makes a new x-day high, the Aroon Up = 100; On the other hand, if a stock has not made a new high for x days, the Aroon Up = 0.

(more…)

ArrayMax

ProRealTime v11

Returns the maximum value contained in an array.

Syntax:

 

ArrayMin

ProRealTime v11

Returns the minimal value contained in an array.

 

Sort ASCEND or DESCEND (mode) of the whole data of an array

(more…)

Instruction used to name a line or indicator displayed on chart. Used with “RETURN”.

Example:

 

Return the arc sine of the value

(more…)


Top