and i have a stop loss at 5 ticks. but they are all going 50 ticks or more
Announcement
Collapse
No announcement yet.
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.
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
557 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment