Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reset values in a DataSeries

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

    Reset values in a DataSeries

    Hi,

    I am trying to reset values in a DataSeries to prevent them from plotting.
    0 and AutoScale false are fine but it looks a bit ugly on the charts when NT plots a vertical line from 0 to a new value.

    If i set it to double.NaN, the whole plot disappears.

    Hope someone got a nifty solution.

    Cheers

    #2
    Please check out .Reset at the data series. And .ContainsValue (NT 6.5) to check if there is a value at a data point.
    DierkNinjaTrader Customer Service

    Comment


      #3
      That was easy , looks a lot better now.

      Thank you Dierk

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by JakeOfSpades, Yesterday, 08:36 AM
      5 responses
      46 views
      0 likes
      Last Post hedgeplay  
      Started by MarkF60, Yesterday, 05:25 AM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by soon123, 03-05-2021, 10:15 PM
      2 responses
      12 views
      0 likes
      Last Post soon123
      by soon123
       
      Started by soon123, 03-05-2021, 09:48 PM
      3 responses
      9 views
      0 likes
      Last Post soon123
      by soon123
       
      Started by Amaria77, 03-05-2021, 08:21 PM
      2 responses
      14 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X