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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      41 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      28 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      45 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      37 views
      0 likes
      Last Post CarlTrading  
      Working...
      X