Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

HMA Cross

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

    HMA Cross

    Hello,

    I know how to program the crossing of a standard Moving Average in NinjaScript, ie:

    High[0] >= SMA(100)[0] && Low[0] <= SMA(100)[0]

    Now, I'd like to do the same with the HMA (Hull Moving Average), but I don't know how to correctly call this indicator.
    Any pointers would be much appreciated.

    Thanks.

    #2
    Hello laocoon,

    For this type of question we suggest using the strategy wizard to generate the code for you. You can form the condition that you wanted and then click View Code to see the generated indicator code. You can also find samples of how to call each indicator in their respective help guide page: https://ninjatrader.com/support/help...ghlightsub=hma

    The HMA takes only 1 parameter like the SMA so it is very similar in the way that you would call it.

    Comment


      #3
      Using Ninja data which goes back to 2009 on some futures ... it seems their are several ways to download the data. I was told to first click on files in the loaded section then get the file via download using a data range. What is the easiest way to obtain all the history on futures files? Thanks
      Last edited by NinjaTrader_Manfred; 10-09-2023, 05:24 PM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      558 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      324 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
      546 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      547 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X