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
Calculation Mode
Collapse
X
-
Calculation Mode
Is there a way to set stops without using Calculation mode when using the wizard? I am not good enough with the programming side of things yet and I need to be able to set my stops to a price (actually a vaiable)that can be updated.Tags: None
-
-
Still not working for me, although now I am sure it something I am doing wrong. Is there a way to output the current value of a variable so I can troubleshoot?
Comment
-
Hello,
Yes, you can output by going to the Strategy Action section>Add>Misc>Print to output window.
Open the output window by going to Tools>Output window.
Now every time your strategy script is executed and your condition is met, it will output whatever message you have entered.DenNinjaTrader Customer Service
Comment
-
-
Well, I unlocked the code, made the change, tried to compile, and now I am getting an error "More than one protection modifier".
Comment
-
Actually, it no longer matters. I cannot use the wizard at all. I get that same error even when creating a new strategy that is blank.
I had to delete the strategy manually from the directory. Everything is fine now.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
27 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:33 PM
|
||
Started by wzgy0920, 04-23-2024, 09:53 PM
|
2 responses
49 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:29 PM
|
||
Started by Kensonprib, 04-28-2021, 10:11 AM
|
5 responses
193 views
0 likes
|
Last Post
by Hasadafa
Yesterday, 10:19 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
11 responses
3,235 views
0 likes
|
Last Post Yesterday, 08:07 PM |
Comment