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 kinfxhk, 07-14-2026, 09:39 AM
            0 responses
            127 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 10:18 AM
            0 responses
            105 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 09:50 AM
            0 responses
            85 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 07:21 AM
            0 responses
            105 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-11-2026, 02:11 AM
            0 responses
            86 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Working...
            X