im trying to draw a rectangle, but in the documentation https://ninjatrader.com/es/support/h..._rectangle.htm there is no constructor with Brush and isGlobal parameters.
I try to use this constructor Draw.Rectangle(NinjaScriptBase owner, string tag, DateTime startTime, double startY, DateTime endTime, double endY, Brush brush), this draws ok my rectangle with area and border same color, but need to set after the isGlobal but it doesnot work, i found just an attribute called IsGlobalDrawingTool but it is readonly.
So i try to use the constructor Draw.Rectangle(NinjaScriptBase owner, string tag, DateTime startTime, double startY, DateTime endTime, double endY, bool isGlobal, string templateName) to set after the brush attribute, but only found AreaBrush to set, but i want to set the brush of the border too, because it draws the area with a color and the border with other color and does not know how to assign it.
Thank you for your help!
Comment