Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Range(4) Bar Values (OHLC) in script differ from Chart Values

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

    Range(4) Bar Values (OHLC) in script differ from Chart Values

    I have a Range 4 Chart and I want to use bar values in my indicator script. Now I see that they are not the same, as I see on my chart window. Do I make an mistake ?
    (Attached picture show the values drawn from script in onBarUpdate under the bar, and Chart-Values)
    Thank you for help
    Attached Files

    #2
    Hello Trade-it,

    We would not be able to determine the problem from the image alone, you will need to post a sample of what you are doing so we have the context here. Please provide a simple example of the text you are drawing on the chart. We would specifically need to see the draw statement you used and the variables you used for the text.


    Another item to check would be other bar series, you mentioned range specifically so if that relates to the problem try 1 minute or a time based series as a test to see if the same result happens.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    40 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    27 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    45 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    37 views
    0 likes
    Last Post CarlTrading  
    Working...
    X