Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
8.1.2.1 cannot export arrays
Collapse
X
-
Hello Conceptzx ,
Thank you for reaching out.
Is the automated strategy you are working with, a strategy coded by yourself using the Strategy Builder, or was it acquired from a 3rd party?
If it is your own coded strategy, please contact our engineering team at
[email protected]
and they will be able to guide you in this matter.
If it is a 3rd party strategy, you would want to contact the developer for assistance with their software and our latest version.
Please let us know if you have any other questions.Erick P.NinjaTrader Customer Service
- Likes 1
Comment
-
It's custom code. I put some guard code in as follows;
Code:private string[] allowedMachineIDs = new string[] { "mID1", "mID2" }; protected override void OnBarUpdate() { string currentMachineID = Cbi.License.MachineId; bool isMachineIDAllowed = false; foreach (string id in allowedMachineIDs) { if (currentMachineID == id) { isMachineIDAllowed = true; break; } } if (!isMachineIDAllowed) { Print("Unauthorized access detected!"); return;}
Older version took the exact same source code and compiled without issues.Last edited by Conceptzx; 02-23-2024, 11:58 AM.
Comment
-
Hello Conceptzx ,
Thank you for your message. And thank you bltdavid for always being helpful in these forums, it is greatly appreciated.
A screenshot of the full error you are receiving when Exporting will indeed be helpful.
However, at this point, since you coded this strategy yourself, and it is showing as compiled successfully, but giving you an error when exporting, I would highly suggest you reach out to our engineering team at:
[email protected]
You can provide your information and issues to them and if needed, they can request more info from you and provide more comprehensive support in this matter.
There may be issues with your references or maybe it is a conflict with the platform version since you can export in a previous version of NT8. The scripting team would be the best the advise in this matter.
However, you can continue on this thread if you would like to continue receiving expert user input and would like to keep troubleshooting on your own.
Please let us know if you have any other questions.
Erick P.NinjaTrader Customer Service
Comment
-
Originally posted by bltdavid View PostHow do you know which lines of code are causing the error?
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by DJ888, Today, 10:57 PM
|
0 responses
5 views
0 likes
|
Last Post
by DJ888
Today, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
158 views
0 likes
|
Last Post Today, 10:23 PM | ||
Started by Belfortbucks, Today, 09:29 PM
|
0 responses
7 views
0 likes
|
Last Post
by Belfortbucks
Today, 09:29 PM
|
||
Started by zstheorist, Today, 07:52 PM
|
0 responses
7 views
0 likes
|
Last Post
by zstheorist
Today, 07:52 PM
|
||
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
151 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
Comment