Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

to set DataSeries but don't plot it

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

    to set DataSeries but don't plot it

    i want this

    See pics 1...and Pics2..

    I want as Pics2....i set dataseries every candle but i don't want plot it every candle
    Attached Files

    #2
    Hello,

    Thank you for the post.

    You can accomplish this type of plot by using the Reset() method. This essentially invalidates the index for plotting and marks it as invalid so it can be used with IsValidDataPoint(). There is a sample in the help guide that demonstrates this concept.



    I look forward to being of further assistance.

    Comment


      #3
      Excuse me...

      what is the different of :

      Num.Reset(0)
      or
      Num[0]=0;

      is the same ? (num is series<double>)

      and the different of :

      Num.IsvalidPoint()

      and

      (Num[0]!=0 )

      is the same?

      thank you for explanation
      Last edited by esignal; 03-08-2017, 12:12 PM.

      Comment


        #4
        Hello,

        These would not necessarily be the same.

        The Reset method also triggers the internal marker IsValidDataPoint and affects plotting whereas setting a 0 value to the plot will just place the plot at a 0 value.

        Checking the if condition is similar but in one case you are checking if the point is valid, the second you are checking if its value is not zero.

        I look forward to being of further assistance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        596 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        343 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        556 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        554 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X