bobtParticipant
Average
Good morning,
I have an indicator that needs some colour zones added to make the indicator easy to view – without them it’s hard to read.
Is it possible to hard code colour zones into the probuilder code, either in v10.3 or v11 ?
If not, is there a way to export them within the GUI to allow others to import ?
Many thanks for any help……
bobtParticipant
Average
Hi Roberto,
Thanks for the response.
Is there a way to display horizontal background colour areas, rather than vertical ones ?
bobtParticipant
Average
Many thanks for those links Nicolas.
I’ll need to spend some time to get my head around V11 arrays and how they might be used to colour charts, but hopefully not vastly different to C/C++
Regards,
Bob
No array is not needed to color the chart 🙂 In the above link you will find codes that use array, but the DRAWRECTANGLE or DRAWTRIANGLE are still using barindex/price x,y coordinates. To color the background of a graphical object you just have to add the COLOURED instruction at the end of the code line.