ProRealTime documentation

Returns the offset of the candlestick with the highest value. (more…)

Return value of the realized historic volatility over N periods of selected price.

Syntax:

Calculation:

To calculate this indicator, we must choose the period (the last 20 days for example). Then we calculate the variation of every day during this period. Then we calculate the napierian logarithm and the variation on this data.By extrapolation, we obtain the historic volatilily in %.

Interpretation:

When volatility is important, a trend reversal could be taking place.

 

Example:

 

Represents the hour of each N bar loaded in the chart.

Syntax:

 

Example:

 

HullAverage

ProRealTime v11

Returns the Hull Moving Average value.

Syntax:

Where:

  • period= calculation period of the Hull Moving Average (default period is 20)
  • price= applied price for the calculation of the HMA (default is Close)

(more…)

Instruction used for building conditionnal statement.

Syntax:

 

Example:

 

Counts how many bars are displayed in one day on the whole data loaded within N shifting. Count start from O.

Syntax:

 

Example:

intradaybarindex

IsLastBarUpdate

ProRealTime v11

On an indicator, this function returns 1 on candlesticks updated in real-time (or the last candlestick on a closed instrument), otherwise it returns 0.

On a backtest, this function returns 1 starting at the date the backtest was started. It is equal to 0 on the historical data preloaded by the backtest (PreLoadBars).

(more…)

IsSet

ProRealTime v11

Returns 1 if the index of the array has already been set in the code, otherwise returns 0.

Syntax:

where $MyArray is the variable array name and “Index” the index number to check.

KeltnerBandCenter

ProRealTime v11

Returns the Keltner Band center line value.

Syntax:

Where:

  • period= calculation period of the Keltner Band

(more…)

KeltnerBandDown

ProRealTime v11

Returns the Keltner Band lower line value.

Syntax:

Where:

  • period= calculation period of the Keltner Band

(more…)


Top