Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to read /write a global array?
Collapse
X
-
Hi maxpi,
What are you using this array for? What you want to do is write out every element of the array into a text file as new individual lines. Then you can read all of the lines into a new array in your other indicator.
Please see the reference sample section of the forums and look for the StreamReader and StreamWriter samples.Josh P.NinjaTrader Customer Service
-
I want to make an indicator that runs on a tick chart but I want to display the results on a bar chart. Writing to a text file probably would be ok really, I had assumed there was a way in C# to simply have a global array but I guess it's sort of verboten...
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
580 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
336 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
102 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
552 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment