Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

StringSeries

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

    StringSeries

    Hi,

    Does a StringSeries need to have a variable for every bar update or can data be added to the dataseries only when a condition is true?

    Regards

    Kay Wai

    #2
    Kay, for DataSeries all values for each barupdate index should be set, as otherwise you could run into exceptions accessing them - you can just set a dummmy value and then filter for this when working with the series later.

    Comment


      #3
      Hi Bertrand,

      Understood. But it is an option that is available, right?

      Comment


        #4
        For example, if you look at the attached chart, if i put a condition to it and at the end of set A, i update the StringSeries, and at the end of set B, i update the StringSeries etc....i should be able to call set D (if we assume A, B, C and D is already included in the StringSeries) and call it as StringSeries[1]?
        Attached Files

        Comment


          #5
          Correct, but for the intermediate values you should still set a data series value even if it's a dummy.

          Comment


            #6
            thank you for your advice bertrand. i will experiment with it for now.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            168 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            322 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            246 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            350 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            179 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Working...
            X