![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Nov 2008
Posts: 576
Thanks: 0
Thanked 1 time in 1 post
|
I feel like such a newbie... which is okay, because that's what I am.
I'm not able to make print -> output work correctly. I've setup a basic strategy that does: protected override void Initialize() { ... Print("Initializing..."); } I open up the output window. I then open up the Strategy Analyzer, and run a back test on a symbol. The strategy seems to run (based on the trades shown), but the output window is empty. What am I missing? |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Are you sure you are running the correct strategy? Have you tried adding a Print() statement in OnBarUpdate()?
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Nov 2008
Posts: 576
Thanks: 0
Thanked 1 time in 1 post
|
Ray,
I'm almost embarassed to admit this... but I will anyways, maybe it'll help someone else. I actually didn't realize I had to manually re-compile the strategy. Sorry, minor idiocy. |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Thanks for letting us know.
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Print() help | frogzillafx | Indicator Development | 5 | 10-21-2008 10:26 AM |
| Print() syntax | stefy | General Programming | 8 | 10-08-2008 06:22 PM |
| Print indicator value | rd_falcon | Strategy Development | 2 | 09-26-2008 09:28 AM |
| Print() not working | tradefaz | General Programming | 2 | 08-28-2008 12:42 AM |
| Print() | WDieter | General Programming | 2 | 05-23-2008 10:55 AM |