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

Bloodhound Error

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

    Bloodhound Error

    I keep getting the following error during set up of a BH strategy:

    "Errors: [Solver: HMA 21 Change In Slope] Index was out of range. Must be non-negative and less that the size of the collection. Parameter name: index."

    The Indicator is a 21 period Hull MA and I am using a the change in slope solver.

    The default time frame is 5 min and the secondary time frame is 1 minute.

    The only thing I can think of is that the default time frame must be smaller than the secondary.

    However, despite the error message the solver seems to work properly.

    Anyone run across this? How do I remedy?

    Jeff

    #2
    Hello Jeff,

    Do you have a CurrentBars check in the OnBarUpdate()?

    Is this programming strictly through Bloodhound's interface or are you using NinjaTrader editor?
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Cal View Post
      Hello Jeff,

      Do you have a CurrentBars check in the OnBarUpdate()?

      Is this programming strictly through Bloodhound's interface or are you using NinjaTrader editor?
      Where do I check CurrentBars?

      Yes, programming is through Bloodhound

      Comment


        #4
        Jeff,

        if(CurrentBars < 1) return;

        You would place this at the beginning of OnBarUpdate.

        However, given the unfamiliarity of Bloodhound system I would advise reaching out to them for any information they can offer
        Cal H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cmtjoancolmenero, Yesterday, 11:56 AM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by reynoldsn, 04-21-2024, 07:53 PM
        3 responses
        25 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by cmtjoancolmenero, Yesterday, 03:40 PM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by ageeholdings, 04-28-2024, 07:43 AM
        2 responses
        24 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Taddypole, 04-26-2024, 02:47 PM
        6 responses
        39 views
        0 likes
        Last Post Rudmax
        by Rudmax
         
        Working...
        X