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
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
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 memonic, Yesterday, 01:23 PM
|
2 responses
12 views
0 likes
|
Last Post
by memonic
Today, 04:26 AM
|
||
Started by merc410, Today, 03:41 AM
|
2 responses
13 views
0 likes
|
Last Post
by merc410
Today, 04:16 AM
|
||
Started by sugalt, 04-30-2024, 04:02 AM
|
2 responses
13 views
0 likes
|
Last Post
by sugalt
Today, 03:42 AM
|
||
Started by Ndakotan1313, 03-14-2024, 05:02 PM
|
2 responses
64 views
0 likes
|
Last Post
by blaise_code
Today, 03:16 AM
|
||
Started by claxxical, 05-30-2017, 12:30 PM
|
37 responses
4,464 views
0 likes
|
Last Post
by Padan
Today, 02:23 AM
|
Comment