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 CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    25 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    19 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    182 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    335 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    260 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X