Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
errors importing ninjascript strategy
Collapse
X
-
errors importing ninjascript strategy
I'm receiving the following errors when attempting to import a ninjascript strategy, and I don't know how to proceed. Please see attached screenshot.Tags: None
-
Hello 2inthebush,
Thank you for your inquiry.
These errors make it seem like perhaps you have a duplicate file installed somewhere in the NinjaTrader 8/bin/Custom folder. How did you install this strategy? Did you use the import utility at Tools > Import > NinjaScript Add-on?
If you look through all of the subfolders at NinjaTrader 8/bin/Custom folder, do you see duplicates of either the strategy's .cs file (BKVuManChuStrategy.cs) or a duplicate of a file called HeikenAshi8.cs anywhere? They'd likely be in the Strategies folder, Indicators folder, the Custom folder itself.
I look forward to your response.
-
Yes, I used the import utility at Tools > Import > NinjaScript Add-on.
I've searched throughout my local Ninjatrader 8 folder for HeikenAshi8.cs and BKVuManChuStrategy.cs. I only found one file of HeikenAshi8.cs, located in bin/custom/indicators. There are zero files named BKVuManChuStrategy.cs, or anything similar.Last edited by 2inthebush; 03-01-2022, 10:14 PM.
Comment
-
Hello 2inthebush,
Thank you for your reply.
Something with the way that this script is programmed or one of the files within the .zip assembly is causing this problem. It seems like it's conflicting with something that you already have installed. Is this assembly something that you received from a third party or that you created yourself?
If you open the .zip file for this script, what are the files that are within it?
I look forward to your response.
Comment
-
It's a third-party strategy, and it contains the following files:
BKVuManChuStrategy.cs
BKVuManChuStrategy.dll
Info.xml
Last edited by 2inthebush; 03-02-2022, 01:37 PM.
Comment
-
I've resolved the issue by removing the file HeikenAshi8.cs
The file was included with this Heiken Ashi 8 indicator below. I don't need this indicator at the moment, so that's ok.
NinjaTrader 8 natively provides Heiken Ashi as a bar type for most common bar types (minute, tick, volume, second, day, week, month, year). This Heiken Ashi indicator is provided for the Range, Renko and any custom bar types that may be added. The indicator performs in the same manner as the NinjaTrader 7 version. 4-27-18 […]
Comment
-
Hello 2inthebush,
Thank you for your reply.
We may be able to figure out where the conflict is coming from by manually installing the script.
You could manually install the .cs file from the .zip file and compile in the NinjaScript Editor to see if where the conflict is coming from.- Navigate to (My) Documents\NinjaTrader 8\bin\Custom\Strategies.
- Copy the .cs file and .dll into this directory.
- Next, you will need to compile the indicator and check for errors.
- Open NinjaTrader
- From the Control Center select the New menu--> select NinjaScript Editor
- Double click on the Indicators folder--> then double click on any of the indicators
- Once the indicator code is in view right click in the window and select References
- Select add
- Navigate to the 'Strategies' folder
- Locate BKVuManChuStrategy.dll
- Click "Open" to add the reference.
- Click "OK" and recompile.
If you are unsure as to what the error is indicating, please send me a screenshot of the NinjaScript File column and Error column fully visible (not to be confused with the Code column)- To send a screenshot with Windows 7 or newer I would recommend using Window's, Snipping Tool.
- Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.
Comment
-
Hello 2inthebush,Originally posted by 2inthebush View PostI've resolved the issue by removing the file HeikenAshi8.cs
The file was included with this Heiken Ashi 8 indicator below. I don't need this indicator at the moment, so that's ok.
https://ninjatraderecosystem.com/use...heiken-ashi-8/
Thank you for your reply.
Happy to hear that you were able to figure it out and were able to isolate the conflict to that specific script.
Comment
-
Cool, thanks for the instructions. I'll keep those for future reference.
This issue is resolved at this point, so I'll move on. Thank you for your help.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
80 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
46 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
29 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
32 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
66 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment