Announcement

Collapse
No announcement yet.

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 Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        576 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X