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!
See more
See less

Partner 728x90

Collapse

Darvas Box Long Entry not working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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 you
    Attached Files

    #2
    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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by memonic, Yesterday, 01:23 PM
    2 responses
    12 views
    0 likes
    Last Post memonic
    by memonic
     
    Started by merc410, Today, 03:41 AM
    2 responses
    13 views
    0 likes
    Last Post merc410
    by merc410
     
    Started by sugalt, 04-30-2024, 04:02 AM
    2 responses
    13 views
    0 likes
    Last Post sugalt
    by sugalt
     
    Started by Ndakotan1313, 03-14-2024, 05:02 PM
    2 responses
    64 views
    0 likes
    Last Post blaise_code  
    Started by claxxical, 05-30-2017, 12:30 PM
    37 responses
    4,464 views
    0 likes
    Last Post Padan
    by Padan
     
    Working...
    X