PDA

View Full Version : DrawRectangle Thickness


pmaglio
10-20-2009, 05:04 PM
When you double click on a rectange drawn on chart, you can change the thickness property, but if you draw a rectangle from code ( using DrawRectangle ) how can you define the thickness ?

Regards,

NinjaTrader_Bertrand
10-21-2009, 03:16 AM
Unfortunately it's not supported setting this via NinjaScript, the second overload would allow you to control the opacity - http://www.ninjatrader-support.com/HelpGuideV6/DrawRectangle.html