Object create RECTANGLE

 

Hi, i am creating an indicator that will draw a box with Object Create command, but by default

uses blue color, any one knows how to change the color ? Thanks

 
Roberto Quan:

Hi, i am creating an indicator that will draw a box with Object Create command, but by default

uses blue color, any one knows how to change the color ? Thanks

Read the documentation

Link

Documentation on MQL5: Constants, Enumerations and Structures / Objects Constants / Object Types / OBJ_RECTANGLE
Documentation on MQL5: Constants, Enumerations and Structures / Objects Constants / Object Types / OBJ_RECTANGLE
  • www.mql5.com
OBJ_RECTANGLE - Object Types - Objects Constants - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Reason: