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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      128 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      73 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      116 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      109 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      88 views
      0 likes
      Last Post CarlTrading  
      Working...
      X