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

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.
    JesseNinjaTrader Customer Service

    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 Haiasi, 04-25-2024, 06:53 PM
      2 responses
      16 views
      0 likes
      Last Post Massinisa  
      Started by Creamers, Today, 05:32 AM
      0 responses
      4 views
      0 likes
      Last Post Creamers  
      Started by Segwin, 05-07-2018, 02:15 PM
      12 responses
      1,785 views
      0 likes
      Last Post Leafcutter  
      Started by poplagelu, Today, 05:00 AM
      0 responses
      3 views
      0 likes
      Last Post poplagelu  
      Started by fx.practic, 10-15-2013, 12:53 AM
      5 responses
      5,407 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Working...
      X