Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Can the Add() function use custom types?

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

    Can the Add() function use custom types?

    Hi, just wondering if the Add() function has a limited set of period types that it can use, or can it use custom types of chart that one may have loaded on their ninjatrader?

    For example, if I've downloaded a customized range bar type and installed it, would the Add() function be able to use that?

    the end goal is to be able to create an indicator based on multiple "timeframes", or in this case, based on multiple custom range frames.

    #2
    gubbar924, offically unfortunately not be a supported item, however you can look into adding by their internal slot name .i.e. Add(PeriodType.Custom0, 5); Where you would run into challenges if multiple parameters need to be passed though.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      thank you, I'll look into that

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by TraderBCL, Today, 04:38 AM
      1 response
      4 views
      0 likes
      Last Post bltdavid  
      Started by martin70, 03-24-2023, 04:58 AM
      14 responses
      105 views
      0 likes
      Last Post martin70  
      Started by Radano, 06-10-2021, 01:40 AM
      19 responses
      606 views
      0 likes
      Last Post Radano
      by Radano
       
      Started by KenneGaray, Today, 03:48 AM
      0 responses
      4 views
      0 likes
      Last Post KenneGaray  
      Started by thanajo, 05-04-2021, 02:11 AM
      4 responses
      470 views
      0 likes
      Last Post tradingnasdaqprueba  
      Working...
      X