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 Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            670 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            379 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            111 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            575 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            582 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X