Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 Indicator AddDataSeries custom BarsType

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

    NT8 Indicator AddDataSeries custom BarsType

    Is it possible to add a dataseries to an indicator with a custom barstype?

    Assume the following:

    Code:
    AddDataSeries("EURUSD", Data.BarsPeriodType.Tick, 1, Data.MarketDataType.Last);
    How can I add my custom BarsType FilteredTick as it is not part of the BarsPeriodType. Thanks.

    #2
    Hello fxRichard,

    Thank you for writing in.

    Please take a look at the AddDataSeries() help guide link: https://ninjatrader.com/support/help...dataseries.htm

    You can add a custom BarsType which is installed on your system by casting the registered enum value for that BarsPeriodType. For example:
    AddDataSeries((BarsPeriodType)14, 10);
    This value will be found in the BarsPeriod property of your bars type.

    Please, let us know if we may be of further assistance.
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      Ahhh got it, thanks Zachary

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      131 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      74 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      117 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      111 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      89 views
      0 likes
      Last Post CarlTrading  
      Working...
      X