I would like to know if it 'possible to make a strategy based on this indicator automatically
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
strategy for ninja
Collapse
X
-
Hello LucaC,
Thanks for the note. I am happy to help.
Yes, it is possibly to pass an indicator to your strategy to base your calculations on. After, you imported your NinjaScript you should be able to see in inside the ‘Condition Builder’ of the Strategy Wizard under the ‘Indicators’ tab. See the following link for more information about the “Condition Builder”.
Another good link for adding indicators to strategies is the following.
Here is a link to our Help Guide that goes over “How to Import NinjaScript”.
Please let me know if I can be of further assistance.JCNinjaTrader Customer Service
Comment
-
I attempted to import a ninjascript strategy from another person. I am getting an error message " you have custom ninjascript files on your PC that have programming errors. These errors must be resolved..." but I cannot access these new files from the tools, edit ninjascript menu. How do i resolve or get to the new ninjascript files that i imported?
Comment
-
Hello Camron,
Thanks for the note. I am happy to help.
There are a couple different ways to enable a Strategy and select the instrument you want it to run on.
First, you can go to the “Strategies” tab in the “Control Center” right click inside this tab, and select “New Strategy…”. Select the strategy you want to run by left clicking in the drop down menu to the right of “Strategy” to view your list of strategies. Now, you can set all the parameters of the strategy including the “Instrument” below.
For more information about "Running a NinjaScript Strategy from the Strategies Tab" you may read our online help guide at the following link.
Another way to run a strategy is in a chart. Note that when you run a strategy in a chart you can only select an instrument that you have loading in that chart. Example: if you have a “ES 06-12” “1 Min” chart, you will only be able to select a “ES 06-12” “1 Min” instrument. To run a strategy inside a chart left click on the “Strategies” button in the chart toolbar, it is the second one from the right. That will bring up the “Strategies” window where you can select the strategy you would like to run and all of its parameters in the right panel. Make sure to set “Enabled” to True if you want your strategy to run.
For more information about "Running a NinjaScript Strategy from a chart" you may read our online help guide at the following link.
Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader compiles all indicators and strategies- not just one.
• Open NinjaTrader
• From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
• Select an indicator and double click on it.
• A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
• At the bottom of the window a new section will appear where you can find the error locations.
• From there you have the option to remove the indicator or debug it.
If you are unsure as to what the error is indicating, please send me a screenshot of the error with the name and description fields clearly readable. Send the e-mail to Support[AT]ninjatrader[DOT]com with reference to this thread.
To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CRTL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.
Please let me know if I can be of further assistance.JCNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, Yesterday, 10:06 AM
|
0 responses
17 views
0 likes
|
Last Post
by argusthome
Yesterday, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
16 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
14 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
9 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
38 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment