![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Charting Support for NinjaTrader Advanced Charting. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Dec 2011
Posts: 25
Thanks: 0
Thanked 0 times in 0 posts
|
Just created a simple indicator to plot the closing price of each bar, on the chart, the plot always starts from the 21st bar, the first 20 bars are not plotted, why is that?
protected override void Initialize() { Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Plot0")); Overlay = false; } /// <summary> /// Called on each bar update event (incoming tick) /// </summary> protected override void OnBarUpdate() { // Use this method for calculating your indicator values. Assign a value to each // plot below by replacing 'Close[0]' with your own formula. Plot0.Set(Close[0]); } |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why does Vol indicator Not plot first 20 bars? | zacharydw00 | Version 7 Beta General Questions & Bug Reports | 5 | 11-01-2010 09:43 AM |
| NT 7 beta 20 chart data missing | Operandi | Version 7 Beta General Questions & Bug Reports | 9 | 08-26-2010 09:54 AM |
| Missing first 20 bar information. | grahamwillsher | Miscellaneous Support | 7 | 07-14-2010 01:55 PM |
| simple charting question | z32000 | Charting | 3 | 11-30-2007 01:07 AM |
| simple charting question | z32000 | Charting | 1 | 11-22-2007 01:44 PM |