Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

way to get price based on time in range bar chart

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

    way to get price based on time in range bar chart

    I am using a range bar chart. I want to draw a line representing market open.

    My indicator currently uses tick based data and looks at the tick's time. When the tick's time is at the desired time, the indicator gets the price and wala I have the market open.

    But, if I refresh the screen, I loose this tick based informaiton. My indicator currently resorts to the open of the 1st range bar, which typically is not the open of the market.

    I do know the exact open value is available from a "Time Based" chart, say for example the 5 minute chart.

    Is there a way to obtain "Time Based" bar data from within a "Range Bar" based chart/indicator?

    Example code to look at would be super....

    #2
    tulanch, yes this would be possible with a MultiSeries indicator in our NT7 release, you can Add() a time based series in the Initialize() and then access this bar data via BarsArray, Opens, Closes, Highs, Lows and Times -

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by sjsj2732, 03-23-2026, 04:31 AM
    0 responses
    42 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    295 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    290 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    135 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    98 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X