Documentation / Instructions

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:

 

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

Syntax:

 

Example:

 

CalculateOnLastBars

ProRealTime v10.3

Purpose of this instruction is to avoid computer memory consumption by limiting the bars quantity use in indicator calculation.
This parameter increases the speed at which an indicator will be calculated by defining the number of bars that will present the result.
Syntax :

“CALL” is an instruction made for calling value of user indicator. Add under brackets as many parameters the personal indicator have.

Syntax:

If the personal indicator returns more than one value from its RETURN instruction, the CALL function should be coded like this:

(case of an indicator that return 3 values)

3 variables are set from the the 3 returns variables of the custom indicator “myIndicator”.

Continue reading “CALL” »

Colors a curve with the color you defined using the RGB convention.

Syntax:

The expression COLOURED must be place just after the value name :

Since the prorealtime version 10.3, it is also now possible to add “alpha” value for transparency purpose:

Syntax (v10.3) :

Alpha value varies from 0 to 255.

 

RGB color samples :

ProRealTime colors

 

 

 

 

 

 

Continue reading “COLOURED” »

Boolean Operator checking whether a curve has crossed over another one.

Syntax:

 

Example:

Boolean Operator checking whether a curve has crossed under another one.

Syntax:

Example:

Sums a certain price on the whole data loaded.

Syntax:

 

Optional instruction in a FOR / NEXT loop and WHILE loop to define the actions to occur in the loop.

Syntax:

Example:

 

Instruction use in a FOR / NEXT loop to process the loop with a descending order

Syntax:

 

Example:


Top