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 funk10101, Today, 09:43 PM
|
0 responses
3 views
0 likes
|
Last Post
by funk10101
Today, 09:43 PM
|
||
Started by pkefal, 04-11-2024, 07:39 AM
|
11 responses
36 views
0 likes
|
Last Post
by jeronymite
Today, 09:37 PM
|
||
Started by bill2023, Yesterday, 08:51 AM
|
8 responses
44 views
0 likes
|
Last Post
by bill2023
Today, 09:27 PM
|
||
Started by yertle, Today, 08:38 AM
|
6 responses
26 views
0 likes
|
Last Post
by ryjoga
Today, 09:17 PM
|
||
Started by algospoke, Yesterday, 06:40 PM
|
2 responses
24 views
0 likes
|
Last Post
by algospoke
Today, 07:04 PM
|
Comment