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 bortz, 11-06-2023, 08:04 AM
|
47 responses
1,602 views
0 likes
|
Last Post
by aligator
Today, 07:22 PM
|
||
Started by jaybedreamin, Today, 05:56 PM
|
0 responses
8 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
18 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
4 views
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
12 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
Comment