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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      173 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      90 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      129 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      208 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      186 views
      0 likes
      Last Post CarlTrading  
      Working...
      X