ProRealTime documentation

Set a stop loss of x €,$ (in the currency of the instrument).

Syntax:

 

Example :

 

Set a target profit of x €,$ (in the currency of the instrument).

Syntax:


Example :

 

Set a trailing stop of x €,$ (in the currency of the instrument).

Syntax:

 

Example:

We are setting here a trailing stop at 100$ from the current average price

 

Set a stop loss x% from the average position price.

Note: the % loss is calculated and placed individually for each order with IG or PRT-CFD.

Syntax:

 

Example :

 

Set a target profit x% from the average position price.

Note: the % profit is calculated and placed individually for each order with IG or PRT-CFD.

Syntax:

 

Example :

 

Set a trailing stop x percent from average position price.

Syntax:

(more…)

ABS is the mathematical function “Absolute Value” of a number.

Example:

Return values are :

 

AccumDistr is the classical Accumulation/Distribution indicator.

Use :

 

The accumulation/distribution of price is calculate that way :

 

The indicator balances volumes using the closing price reported at the extreme points of the trading day.

It must confirm the stock trend in progress by moving in the same direction as the stock trend. A divergence between prices and Accumulation/Distribution is often a signal that the current trend may reverse. (more…)

Return the cosine arc of the value

(more…)

AdaptiveAverage

ProRealTime v11

Returns the Adaptive Moving Average (AMA) indicator.

Syntax:

Where:

  • MAperiod: calculation period of the Adaptive Moving Average (default period is 9)
  • fastSC: fast moving constants period used by the adaptive function
  • slowSC: slow moving constants period used by the adaptive function
  • price: applied price

(more…)


Top