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

Percentile indicator

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

    Percentile indicator

    Hi, everybody.
    I would like to use a percentile indicator on the charts. I think of 2 ways. First, as a specific indicator of an indicator , i.e. user-defined percentile function of 10 day MA.

    Second, more universal, as an indicator that would overlay an indicator that is already plotted. I would prefer the latter, if it's not too slow. I would like to use it on many indicators on many charts at the same time.

    I'm a programming newbie. I couldn't find any mentioning about the percentile function in the manual, nor on the forum.

    Thanks in advance for any suggestions, advice.

    #2
    Hi monnn, unfortunately we can't provide programming services, but maybe some community members can help you out.

    What exactly do you mean by a percentile indicator/function?
    AustinNinjaTrader Customer Service

    Comment


      #3
      I understand.

      For example, you have a 10 minute moving average indicator plotted. Then, you would overlay it with a percentile indicator of that indicator. You would specify the percentiles, i.e. 80th and 20th, and period which would be analyzed, i.e. last 100 bars. The indicator would then plot the 80th percentile and 20th percentile as bands.

      Do you at least know, what is the name for the percentile function in NT language ?

      Thank you.

      Comment


        #4
        Unfortunately there is none in NinjaScript directly, but this general C# link should help you out - http://msdn.microsoft.com/en-us/library/bb545971.aspx
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Update to this old thread...

          I have just uploaded a Percentile indicator to the NT7 file sharing area. It's a fast, efficient algorithm that gives exact results. It's great for plotting median values. I'm currently using it to identify extremes in volume and price range.
          Last edited by anachronist; 10-23-2014, 05:31 PM. Reason: spelling

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by gravdigaz6, Today, 11:40 PM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by MarianApalaghiei, Today, 10:49 PM
          3 responses
          10 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by XXtrader, Today, 11:30 PM
          0 responses
          4 views
          0 likes
          Last Post XXtrader  
          Started by love2code2trade, Yesterday, 01:45 PM
          4 responses
          28 views
          0 likes
          Last Post love2code2trade  
          Started by funk10101, Today, 09:43 PM
          0 responses
          9 views
          0 likes
          Last Post funk10101  
          Working...
          X