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

Smoothed MA

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

    Smoothed MA

    I am in the process of converting some code from Esignal and Ensign and am finding some basic functions are missing. I wrote a smoothed MA, which is based on Welles Wilders Smoothed MA calculation.

    This one is based on close as a source. I will update it to include other sources as well as the ability to make the source another indicator once I figure out how to do that.

    I can't believe there is not a source of HL/2 or HLC/3. I will write those as well, good thing idataseries objects are easy to use. Or am I missing something.

    As this is my first attempt at an indicator, feel free to improve on it, but please post it for the rest of us to use.

    Warm Regards

    Todd
    Attached Files

    #2
    Todd, thanks for sharing you can use Median and Typical for those tasks.



    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks... I missed that. I saw in the examples that sources was only a O,H,L,C or V so assumed you had to write your own. This will save me some time.

      Why not call it HLC3() or something? Or at least create an alias..
      Last edited by philli4093; 02-05-2010, 08:24 AM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by nicthe, 08-23-2023, 07:53 AM
      7 responses
      195 views
      0 likes
      Last Post nicthe
      by nicthe
       
      Started by nicthe, Today, 09:24 AM
      0 responses
      2 views
      0 likes
      Last Post nicthe
      by nicthe
       
      Started by stalt, 12-28-2015, 01:36 PM
      6 responses
      1,536 views
      0 likes
      Last Post giulyko00  
      Started by Tburg1073, Today, 08:36 AM
      0 responses
      5 views
      0 likes
      Last Post Tburg1073  
      Started by alexstox, 10-16-2018, 03:29 PM
      10 responses
      333 views
      0 likes
      Last Post Tburg1073  
      Working...
      X