Any suggestions about where to start looking will be appreciated.
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
problem with output window
Collapse
X
-
problem with output window
all of a sudden my output window is not behaving. i see it flash with output but the output immediately disappears. i do have a ClearOutputWindow command in my strategy but that has always been there. i exited and restarted NT and it worked the first time but not thereafter.
Any suggestions about where to start looking will be appreciated.
Tags: None
-
The output window appears to be behaving consistently and reliable once again with print message output from my indicator and strategy...except that it no longer displays output from both at the same time, whereas it used to do that?
Any thoughts/suggestions will be appreciated.
Comment
-
Originally posted by joemiller View PostHi Chelsea,
Appears that you are on to something significant. No, it does not happen when I have only Print(Time[0]);
[ie] works exactly as expected with your debug fix.
What now? & thanks.
Comment
-
Is this symptomatic of anything you can think of?
Is this symptomatic of anything you can think of?
upon further investigation, the following consistent output window behavior has been observed:
--- when the strategy analyzer is run, the output window is populated with the expected number of message lines
---after a few reruns the output window goes blank for that rerun
---with the next rerun the scenario is repeated [ie] output window goes blank for one rerun after several 'successful' reruns
---for each rerun only the expected number of message lines are present, suggesting that a clear output window command has been properly executed in the initialization region each time
Comment
-
are there any output window system settings specifying [eg] maximum allowable characters, etc.?
I ask because when I do a strategy analysis resulting in a lot of bars, and therefore a lot of output window messages, some early bar info lines are not there in the output window.
Comment
-
Originally posted by joemiller View Postare there any output window system settings specifying [eg] maximum allowable characters, etc.?
I ask because when I do a strategy analysis resulting in a lot of bars, and therefore a lot of output window messages, some early bar info lines are not there in the output window.
Comment
-
output window is misbehaving [probably my fault]
My output window is still giving me fits. Nothing seems to make sense. For simplicity, I have reduced the situation to printing to the output window from the code for only one indicator. I do not print from the strategy code. Sometimes the dates go in reverse. I have a simple sequence of print statements, one after the other which should appear in the output window one after the other, but they don't. I also tested with only short print statements [eg] Print(Time[0]+"Debug Tracer 2"); but the results were the same?
I have been messing around with this for three days now. Any suggestions will be appreciated because the output window is useless to me at present.
Comment
-
Hi joemiller,
I would be happy to test your script for you.
Please reduce the code down to only lines necessary to reproduce this issue, then export the script and attach the script to your reply.
To export your script do the following:- Click File -> Utilities -> Export NinjaScript
- Enter a unique name for the file in the value for 'File name:'
- Select the strategy from the objects list on the left -> click the right facing arrow ">" to add the strategy to the export
- Click the 'Export' button -> click 'yes' to add any referenced indicators to the export -> click OK to clear the export location message
By default your exported file will be in the following location:- (My) Documents/NinjaTrader 7/bin/Custom/ExportNinjaScript/<export_file_name.zip>
Below is a link to the help guide on Exporting NinjaScripts.
Chelsea B.NinjaTrader Customer Service
Comment
-
Originally posted by joemiller View PostMy output window is still giving me fits. Nothing seems to make sense. For simplicity, I have reduced the situation to printing to the output window from the code for only one indicator. I do not print from the strategy code. Sometimes the dates go in reverse. I have a simple sequence of print statements, one after the other which should appear in the output window one after the other, but they don't. I also tested with only short print statements [eg] Print(Time[0]+"Debug Tracer 2"); but the results were the same?
I have been messing around with this for three days now. Any suggestions will be appreciated because the output window is useless to me at present.
- Shut down all workspaces.
- Create and open a new workspace.
- Open one chart.
- Load the test indicator.
- Check the output window.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by eduardodipp7, Today, 10:29 AM
|
0 responses
1 view
0 likes
|
Last Post
by eduardodipp7
Today, 10:29 AM
|
||
Started by AgriTrdr, 07-16-2023, 12:54 PM
|
39 responses
272 views
0 likes
|
Last Post
by f.saeidi
Today, 10:23 AM
|
||
Started by ninza33, Today, 09:10 AM
|
1 response
10 views
0 likes
|
Last Post Today, 09:46 AM | ||
Started by goodknight777, Today, 08:43 AM
|
1 response
6 views
0 likes
|
Last Post Today, 09:25 AM | ||
Started by kramnor2001, Yesterday, 02:30 PM
|
3 responses
22 views
0 likes
|
Last Post
by kramnor2001
Today, 09:20 AM
|
Comment