Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ChartBars & ChartControl "Primary Series"

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

    ChartBars & ChartControl "Primary Series"

    How do you define "Primary Series" in charts? Is that according to the "Data Series" Tab Applied Ranking? Due to the quote from the documentation it seems to be the case:

    The ChartBars class provides GUI access related methods and properties to the primary bars series configured on the Chart through the Data Series menu​
    But Then the following code doesn't always return the same result when I have multiple charts under the "hosting grid of the chart" :
    Code:
    Print(ChartBars.Properties.Instrument)
    Print(ChartControl.BarsArray[0].Properties.Instrument)​

    #2
    Hello Curerious,

    The primary series is always the series which you applied the script to. If you have other series loaded in the chart those are not used at all.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    57 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    37 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    18 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    20 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    49 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X