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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    581 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    338 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
    554 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    552 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X