Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OBU vs OR

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

    OBU vs OR

    Hello,

    I migrated a part of my code from OnRender to OnBarUpdate, strangely the result is quite different even if its about the same code.
    Is it possible, just to move from OR to OBU, it alter the logic of the calculation?

    Thank you

    #2
    Hello frankduc,

    Is it possible, just to move from OR to OBU, it alter the logic of the calculation?

    That would depend on what you made, however OnRender and OnBarUpdate are not the same concept so there will be differences in how you would write logic for each. The short answer is likely no.

    OnBarUpdate is the progression of bar data points and is driven by market data. OnRender is a rendering outlet, this is called for many reasons. Logic used in OnRender would need to be programmed differently than OnBarUpdate because these are for two different purposes.

    If you are converting code from OnRender to OnBarUpdate, that is something you will need to step through your logic and make necessary modifications where needed. Generally OnRender is used in combination with OnBarUpdate (see pivots, zigzag) to render data which was calculated in OnBarUpdate.

    Please let me know if I may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    599 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    344 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    558 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    557 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X