![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Nov 2008
Posts: 576
Thanks: 0
Thanked 1 time in 1 post
|
Hi,
Just curious how BarsSinceSession is supposed to be interpreted, when working with CBOT futures with session times that look like: 18:00-06:00 and 09:30-13:15 If I run a strategy 24 hours a day (12:00 AM-12:00 AM), will BarsSinceSession be reset to zero at 09:30, and again 18:00? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
heech, it's tied to what you set as Session Begin time in the properties.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Nov 2008
Posts: 576
Thanks: 0
Thanked 1 time in 1 post
|
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Unfortunately yes heech - this is already on our list for future releases.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Nov 2008
Posts: 576
Thanks: 0
Thanked 1 time in 1 post
|
|
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
heech, this would also be linked to what you set up as Session begin / end times in the chart properties.
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is there a property like the "BarsSinceSession" that returns Grand Total Bar Nbr? | ChiTrader2000 | Strategy Development | 4 | 12-23-2009 01:46 PM |
| BarsSinceSession? | heech | General Programming | 1 | 05-17-2009 04:15 AM |
| Forex and Futures | playafh69 | Installation and Licensing | 3 | 01-29-2009 01:36 PM |
| Velocity Futures | Bogan7 | Connecting | 1 | 11-08-2008 11:00 AM |
| were on dome is what futures are up or down? | chan123 | Miscellaneous Support | 4 | 08-24-2007 08:18 AM |