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

How to Add Better Renko bars to Renko Strategy

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

    #16
    bdelorm : If you want renko with wicks you can look into unirenko : https://ninjatraderecosystem.com/use...nko-bartype-8/

    Comment


      #17
      Hello bdelorm,

      Thank you for your reply.

      We do have a video available on Understanding Walk Forward Optimization publicly available on our YouTube channel here:



      Please let us know if we may be of further assistance to you.
      Kate W.NinjaTrader Customer Service

      Comment


        #18
        Hello I want to use BuySell Pressure indicator using Better Renko bars and I checked off Tick replay but it doesnt
        show any historical Buysell signal...is there a reason why?

        Comment


          #19
          Hello bdelorm,

          Thank you for your reply.

          Tick Replay is not compatible with all bar types. Bar types that use RemoveLastBar, such as Renko based bars, are not supported for Tick replay, so you would not be able to use the Buy Sell Pressure indicator historically on a chart using that particular bar type.

          Please let us know if we may be of further assistance to you.
          Kate W.NinjaTrader Customer Service

          Comment


            #20
            Hi everyone,

            Regarding BetterRenko in a Strategy file, is there a way to add BetterRenko bar type via AddDataSeries to a strategy? I want to reference multiple BetterRenko bar types within a single strategy file and I don't see a way to do this.

            Thank you,
            Tim




            Comment


              #21
              Hello ozziyhtmot,

              The BarsPeriodType index from the custom BarsType will need to be used with your AddDataSeries call. The BarsPeriodType index will then need to be casted as BarsPeriodType.

              Tips from AddDataSeries Documentation:

              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() { BarsPeri odType = (BarsPeriodType)14, Value = 10, Value2 = 20 });
              https://ninjatrader.com/support/help...dataseries.htm

              The source code for the BetterRenko BarsType can be referenced to get the BarsPeriodType index for that custom BarsType.

              Code:
              BarsPeriod                    = new BarsPeriod { BarsPeriodType = (BarsPeriodType) 17, BarsPeriodTypeName = "BetterRenko(17)", Value = 1 };
              Documentation on working with Multi Time Frame scrips can be found here - https://ninjatrader.com/support/help...nstruments.htm

              We look forward to assisting.
              JimNinjaTrader Customer Service

              Comment


                #22
                That worked thanks Jim!




                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by pvincent, 06-23-2022, 12:53 PM
                14 responses
                238 views
                0 likes
                Last Post Nyman
                by Nyman
                 
                Started by TraderG23, 12-08-2023, 07:56 AM
                9 responses
                383 views
                1 like
                Last Post Gavini
                by Gavini
                 
                Started by oviejo, Today, 12:28 AM
                0 responses
                1 view
                0 likes
                Last Post oviejo
                by oviejo
                 
                Started by pechtri, 06-22-2023, 02:31 AM
                10 responses
                125 views
                0 likes
                Last Post Leeroy_Jenkins  
                Started by judysamnt7, 03-13-2023, 09:11 AM
                4 responses
                59 views
                0 likes
                Last Post DynamicTest  
                Working...
                X