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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      152 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      305 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      244 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      345 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      176 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X