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