![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2008
Posts: 130
Thanks: 0
Thanked 0 times in 0 posts
|
right now I have:
Add(new Line(Color.Red, 15, "Level")); in Initialize() of an Indicator how can I change this to create a dotted line, not solid? likewise, how do I make a new Plot that has a width of 2 for my PlotStyle.Bar?
Last edited by NinjaCustomer; 02-04-2008 at 02:55 PM.
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
|
Plots[0].Pen.DashStyle = DashStyle.Dot;
Plots[0].Pen.Width = 2
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Draw line segments | PepeIlegal | Charting | 9 | 09-27-2011 11:22 PM |
| Draw Horizontal line on the hour dynamically | dpanglin | General Programming | 7 | 04-05-2008 11:25 AM |
| Draw Vertical Line | jjthetrader | General Programming | 13 | 01-30-2008 10:12 AM |
| Dotted Line as default | jeremymgp | Indicator Development | 9 | 01-30-2008 09:33 AM |
| how to draw a parallel line to a trend line? | tradewiz | Charting | 4 | 12-19-2007 04:42 AM |