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 inanazsocial, Today, 01:15 AM
                1 response
                5 views
                0 likes
                Last Post NinjaTrader_Jason  
                Started by rocketman7, Today, 02:12 AM
                0 responses
                6 views
                0 likes
                Last Post rocketman7  
                Started by dustydbayer, Today, 01:59 AM
                0 responses
                1 view
                0 likes
                Last Post dustydbayer  
                Started by trilliantrader, 04-18-2024, 08:16 AM
                5 responses
                22 views
                0 likes
                Last Post trilliantrader  
                Started by Davidtowleii, Today, 12:15 AM
                0 responses
                3 views
                0 likes
                Last Post Davidtowleii  
                Working...
                X