ProRealTime documentation

DRAWCANDLE

ProRealTime v10.3

Draw custom OHLC candlestick.

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…)

DRAWELLIPSE

ProRealTime v10.3

Draw an ellipse on chart with 2 set of x,y coordinates.

Syntax:

Coloured is optional.

DRAWHLINE

ProRealTime v10.3

Draw an horizontal line on chart, with y coordinate.

Syntax:

Coloured is optional.

(more…)

DRAWLINE

ProRealTime v10.3

Draw a line with extension, between 2 x,y coordinates on chart.

Syntax:

Coloured is optional.

(more…)

DrawOnLastBarOnly

ProRealTime v10.3

Draw a graphical object only on the last bar (actual candlestick).

Syntax:

Instruction must be used with DefParam at the beginning of the code.

As for code optimization purpose, it is obvious that this instruction may be use with CalculateOnLastBars.

DRAWPOINT

ProRealTime v11

Draws a point on the chart.

Syntax:

where “x” is the Barindex, “y” the price or the vertical axis value.

“size” (optional) is the size of the point to be drawn, max size is 5.

(more…)

DRAWRAY

ProRealTime v11

Plots a segment that can expand to the right or to the left of the chart.

The second coordinates (x2 and y2) will be used to know in which direction the segment expand.

Syntax:

(more…)

DRAWRECTANGLE

ProRealTime v10.3

Draw a rectangle on chart with 2 set of x,y coordinates.

Syntax:

Coloured is optional.

(more…)

DRAWSEGMENT

ProRealTime v10.3

Draw a line segment between 2 x,y coordinates on chart.

Syntax:

Coloured is optional.

(more…)

DRAWTEXT

ProRealTime v10.3

Graphical instruction to draw text on chart.

Syntax:

“text” as a string value, which must be in quotation marks, just like the example below.

x1 as a barindex, y1 as the price or the vertical axis value.

Variables values can also be drawn on chart, they must be surrounded by pound symbols : “#myvariable#”. See example 3 below.

(more…)


Top