Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding Ninza Renko bar type to existing strategy

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

    Adding Ninza Renko bar type to existing strategy

    Hello all,

    I have been playing with this Renko strategy uploaded by NinjaTrader_Jim and it works decently on regular renko bricks but will not work with Ninza unirenko. I know nothing about programming. Is there someone out there that would be willing to fix that issue for a modest cost if it is at all possible?

    The Renko Trading Strategy, as discussed in the December 2019 Stocks and Commodities article titled “Using Renko Charts” by John Devcic.


    Any help would be greatly appreciated!

    Also, if anyone knows of any other ready to go renko automated strategies for NT8 that would be incredible too. I'm just looking for something that I can say "get in at the 2nd bar and trail a stop X ticks behind...

    Paypachaysa

    #2
    Hello paypachaysa,

    Thank you for your post.

    While we in the Support department cannot modify the script on your behalf, it looks like there's a check in in the script to ensure that it's only being used on the specific built-in Renko bar type. I'd imagine that removing this check would allow you to run this on other bar types, though I can't tell you for certain if it will function properly on them.

    If you want to try removing the check, you can open the script using the NinjaScript Editor (New > NinjaScript Editor). You'll find the script in the strategies folder on the right hand side of the Editor window. Double click on it to open it.

    The section you'd want to remove is between lines 84 through 88:

    if(BarsPeriod.BarsPeriodType != BarsPeriodType.Renko)
    {
    Draw.TextFixed(this, "NinjaScriptInfo", "The RenkoStrategy must be ran on a Renko chart.", TextPosition.BottomRight);
    return;
    }

    Removing that then right click on the Editor window > Compile should allow you to run the strategy on other bar types.

    I'm unable to recommend any specific strategies that are specifically Renko based as that could be considered trading advice, but I will leave this thread open in case any of our users have a suggestion.

    Please let us know if we may be of further assistance to you.

    Comment


      #3
      Thank you Kate! I will give it a try!

      Comment


        #4
        Thank you again! Worked like a charm

        Paypachaysa

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        81 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        149 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        79 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        52 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        59 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X