ProRealTime documentation

Mathematical function “squared root” of “a” value.

Syntax:

 

Mathematical function “squared” of “a” value.

Syntax:

 

Statistical function “standard deviation” of a time series N of selected price.

Syntax:

Calculation :

STD = SQUAREROOT[(summation(from d = 1 to n)(Close-Moving average on n days)²]

(more…)

Statistical function “standard error” of time series of N periods for the selected price.

Syntax:

 

Interpretation :

This indicator allows us to know if prices are close to the linear regression line or not. The closer they are, the more the trend is reliable.

On the other hand, the further away they are the less reliable is the trend.

This indicator is often used in relation to R² so as to interpret trend reversales more easily.

We can observe that when the two indicators start from opposite levels and converge, there is usually a change of trend taking place – either a new phase of consolidation and/or possibly a phase of reversal.

 

Example:

 

Return value of the Stochastic oscillator %K line over N periods of the selected price serie.

Syntax:

Calculation :

The first parameter is the number of days used to calculate %K, the second is the number of days to be considered for the moving average of %K (generally 1 for Fast Stochastic and 3 or 5 for Slow Stochastic), the third is the number of days to be considered for the moving average of %D.

“price1”, “price2” and “price3” are optional. By default the stochastic will be calculated with Close on the High/Low scale (same as the internal platform indicator). But you can adjust it with any other price or data series (e.g. Stochastic[N,K](close,close,close) or Stochastic[N,K](var1,var2,var3) )

(more…)

StochasticD

ProRealTime v11

Returns the Stochastic D (signal line) from the stochastic oscillator indicator.

Syntax:

Where:

  • period= calculation period of the stochastic oscillator (default period is 14)
  • %Kperiod= moving average period used to smoothed the stochastic value (default is 3, 1=Fast, 3=Slow)
  • %Dperiod= smoothed period of the signal line of the stochastic oscillator
  • “price1”, “price2” and “price3” are optional. By default the stochasticD will be calculated with Close on the High/Low scale (same as the internal platform indicator). But you can adjust it with any other price or data series (e.g. StochasticD[N,K](close,close,close) or StochasticD[N,K](var1,var2,var3) )

(more…)

Lets you place a stop for the current position(s).

You may have a look at different kind of “SET STOP LOSS” function in the documentation.

Syntax:

 

 

Instruction introducing a stop order in x units. Pending orders must be re-placed at each new bar.

Syntax:


Example :

 

Current profit made by the closed trades of the running strategy.

Syntax:

 

STYLE

ProRealTime v10.3

The “STYLE” keyword defines the styles of any returned values of an indicator. It is intended to styling programmatically instead of do it manually in the indicator window.

This keyword is located right after the optional keyword “COLOURED” and before the “AS” one.

Syntax:

Styling options available :

  • LINE : draw plain continuous line (default style)
  • DOTTEDLINE : draw a dotted line
  • DOTTEDLINE1: draw a dotted line with a different style (see below)
  • DOTTEDLINE2: draw a dotted line with a different style (see below)
  • DOTTEDLINE3: draw a dotted line with a different style (see below)
  • DOTTEDLINE4: draw a dotted line with a different style (see below)
  • HISTOGRAM : draw an histogram
  • POINT : draw a point series

(more…)


Top