PDA

View Full Version : Draw my plots for ONLY the last x number of bars


shm000
08-26-2009, 02:40 PM
Hello, if anyone can offer a quick suggestion on how to plot "my plots" (for an indicator i'm building) ONLY for the past X number of bars. Example... 10 days of intraday data displayed....I would only like to display the plots from my indicator for the past 100 or 50 or 200 etc bars...to cut down on screen clutter. Thanks very much in advance!

SM

NinjaTrader_Bertrand
08-26-2009, 03:01 PM
shm000, unfortunately there's no method or sample code available for this, you would need to custom code this and work with CurrentBar - http://www.ninjatrader-support.com/HelpGuideV6/CurrentBar.html