Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
automatically save the output log into your local machine as a .txt
Collapse
X
-
Hello Boonfly8,
Thank you for your post.
Are you referring to saving the output from the NinjaScript Output Window?
There's not a way to save this automatically; however, saving the output as a .txt file is very easy - all you need to do is right click in the window > Save As. Name your file (it should automatically name something like "NinjaScript Output 2_27_2019 2_20 PM" and save it to your Documents folder or where ever else it will be simple for you to find.
Please let us know if we may be of further assistance to you.Kate W.NinjaTrader Customer Service
-
Hello xTrader1,
Thank you for your reply.
The closest you could get from code to automatically saving the output window would be to use StreamWriter to write whatever information you want to save automatically to a file. This would not necessarily print all the info from the Output window as some of those messages come from within NinjaTrader but you could certainly monitor for errors, times, prices, etc. and write those to a file. Here's an example from our help guide of using a StreamWriter to print some bar information to a file:
This may be adapted to your needs.
Please let us know if we may be of further assistance to you.Kate W.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by quicksandatl, Today, 01:39 PM
|
1 response
1 view
0 likes
|
Last Post
by quicksandatl
Today, 01:40 PM
|
||
Started by md4866, 05-01-2024, 08:15 PM
|
2 responses
18 views
0 likes
|
Last Post
by md4866
Today, 12:33 PM
|
||
Started by samish18, Today, 12:20 PM
|
0 responses
7 views
0 likes
|
Last Post
by samish18
Today, 12:20 PM
|
||
Started by thread, 04-15-2024, 11:58 PM
|
3 responses
48 views
0 likes
|
Last Post
by Georg1o
Today, 12:05 PM
|
||
Started by leojimenezp, 04-20-2024, 05:49 PM
|
4 responses
50 views
0 likes
|
Last Post
by leojimenezp
Today, 11:49 AM
|
Comment