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
remove and re add strategy after editing?
Collapse
X
-
remove and re add strategy after editing?
do i need to remove the strategy from the control panel strategies window and re add it after i edit?Tags: None
-
Hello SteveReiza,
Thank you for your reply.
Yes, after editing a strategy you should first Compile it to save the changes. Next, you need to remove and re-add the strategy to pick up any changes that were made to the strategy. Then, the changes will take effect.
The reasons behind this have to do with the NinjaScript Lifecycle and OnStateChange(). If you would like to read into this more, please see the links below:
Please let us know if we may be of further assistance.Emily C.NinjaTrader Customer Service
-
Hi NinjaTrader_Emily,
When working in Market Replay, as along I don't change the NinjaScript Properties (either the Properties themselves or their defaults), just doing a NinjaScript Reload (F5) is sufficient to load the update to the code (after saving/compiling). I do not need to remove and re-add the strategy.
This has been working since...
Hello All, Just want to get feedback on what you do to develop and test a strategy. What mean is, what is your iteration in developing and debugging code? I'm asking from the standpoint that you already have the basic code in place and you are using the Playback Connection. Let me provide you with what I do: Code/Update the
Cheers,
Matt
Comment
-
Hello Matt,
Thank you for your note.
Reload NinjaScript is an option on charts, however Steve asked specifically about the "control panel strategies window" which does not have the option to reload NinjaScript:
To reload a script on the Strategies tab, it must be removed and re-added.
Thank you for using NinjaTrader.Emily C.NinjaTrader Customer Service
- Likes 1
Comment
-
-
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ageeholdings, Today, 07:43 AM
|
0 responses
7 views
0 likes
|
Last Post
by ageeholdings
Today, 07:43 AM
|
||
Started by pibrew, Today, 06:37 AM
|
0 responses
4 views
0 likes
|
Last Post
by pibrew
Today, 06:37 AM
|
||
Started by rbeckmann05, Yesterday, 06:48 PM
|
1 response
14 views
0 likes
|
Last Post
by bltdavid
Today, 05:43 AM
|
||
Started by llanqui, Today, 03:53 AM
|
0 responses
6 views
0 likes
|
Last Post
by llanqui
Today, 03:53 AM
|
||
Started by burtoninlondon, Today, 12:38 AM
|
0 responses
12 views
0 likes
|
Last Post Today, 12:38 AM |
Comment