Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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 proptradingshop, 03-21-2024, 09:50 AM
|
6 responses
27 views
0 likes
|
Last Post Today, 12:02 AM | ||
Started by mly916, Yesterday, 09:48 PM
|
1 response
11 views
0 likes
|
Last Post Yesterday, 11:54 PM | ||
Started by Mikey_, Yesterday, 09:21 PM
|
0 responses
11 views
0 likes
|
Last Post
by Mikey_
Yesterday, 09:21 PM
|
||
Started by cre8able, Yesterday, 05:53 PM
|
3 responses
14 views
0 likes
|
Last Post
by cre8able
Yesterday, 09:20 PM
|
||
Started by Aryan Kumar, Yesterday, 09:04 PM
|
0 responses
4 views
0 likes
|
Last Post
by Aryan Kumar
Yesterday, 09:04 PM
|
Comment