ProRealTime documentation

Closes positions, cancels pending orders and prevents placement of additional orders before the time of day specified (in hours, minutes and seconds) in the user’s time zone.

Syntax:

 

FLOOR

ProRealTime v11

Returns integer numeric value closest from below.

Syntax:

“digits” is optional. It is the number of digits after decimal point.

FOR loop (processes all the values with an ascending “TO” or a descending order “DOWNTO”)

Syntax:

 

Example 1:

Example 2:

Build a moving average fishnet (guppy) dynamically with 2 loops:

 

Return value for the ForceIndex technical indicator for the price selected.

This indicator need volume values.

Syntax:

Calculation:

Force Index=(today’s close-yesterday’s close)*Volume.

(more…)

FractalDimensionIndex

ProRealTime v11

Returns the FDI (Fractal Dimension Index) indicator value.

Syntax:

Where:

  • period: period of calculation of the indicator, (default period is 30)
  • price: applied price

(more…)

Returns the current timeframe in seconds. (more…)

GRAPH

ProRealTime v10.2

Instruction to display the historical values of ProBacktest variables on charts. It can be use many times on the same ProBacktest strategy, all values will be displayed on the same window chart.

Syntax :

GRAPH instructions can also be ‘coloured(R,G,B)’ like any other variable returned as a graphical object.

(more…)

GRAPHONPRICE

ProRealTime v10.2

The GRAPHONPRICE instruction lets you display the values of variables you use in your ProBacktest program (“myvariable” in the example below) at the close of each bar on the price chart.

Syntax:

(more…)

High of the current bar or of the last N one.

Syntax:

 

Return the value of the highest price over a number of N bars of the defined price.

Syntax:

 

Example:

 


Top