What are some things I should look for to prevent this from happening?
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
Strategy not showing up in list
Collapse
X
-
Strategy not showing up in list
When I go to add a strategy by right click -> new strategy, my newly created strategy does not show up in the list so that I may select it for trading...
What are some things I should look for to prevent this from happening?Tags: None
-
Hello brucelevy,
Thanks for your post.
Assuming the strategy has compiled successfully:
Is the file name the same as the strategy (public class) name? In this case, you might be looking for one name and it may be something else. When editing you are opening by file name, when adding the strategy you are looking at the public class name.
When you go to apply the strategy, are any errors showing in the "log" tab of the control center? What can happen is that if you have an error in the OnStateChange() method when you go to New>strategy the OnStateChange() is called and a run-time type error can occur which removes the strategy from the available list as a preventative measure.Paul H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by helpwanted, Today, 03:06 AM
|
1 response
13 views
0 likes
|
Last Post Today, 03:35 AM | ||
Started by Brevo, Today, 01:45 AM
|
0 responses
11 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
6 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
242 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
387 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
Comment