and i have a stop loss at 5 ticks. but they are all going 50 ticks or more
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
strategy is going long when its programmed short
Collapse
X
-
strategy is going long when its programmed short
i have a set of cl strategies going haywire. i have strategies on timeframes 15,5, and 2. on nq, si, cl, es. and only on the 15 minute cl the trades are going long.
and i have a stop loss at 5 ticks. but they are all going 50 ticks or more
Last edited by SteveReiza; 01-31-2024, 04:30 AM.Tags: None
-
Hello SteveReiza,
Thank you for your post.
To better understand your strategy's behavior and narrow down what part of your logic is causing it to go Long, have you enabled Trace Orders and added prints? If you have not done so yet, please review the information on the following guide and then review the output after enabling Trace Orders and adding prints:
The information in the NinjaScript Output window should be useful to identify when it is going long and understand why so you may modify your strategy as needed. You may generate the output by running a backtest in the Strategy Analyzer or even running your strategy over the same time period in the Playback connection.
If you are unsure of the meaning of the output, you may save it to a text file by right-clicking the NinjaScript Output window then selecting Save As. Then, the text file may be attached to your reply here so we may assist you further and guide you through the next steps of debugging unexpected behavior.
Please let us know if we may be of further assistance.Emily C.NinjaTrader Customer Service
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Jonafare, 12-06-2012, 03:48 PM
|
5 responses
3,986 views
0 likes
|
Last Post
by rene69851
Today, 01:44 PM
|
||
Started by Fitspressorest, Today, 01:38 PM
|
0 responses
2 views
0 likes
|
Last Post Today, 01:38 PM | ||
Started by Jonker, Today, 01:19 PM
|
0 responses
2 views
0 likes
|
Last Post
by Jonker
Today, 01:19 PM
|
||
Started by futtrader, Today, 01:16 PM
|
0 responses
8 views
0 likes
|
Last Post
by futtrader
Today, 01:16 PM
|
||
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
14 responses
1,792 views
0 likes
|
Last Post
by aligator
Today, 11:47 AM
|
Comment