hi,
Anybody knows how to draw a rectangle with a coloured body (not just the border) in Probuilder V11 ?
thanks
Now with prorealtime version11, if you set a rectangle with:
drawrectangle(barindex[10),close[10],barindex,close) COLOURED(0,0,255) bordercolor(255,0,0)
it should plot a blue rectangle with red borders (not tested rectangle yet).
Just found out the answer in the blog https://www.prorealcode.com/blog/learning/prorealtime-v11-new-instructions-and-improvements-in-calculation-speed/
The trick is to add the (undocumented) flag bordercolor :
drawrectangle(x1,y1,x2,y2) coloured(r,g,b,a) bordercolor(r1,g1,b1)