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

Strategy Analyzer for Daily

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

    Strategy Analyzer for Daily

    When I try to analyze a Daily Strat. I get zero results...Why?


    Click image for larger version

Name:	1.PNG
Views:	93
Size:	17.2 KB
ID:	1134346

    #2
    Hello r3n3v, thanks for your post.

    What data feed are you using?

    Also, add Print statements throughout your strategy to see if code is actually being reached e.g.

    Code:
    protected override void OnBarUpdate()
    {
        Print("Checking Entry Condition " + Time[0]);
        if(<EntryCondition>)
        {
            Print("Entry Condition True" + Time[0]);
            EnterLong();
        }
    ...
    Does it work if you test on the SampleMACrossover strategy?

    I look forward to hearing from you.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      It works If I choose the entire year..

      Comment


        #4
        Hello r3n3v, thanks for your reply.

        Were you able to complete the other tests?

        It could be your BarsRequiredToTrade setting, if there are not enough daily bars loaded the strategy could be ignoring orders due to this:

        https://ninjatrader.com/support/help...redtotrade.htm

        Best regards.
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by devatechnologies, Today, 12:33 PM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by tkaboris, 07-15-2024, 01:42 PM
        12 responses
        24 views
        0 likes
        Last Post tkaboris  
        Started by richard_w, Today, 12:33 PM
        0 responses
        3 views
        0 likes
        Last Post richard_w  
        Started by frslvr, Today, 11:36 AM
        3 responses
        11 views
        0 likes
        Last Post frslvr
        by frslvr
         
        Started by DawnTreader, 05-08-2024, 05:58 PM
        51 responses
        305 views
        0 likes
        Last Post DawnTreader  
        Working...
        X