Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Intra-bar price

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

    Intra-bar price

    Hi,

    I have two minute-bar series in my strategy. It calculates on bar close of series1. Without waiting for series2 to close, I'm currently using its latest intra-bar price from OnMarketData. Is there a way to get this price within OBU instead of using OnMarketData()? similar to GetCurrentBid/Ask, or even from the bar chart?

    #2
    Hello cliffhu,

    Thank you for your post.

    If you want intrabar updates within OBU, you need to use Calculate.OnPriceChange or OnEachTick. There is no way to get intrabar updates directly from OBU using Calculate.OnBarClose.



    Please let us know if you have any further questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    20 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    119 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    63 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    45 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X