Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
My strategy Stopped working after few changes, reverted them but cant find the mistak
Collapse
X
-
My strategy Stopped working after few changes, reverted them but cant find the mistak
I am trying to come up with my own strategy, It worked up until last week. trying to workout some potential weaknesses, I made some changes that seemed to make it stop working. I tried to revert the changes but still cant find the error. I'm having no luck. Is there anyone here that could take a look at it and see if they have better luck? -
Hi Yandychang,
I'd would be willing to take a look for you if you post the script.
That said, the best way to debug your script to add prints to the code using the Print() command.
If you are looking for where the script is halting, add prints every few lines and see where the prints stop.
If you are looking at a particular branching command (if statements), then you can print all the values used in that branching command to see why the conditions evaluated the way they did.
Prints will go to the Output Window. (Tools -> Output Window...)
Below is a link to the help guide on Print().
http://www.ninjatrader.com/support/h.../nt7/print.htmChelsea B.NinjaTrader Customer Service
-
Thanks ChelseaB:
I figured it out, Looked it up in the log screen, seems to be working now.... I will take a look at the print() command since sometimes I want to see the values of my variables and DataSeries....
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by mattbsea, Today, 05:44 PM
|
0 responses
1 view
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
31 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
2 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
16 responses
3,281 views
0 likes
|
Last Post
by Leafcutter
Today, 04:14 PM
|
||
Started by WHICKED, Today, 12:45 PM
|
2 responses
19 views
0 likes
|
Last Post
by WHICKED
Today, 03:36 PM
|
Comment