Draws a point on the chart.
Syntax:
1 |
DRAWPOINT (x,y,size) COLOURED (R,V,B,a) BORDERCOLOR (R,V,B,a) |
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.
example:
1 2 3 4 5 6 7 |
irsi=rsi[14] if irsi crosses over 50 then drawpoint(barindex,low,5) coloured(0,255,0,50) bordercolor(0,255,255) endif return |