Can i receive a confirmation that someone suggested with a strategy with a lot of parameters that if you add a checkbox to not show the NS output it would run much quicker. Is this true?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NinjaScript Output - Strategy Analyzer
Collapse
X
-
NinjaScript Output - Strategy Analyzer
Hi,
Can i receive a confirmation that someone suggested with a strategy with a lot of parameters that if you add a checkbox to not show the NS output it would run much quicker. Is this true?Tags: None
-
Hello willthebill,
The number of public properties added to a script would not involve the script printing to the NinjaScript Output window.
If you are calling print a large number of times in your code, this can have a performance impact when running a backtest or a script in real-time.
Prints are generally used for debugging when there is an issue.
In a production environment you would want all prints suppressed or commented out. You can add a public bool property to control if the scrips is adding prints.
Note, this would not affect sluggishness in the Strategy Analyzer due to a large amount of public properties.Chelsea B.NinjaTrader Customer Service
- Likes 1
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment