ProRealTime documentation

Mathematical function “Arctangent” of a value.

Syntax:

Simple Moving Average (MA) of N periods.

Syntax:

Average instruction can be extend with a second parameter under brackets to modify the arithmetic calculation of the average :

Where M can be set with any of these values, to return the specific moving average calculation:

0 = SMA

1 = EMA

2 = WMA

3 = Wilder

4 = Triangular

5 = End point

6 = Time series

7 = Hull (PRT v11 only)

8 = ZeroLag  (PRT v11 only)

(more…)

Technical indicator “Average True Range”, also usually named as “ATR”

Syntax:

Calculation :

This represents the volatility of a stock.

True range is the highest data in absolute value among :

(today’s high – today’s low)

(today’s high – yesterday’s close)

(today’s low – yesterday’s close)

 

To calculate the Average True Range, it is necessary to apply a Wilder moving average of the True Range.

(more…)

BACKGROUNDCOLOR

ProRealTime v10.3

Color the background of chart with R,G,B,alpha values.

Syntax:

(more…)

Return the number of bars since the beginning of data loaded (in a chart in the case of a ProBuilder indicator of for a trading system in the case of ProBacktest or ProOrder)

Syntax:

 

Returns the number of candlesticks passed since the last true condition. (more…)

Return the “Bollinger Band Width” technical indicator value.

The Bollinger band width is calculated by making the difference of the upper and lower band of the original Bollinger Band indicator. High volatility means high value of the indicator.

Syntax:

Calculation :

Indicator = ((Boll+) – (Boll-)) / moving average

This indicator is calculated with the bollinger bands. It helps indicate if the market is in a strong trend or not.

(more…)

Return value of the Lower Bollinger band technical indicator.

Syntax:

Calculation :

Bollinger bands are enveloppes based on a moving average and a standard deviation.

This standard deviation makes bands widen or narrow, according to market volatility. The first parameter is the number of days for the moving average. Second parameter is the standard deviation.

(more…)

Return value of the Upper Bollinger band technical indicator.

Syntax:

 

Example:

 

Instruction forcing the exit of “FOR” loop or “WHILE” loop.

Syntax:

 

Example:

 


Top