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
How do you set Strategy builder to scale out at profit targets?
Collapse
X
-
Hello JTizz,
The CPU resource utilization can be viewed in the NinjaScript Utilization monitor.
The Calculate setting can be viewed in the Strategy window in the parameters in the Setup section, or the default used in the Strategy Analyzer is set in the script code in OnStateChange when State is State.SetDefaults.
Added series are in the code in OnStateChange() in State.Configure.
OnMarketData() and OnMarketDepth() can be added anywhere within the scope of the class. (If this is a script you wrote, and didn't add these method overrides, likely they are not in the code)
The screenshot is showing that there aren't any scripts that at the moment you opened the utilization monitor that are using a high amount of resources.
Are you currently experiencing the behavior when that screenshot was taken?Chelsea B.NinjaTrader Customer Service
Comment
-
Hello JTizz,
Atm Strategy methods cannot be used in the Strategy Builder as these are advanced tools.
Below are links to the help guide.
Set methods cannot be updated when using the Strategy Builder as these are set in State.Configure.
However, it is possible to use exit methods and change the price of these for custom exit movement behavior.
Below are links to examples in the Strategy Builder and examples that are in unlocked scripts.
Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by arvidvanstaey, Today, 02:19 PM
|
3 responses
9 views
0 likes
|
Last Post Today, 03:23 PM | ||
Started by jordanq2, Today, 03:10 PM
|
2 responses
8 views
0 likes
|
Last Post
by jordanq2
Today, 03:23 PM
|
||
Started by traderqz, Today, 12:06 AM
|
10 responses
18 views
0 likes
|
Last Post
by traderqz
Today, 02:49 PM
|
||
Started by algospoke, 04-17-2024, 06:40 PM
|
5 responses
47 views
0 likes
|
Last Post Today, 02:36 PM | ||
Started by mmckinnm, Today, 01:34 PM
|
3 responses
7 views
0 likes
|
Last Post Today, 02:12 PM |
Comment