Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get price range of chart

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

    Get price range of chart

    Hi

    How can I find out in script what is the highest price of chart and the lowest price in chart ?
    The question has nothing to do with the bars in the chart , just the price axis.

    Found it:
    double minValue=chartScale.MinValue;
    double maxValue=chartScale.MaxValue;
    Last edited by doron; 03-27-2016, 02:26 PM.

    #2
    Thanks for posting the solution you found.

    I would also advise ensuring you have chartScale != null checks as well prior to accessing them.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, Today, 06:46 AM
    0 responses
    8 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, Yesterday, 05:21 PM
    0 responses
    13 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    15 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    82 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    47 views
    0 likes
    Last Post PaulMohn  
    Working...
    X