![]() |
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
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Sep 2011
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
|
I have an AMP/CQG demo account that is giving me live data for a while, however it seems that the "Historical" boolean still returns true even when the strategy is running real time. I would greatly appreciate any insight on how I can determine that I am running real time
Thanks, Mark |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
Hello,
Thanks for the note. The if(Historical) check should never return true when strategy has switched to live. If you found this is the case I would want to look into that. -Brett
Brett
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OnbarBarUpdate() boolean resetting to true | ntjoe | Strategy Development | 2 | 08-31-2010 04:26 AM |
| Boolean Usage reference | Faspomy | Strategy Development | 0 | 09-03-2009 09:33 PM |
| Are boolean variables reset every bar? | maxpi | General Programming | 1 | 05-23-2009 12:43 PM |
| Why doesn't this boolean parameter work? | cassb | General Programming | 2 | 09-22-2008 06:58 AM |
| Boolean log with integers | jeremymgp | Indicator Development | 5 | 01-04-2008 07:36 AM |