ProRealTime documentation

DonchianChannelCenter

ProRealTime v11

Returns the Donchian channel middle line (mean of the highest High and lowest Low of the last X periods).

Syntax:

Where “period” is used to determine the middle line price between the current bar and period bars ago.

(more…)

DonchianChannelDown

ProRealTime v11

Returns the Donchian channel lower line (lowest low of last X periods).

Syntax:

Where “period” is used to determine the lowest Low price between the current bar and period bars ago.

(more…)

DonchianChannelUp

ProRealTime v11

Returns the Donchian channel upper line (highest high of last X periods).

Syntax:

Where “period” is used to determine the highest High price between the current bar and period bars ago.

(more…)

Return the open value of the Daily timeframe of the N bar before the current one.

Syntax:

 

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

Syntax:

 

Example:

Return value of the Detrented Price Oscillator technical indicator over N periods.

Syntax:

Calculation of a DPO (n period)

First, calculate the (n period) moving average

Then it is necessary to move back the data of this average of n/2+1) days ago.

Indicator DPO is finally : (close – Data of the moving average (n/2+1) days ago).

This indicator reduces the price trend and cycles become more visible.

While visualizing the tops and the bottoms, the DPO emphasizes the cycles.

 

Example:

 

DRAWARROW

ProRealTime v10.3

Graphical instruction to draw an horizontal arrow pointing to the right side of the chart.

Syntax:

where “x1” is the Barindex and “y1” the price or the vertical axis value.

(more…)

DRAWARROWDOWN

ProRealTime v10.3

Draw a downside arrow on chart on x,y coordinate.

Syntax:

Coloured is optional.

(more…)

DRAWARROWUP

ProRealTime v10.3

Draw an upside arrow on chart on x,y coordinate.

Syntax:

Coloured is optional.

(more…)

DRAWBARCHART

ProRealTime v10.3

Draw custom OHLC barchart.

Syntax:

The open, high, low and close value can be set by any custom variables.

Coloured and Bordercolor instructions are optional, when not defined the colors will be the default price one.

(more…)


Top