Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Label Horizontal Lines With Alerts and NT7/20
Collapse
X
-
Unfortunately you're running into a coding breaking change with the attempt to use this custom indicator on B20, from our release notes -
Code:3979 NinjaScript 'AttachedTo' property of chart objects can't be accessed from NS anymore.
BertrandNinjaTrader Customer Service
Comment
-
import error
HI
I have version 7.0.1000.1 and I followed the steps about adding the assemblies and confirmed that they were added but I still got the following error during import.
"Import failed. The Ninjascript Archive File may contain duplicate method names that already exist on your PC or there is a required file missing on either your PC or in the import archive."
Please let me know what I'm missing. Thanks.
Comment
-
Hello fres777,
Welcome to the NinjaTrader forums!
You may consider contacting author of indicator directly for resolving the errors.
The process below can be used to identify the specific lines of code causing the errors.
To resolve, please follow these steps:
Go to "Documents\NinjaTrader 6.5\bin\Custom\Indicator" and manually copy the source files for your NinjaScript to "Documents\NinjaTrader 7\bin\Custom\Indicator"
Go to "Documents\NinjaTrader 6.5\bin\Custom\Strategy" and manually copy the source files for your NinjaScript to "Documents\NinjaTrader 7\bin\Custom\Strategy"
If your scripts use any file dependencies like UserDefinedMethods.cs, please ensure you have copied those to their respective folders
If your scripts are using custom DLL references in NinjaTrader 6.5 you will also need to add those references to NinjaTrader 7.
To view your 6.5 references go to the NinjaScript Editor via Tools > Edit NinjaScript and open any file. Then Right Mouse Click > References
To add references to 7, go to the NinjaScript Editor > Right Mouse Click > References and press the "Add" button. You will need to add any DLL references that were on 6.5, but not on the default 7 reference list.
After all components are copied you will need to compile the NinjaScript assembly. Go to Tools > Edit NinjaScript and open any file. Press "F5" on your keyboard or the "Compile" button on the toolbar. When compiling you should see a list of errors that need to be addressed before your NinjaScript files will work. Please review the "Code breaking changes" information that may help in resolving some of the errors in your list.Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by rajendrasubedi2023, Today, 09:50 AM
|
2 responses
12 views
0 likes
|
Last Post Today, 10:48 AM | ||
Started by geddyisodin, Today, 05:20 AM
|
4 responses
28 views
0 likes
|
Last Post
by geddyisodin
Today, 10:45 AM
|
||
Started by geotrades1, Today, 10:02 AM
|
2 responses
8 views
0 likes
|
Last Post
by geotrades1
Today, 10:43 AM
|
||
Started by ender_wiggum, Today, 09:50 AM
|
1 response
5 views
0 likes
|
Last Post Today, 10:10 AM | ||
Started by bmartz, Today, 09:30 AM
|
1 response
10 views
0 likes
|
Last Post Today, 09:48 AM |
Comment