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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment