ProRealTime documentation

Allows you to set a protective stop at the entry price of the current position (SET STOP)

or a protective target in case of a position in loss (SET TARGET)

(more…)

Instruction to open a long position.

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”.

(more…)

Amount of cash used in the position.

Syntax:

 

Return the value of the CCI technical indicator “Commodity Channel Index”.

Syntax:

Calculation :

CCI calculates the distance between a price and its average over x days divided by 1.5% of the mean absolute deviation.

CCI = (Price – MM) / (0.015*D)

 

Where :

Price (Typical Price by default, but can be any Price type) = (H+L+C) / 3

MM = moving average on M with n days

D = standard deviation on the moving average

(more…)

CEIL

ProRealTime v11

Returns the integer numeric value closest from above.

Syntax:

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

Return the Chaikin oscillator technical indicator value.

Syntax:

Calculation :

The Chaikin Oscillator is created by substracting an x period exponential moving average of the Accumulation Distribution Line from a y period exponential moving average of the Accumulation Distribution Line.

(Default values are : x = 10 ; y = 3).

(more…)

Return value of the technical indicator “Chande Kroll Stop” upper band, usually used for placing stoploss on long positions.

Syntax:

This indicator is a potential stop for a long position. It is displayed as a green line overlaid on the price chart. The green line is the stop level for a long position.

Calculation :

First low stop = Lowest[p](low) + x * Average True Range[p]

Stop long = Lowest[q](first low stop)

(more…)

Return value of the technical indicator “Chande Kroll Stop” upper band, usually used for placing stoploss on short positions.

Syntax:

This indicator is a potential stop for a short position. It is displayed as a red line overlaid on the price chart. The red line is the stop level for a short position.

Calculation :

First high stop = Highest[p](high) – x * Average True Range[p]

Stop short = Highest[q](First high stop)

(more…)


Top