Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DynamicSR Indicator NT8

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

    #16
    Originally posted by NinjaTrader_Jim View Post
    Thanks for your patience.

    This script has been updated: https://ninjatraderecosystem.com/use...indicator-nt8/

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    Please could you "translate into near to spoken English" these two (HH and LL) lines of the code, ie explain what they are doing.

    "
    else if (State == State.DataLoaded)
    {
    HMA1 = HMA(Period);

    HH = MAX((Input is PriceSeries || Input is NinjaTrader.Data.Bars) ? High : Input, 10);
    LL = MIN((Input is PriceSeries || Input is NinjaTrader.Data.Bars) ? Low : Input, 10);
    "

    is it perhaps (?) :
    "? High : Input" = select the highest value of either one of the two data series within previous ( )
    10 = for the last twn bars

    I could not find on the online ninjascript help a reference explaining this use of MIN and MAX

    Thank you.
    Last edited by guidoisot; 10-02-2020, 01:26 AM.

    Comment


      #17
      Hello guidoisot,

      The code checks if the input series (the series we are feeding the indicator) is a PriceSeries or Bar data (which would have OHLC values) or is a series from an indicator plot. We would then use High/Low if we have regular price data, or we would use Input (the input series) if the input is an indicator plot.

      We then use MAX and MIN to find the highest high and the lowest low for the last 10 bars.

      MAX and MIN documentation can be found below.

      MAX - https://ninjatrader.com/es/support/h...aximum_max.htm

      MIN - https://ninjatrader.com/es/support/h...inimum_min.htm

      Publicly available documentation on Ternary operators can be found here - https://www.tutorialsteacher.com/csh...rnary-operator

      We look forward to assisting,

      Comment


        #18
        Thank you !

        Comment


          #19
          Hello All,
          First post on the site, so forgive me if I am not doing it correctly. I just installed the Dynamic SR indicator. My question is on selecting the best parameters to use for my trading. I am using a 2000 tick chart, day trading the ES emini. Are the default settings workable for this level tick chart ? If you have a recommendation I would like to hear it.
          Thanks

          Comment


            #20
            Welcome to the forums Chrispy!

            While I cannot recommend settings to use to generate good trading signals, I can share that the default settings do work on a 2000 tick chart without issue.

            We will leave this thread open for any community feedback if others using this indicator would like to share the settings they use.

            Comment


              #21
              Thanks. I like what I see so far. I welcome any other input.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              571 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              330 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              101 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              548 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              548 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X