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 cmoran13, 04-16-2026, 01:02 PM
    0 responses
    44 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    27 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    163 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    98 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    158 views
    2 likes
    Last Post CaptainJack  
    Working...
    X