![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jun 2008
Posts: 159
Thanks: 0
Thanked 0 times in 0 posts
|
Hallo.
How to add or deduct few minutes or other time period to the time which is set in variable int?? Rgds Czarek. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Czarek, not sure I follow, if you have this already as an Int then you can directly add / substract the amount needed. For more convenience please use the Add method supplied with the DateTime class in C#.
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HiLo of a specific time period | pipal | Strategy Analyzer | 8 | 07-27-2010 08:44 AM |
| time calc SMA plotted on a diff time period | sub5mango | Indicator Development | 1 | 03-17-2009 12:47 PM |
| chart axis time period | tradr | Charting | 6 | 06-15-2008 05:26 PM |
| calculate value during a time period? | Burga1 | General Programming | 4 | 12-28-2007 12:03 PM |
| Ability to set the Time Interval Pre-set by Exchange | vlc | Suggestions And Feedback | 1 | 10-14-2007 09:10 AM |