For some reason, my conditions for Short entry on Price (close) crossing a Darvas Box Lower Limit (+1) works, but the opposing entry, the Long entry on Price (close) crossing a Darvas Box Upper Limit (-1) does not work. I have two pictures below. This is "on price change" and not "on bar close". Please let me know what I can do to correct for this, thank you
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Darvas Box Long Entry not working
Collapse
X
-
Darvas Box Long Entry not working
Hi NT8,
For some reason, my conditions for Short entry on Price (close) crossing a Darvas Box Lower Limit (+1) works, but the opposing entry, the Long entry on Price (close) crossing a Darvas Box Upper Limit (-1) does not work. I have two pictures below. This is "on price change" and not "on bar close". Please let me know what I can do to correct for this, thank youTags: None
-
Hello Austiner87,
By does not work, you mean an order is not being filled when expected?
Use prints and enable TraceOrders to understand the behavior.
Below is a link to a forum post that demonstrates using prints to understand behavior and includes a video with the strategy builder.
In a new condition set with no conditions, print the time, print all values used in the conditions
Enable TraceOrders in the defaults and remove the instance of the strategy and add a new instance.
Prints will go to the New > NinjaScript Output window.
Are all of the conditions evaluating as true?
Let me know if I may assist with analyzing the output from the output window.Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
79 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
63 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
63 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
54 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment