![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
|
It would save lots of time and eliminate some bugs for strategies and indicators that do not need historical bars.
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Nov 2009
Location: Denver, CO
Posts: 1,424
Thanks: 0
Thanked 3 times in 3 posts
|
Hi Sleeping Troll,
You can have the OnBarUpdate() start on live data only with... if (Historical) return; http://www.ninjatrader-support.com/H...tml?Historical
Tim
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
|
Yup, cool thanks!!!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trade Class | annettes | Strategy Development | 1 | 03-04-2010 04:14 AM |
| TradeCollection Class | astrolobe | Strategy Development | 1 | 09-21-2009 05:39 AM |
| Helper class | blarouche | Strategy Development | 9 | 08-11-2009 12:35 PM |
| Chart Class? | cassb | General Programming | 2 | 06-12-2009 10:14 PM |
| NinjaScript class? | Speedie6 | General Programming | 1 | 11-03-2008 10:04 AM |