Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

UniRenko "Open Offset" to zero or -1 (ChelseaB or D Trader)

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

    UniRenko "Open Offset" to zero or -1 (ChelseaB or D Trader)

    I'm trying to figure out how to be able to set the Open Offset for the UniRenko bar type to 0 or preferably -1 even
    although the -1 isn't totally neccessary.
    I've tried changing all of the code lines referencing the Open Offset to no avail.
    Any assistance would be greatful.
    Thank you in advance.

    #2
    Hello Randwulf,

    Thank you for your post.

    As my colleague advised to D Trader in the following post, "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"In the UniRenko script, the "Open Offset" property on the UI is the BaseBarsPeriodValue property that was named "Open Offset" by SetPropertyName():


    You would need to replace the value for BaseBarsPeriodValue where it appears in the script with your hard-coded value, whether that is 0 or -1. Again, it would not be added to the property grid so it won't be available to change the value on the UI.

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

    Comment


      #3
      Thank you Emily for giving me something else to look into.
      In that posting thread you referenced, D Trader says he was able to modify the code to work.
      I can only assume that it was with the reservations that you alluded to.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      613 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      357 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      561 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      566 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X