Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add NinzaRenko and 5minute chart to the Strategy

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

    Add NinzaRenko and 5minute chart to the Strategy

    My strategy is based on NinzaRenko bars and 5minute chart. How can I add NinzaRenko chart to 5minute chart in a strategy?Some of indicators are based on NinzaRenko and Some of them are based on regular 5 minutes chart. There is Addrenko function but I could not find anything about NinzaRenko. Is there a way to implicity add custom chart to a known chart like 5minutes?

    #2
    Hello bahmaniq,

    You would need to use the AddDataSeries for custom bars types.



    From the help guide page for AddDataSeries:
    Tips:

    2. You can add a custom BarsType which is installed on your system by casting the registered enum value for that BarsPeriodType. For example: AddDataSeries((BarsPeriodType)14, 10);

    3. You can specify optional BarsPeriod values (such as Value2) of a custom BarsType in the BarsPeriod object initializer. For example: AddDataSeries(new BarsPeriod() { BarsPeriodType = (BarsPeriodType)14, Value = 10, Value2 = 20 });
    You can use the bars type identifier scripts on the public user app share to find out what the ID of the bars type you are using is: https://ninjatraderecosystem.com/use...pe-identifier/

    JesseNinjaTrader Customer Service

    Comment


      #3
      Also, recommend you go to the third-party website where you
      got the Ninza Renko bars and read it carefully.

      It tells you integer value for BarsPeriodType in the Overview section,

      "To other vendors/developers: ninZaRenko’s ID is 12345. Each custom
      bar type on the market should have a different ID, so that ID interference
      can be avoided.​"
      Last edited by bltdavid; 12-12-2022, 05:43 PM.

      Comment


        #4
        I was curious and looked up ninzarenko bars, it doesn't look any different than UniRenko bars. And it doesn't require ID#'s to mess with.

        There free on the site these are the settings that I use because there uniformed.

        2-4-9,

        2-6-14,

        2-12-26.

        They look exactly the same as ninzarenko bars.

        Two cents you can gladly pay me on Wednesday. (Reference, that guy that was always eating hamburgers on Popeye)
        Last edited by trdninstyle; 12-13-2022, 10:22 AM. Reason: Separated the #'s more

        Comment


          #5
          Originally posted by trdninstyle View Post
          And it doesn't require ID#'s to mess with.
          What do you mean?
          Every custom BarsType has a unique ID# associated with it.

          NinzaRenko and UniRenko are both custom BarTypes, ergo, by definition,
          they will have a ID# that you must specify when used with AddDataSeries.

          Comment


            #6
            That ID thought it was referring to something else like from a purchase because when I looked it up it was for $0 so u needed a purchase ID making it more complicated than necessary.
            But I see what u are saying now.

            Are you the one who created the BltTriggerLine? I use that a lot, thanks for making it.

            Comment


              #7
              Originally posted by trdninstyle View Post
              Are you the one who created the BltTriggerLine? I use that a lot, thanks for making it.
              Yep, that's me. Guilty as charged.

              Thank you for your kind words.



              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by aworldnervelink, Today, 09:38 AM
              5 responses
              11 views
              0 likes
              Last Post eDanny
              by eDanny
               
              Started by timwey, Today, 10:55 AM
              1 response
              5 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by Helmstead, Today, 10:15 AM
              1 response
              5 views
              0 likes
              Last Post NinjaTrader_LuisH  
              Started by samish18, 08-30-2024, 03:10 PM
              42 responses
              310 views
              0 likes
              Last Post samish18  
              Started by yaniv, Today, 10:09 AM
              1 response
              13 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Working...
              X