• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Remove Series in Indicator

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

    Remove Series in Indicator

    Is it possible to remove a series from a chart in the indicator?

    I add 1 tick data in the Initialize() method w/
    Code:
    Add(PeriodType.Tick,1);
    Is it possible to remove this series from the chart after i'm done processing the data for it?

    The reason is because OnMarketData is giving me duplicate updates for the original series and the 1 Tick data series, which is not what I want.

    #2
    habibalex, you could unfortunately not remove a once added series. For added in series you could see duplicate events then thrown, the BarsInProgress is set here for the first series for the instrument and could only be used to differentiate between instruments added (not series).
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by lomaduza, Today, 11:46 PM
    0 responses
    4 views
    0 likes
    Last Post lomaduza  
    Started by jiknonikkocv, Today, 11:23 PM
    0 responses
    4 views
    0 likes
    Last Post jiknonikkocv  
    Started by luxurious_04, Yesterday, 07:13 PM
    2 responses
    10 views
    0 likes
    Last Post luxurious_04  
    Started by swcooke, Today, 07:35 PM
    0 responses
    5 views
    0 likes
    Last Post swcooke
    by swcooke
     
    Started by Miguel_88, Today, 06:41 PM
    0 responses
    6 views
    0 likes
    Last Post Miguel_88  
    Working...
    X