Documentation / Graphical

BACKGROUNDCOLOR

ProRealTime v10.3

Color the background of chart with R,G,B,alpha values.

Syntax:

BACKGROUNDCOLOR(R,G,B,a)

Continue reading “BACKGROUNDCOLOR” »

DRAWARROW

ProRealTime v10.3

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

Syntax:

DRAWARROW(x1,y1) COLOURED(R,V,B,a)

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

Continue reading “DRAWARROW” »

DRAWARROWDOWN

ProRealTime v10.3

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

Syntax:

DRAWARROWDOWN(x1,y1) COLOURED(R,V,B,a)

Coloured is optional.

Continue reading “DRAWARROWDOWN” »

DRAWARROWUP

ProRealTime v10.3

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

Syntax:

DRAWARROWUP(x1,y1) COLOURED(R,V,B,a)

Coloured is optional.

Continue reading “DRAWARROWUP” »

DRAWBARCHART

ProRealTime v10.3

Draw custom OHLC barchart.

Syntax:

DRAWBARCHART(open,high,low,close) COLOURED(R,G,B) BORDERCOLOR(R,G,B)

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.

Continue reading “DRAWBARCHART” »

DRAWCANDLE

ProRealTime v10.3

Draw custom OHLC candlestick.

Syntax:

DRAWCANDLE(open,high,low,close) COLOURED(R,G,B) BORDERCOLOR(R,G,B)

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.

Continue reading “DRAWCANDLE” »

DRAWELLIPSE

ProRealTime v10.3

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

Syntax:

DRAWELLIPSE(x1,y1,x2,y2) COLOURED(R,V,B,a)

Coloured is optional.

DRAWHLINE

ProRealTime v10.3

Draw an horizontal line on chart, with y coordinate.

Syntax:

DRAWHLINE(y1) COLOURED(R,V,B,a)

Coloured is optional.

Continue reading “DRAWHLINE” »

DRAWLINE

ProRealTime v10.3

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

Syntax:

DRAWLINE(x1,y1,x2,y2) COLOURED(R,V,B,a)

Coloured is optional.

Continue reading “DRAWLINE” »

DrawOnLastBarOnly

ProRealTime v10.3

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

Syntax:

DefParam DrawOnLastBarOnly = true

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.


Top