![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Dec 2006
Location: Nelson, New Zealand
Posts: 358
Thanks: 1
Thanked 2 times in 2 posts
|
What is the scope of a user variable? Is it global, unique to chart, or time series?
I want to set a variable from one time series chart that can be accessed/seen from another time series. I don't think this is supported but thought I would ask. Cliff |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
a) We will add something to the docs regarding the lifetime of variables.
b) However, you question rather is about visibility. In theory you could code your indicators such that the timeseries would be visible to another indicator on another chart. But this requires a level of C# coding logic/knowledge which we unfortunately can not support at this time (due to bandwidth issues).
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| intra-bar/inter-tick variable persistance ? | zoltran | Indicator Development | 3 | 04-04-2007 01:12 AM |
| Compile error with MIN and MAX variable assignment | lewdfinger | General Programming | 2 | 02-10-2007 07:13 AM |
| How do I get 'barsAgo" info for a variable I create? | BradB | General Programming | 2 | 01-26-2007 06:54 AM |
| New user - automation question | Steveinvest | Automated Trading | 2 | 11-21-2005 01:18 PM |
| New user-can't get YM to load | ron | Miscellaneous Support | 2 | 01-20-2005 03:23 AM |