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
Ninjascript Output 2?
Collapse
X
-
Ninjascript Output 2?
I have a second tab on my ninjascript output window, Is there a way to use the second output or is it just there to tease me?Tags: None
-
Hello,
Thanks for your post.
Please see the help guide here (examples are shown in help guide): https://ninjatrader.com/support/help...8/?printto.htm
Paul H.NinjaTrader Customer Service
-
-
-
Yep. I see that it's now broken, too.
1. A user can go to the NinjaTrader Desktop Platform Guide:Code:https://ninjatrader.com/support/helpguides/nt8/
3. For me the first result was the right one.
In the NinjaScript of an indicator or strategy you can set which console window, Output1 or Output2, the use of Print("your text") will output to.
Code:protected override void OnStateChange() { if (State == State.SetDefaults) { Name = "Sample PrintTo Indicator #2"; Description = "@Used to Print updates to Output 2"; //Set this scripts Print() calls to the second output tab PrintTo = PrintTo.OutputTab2; } } protected override void OnBarUpdate() { Print("This script will print messages to Output Tab 2"); }
Last edited by BarzTrading; 09-06-2023, 08:04 PM.
Comment
-
Long-standing issue, one of many with the Forum software. Typically, the pasting/formatting of links that fail have an extra space character introduced somewhere in the link. Been like that for a looooong time. Sadly. Just another piece of third-party software that needs fixing.
Thanks.
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by WHICKED, Today, 12:45 PM
|
2 responses
16 views
0 likes
|
Last Post
by WHICKED
Today, 03:36 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
15 responses
3,272 views
0 likes
|
Last Post Today, 03:15 PM | ||
Started by Tim-c, Today, 02:10 PM
|
1 response
8 views
0 likes
|
Last Post Today, 02:52 PM | ||
Started by Taddypole, Today, 02:47 PM
|
0 responses
2 views
0 likes
|
Last Post
by Taddypole
Today, 02:47 PM
|
||
Started by chbruno, 04-24-2024, 04:10 PM
|
4 responses
51 views
0 likes
|
Last Post
by chbruno
Today, 02:38 PM
|
Comment