Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

UniRenko Open Offset

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

    UniRenko Open Offset

    Hello NinjaTrader_ChelseaB,

    I want to set the Open Offset parameter to zero for UniRenko bars. However, it has a minimum setting of 1.

    After looking at the Add-On code, I cannot determine how. Can you suggest a code snippet to permit Open Offset = 0 when configuring the Data Series via the user interface?

    Thank you.

    #2
    Hi D Trader, thanks for your question.

    The Value and Value2 properties are can only be >= 1. You can manually override it by making your own variable in the script and use that variable in replacement of openOffset variable. Unfortunately, it would not be able to be added to the property grid, unfortunately.

    Please let me know if I can assist any further.

    Comment


      #3
      Thank you NinjaTrader_ChrisL.

      I made a few tweaks to code, and can now manually override the offset.

      One new issue I would appreciate your help with, however. Please see attached screen photo.

      UniRenko is consistently drawing its bars beyond the top and bottom edges of the chart panel as if it didn't recognize the boundaries. Manually scaling the price axis and resetting has no effect.

      Settings in this example were 4 Trend, 2 Offset, 4 Reversal. And obviously candle bar type.

      Can you suggest what might need updating to correct this issue?

      Thank you.


      Click image for larger version

Name:	NT8 Unirenko drawing off screen (18Jun2020).png
Views:	803
Size:	2.8 KB
ID:	1105649

      Comment


        #4
        Hello D Trader,

        Thanks for your reply.

        Please create a new chart with no other indicators and no chart templates used.
        In the data series, please ensure that "auto scale" shows a checkmark.
        Do the bars show correctly?

        If not please post a complete chart screenshot.



        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        558 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 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
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X