Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Data series

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

    Data series

    Hello,

    Im looking to develop a strategy within strategy builder but want to use a custom range bar for the data series. Is this possible? I don’t see an option outside of the ones provided.

    Thanks

    #2
    Hello Vozdovac,

    The primary series will be selected in the Data Series window from the chart, or will be selected in the Data Series section of the parameters when backtesting the script or running directly from the Strategies tab of the Control Center.

    Yes, you can open a Range chart and enable a strategy on it, yes you can select Range bars in the Data Series parameters when adding an instance of the strategy to the Strategies tab of the Control Center or when backtesting in the Strategy Analyzer.

    Below is a public link to the Strategy Builder 301 video which demonstrates how to run a strategy.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChelseaB View Post
      Hello Vozdovac,

      The primary series will be selected in the Data Series window from the chart, or will be selected in the Data Series section of the parameters when backtesting the script or running directly from the Strategies tab of the Control Center.

      Yes, you can open a Range chart and enable a strategy on it, yes you can select Range bars in the Data Series parameters when adding an instance of the strategy to the Strategies tab of the Control Center or when backtesting in the Strategy Analyzer.

      Below is a public link to the Strategy Builder 301 video which demonstrates how to run a strategy.
      https://www.youtube.com/watch?v=HCyt...utu.be&t=1h25s

      The custom range bar I want to use is from a third party. I don't see an option for my custom bar in the Data Series section of the parameters. Will I be able to select from the chart? The goal is to develop the strategy and use market reply data to test it. I am hoping that I don't need to re-code the custom bar type again. Please advise.

      Thanks!

      Comment


        #4
        Hello Vozdovac,

        If the bar type has been imported, this would be listed in the Type drop-down of the Data Series window.

        Have you restarted NinjaTrader since importing the bar type script?

        Was this imported from the original .zip by clicking Tools > Import > NinjaScript Add-on...?
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          I imported it a while ago and it functions without any issues. Is there a reason why it doesn't show within the Data Series drop-down menu within strategy builder?

          Thanks

          Comment


            #6
            Hello Vozdovac,

            To confirm you are trying to add a secondary series and you are not using this as the primary series?

            The Strategy Builder is limited and does not have the ability to add custom bar types for secondary series. You would need to unlock the script and use AddDataSeries() (or AddRenko(), whichever this script has been designed to use).

            The Strategy Builder is also not capable of math.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              I’m not sure what you mean by primary or secondary but I want to use the custom bar type for all of the testing etc.

              Comment


                #8
                Hello Vozdovac,

                The primary series is the series selected on the chart.

                The Additional Data page of the Strategy Builder is so that you can use AddDataSeries() to add a secondary series and have two series running in the script.

                Are you trying to work with two series or just one?

                If just one, you don't have to code it. You can just selected the bar type you want when opening the chart or when running the script.
                Chelsea B.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by NullPointStrategies, Yesterday, 05:17 AM
                0 responses
                65 views
                0 likes
                Last Post NullPointStrategies  
                Started by argusthome, 03-08-2026, 10:06 AM
                0 responses
                139 views
                0 likes
                Last Post argusthome  
                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                0 responses
                75 views
                0 likes
                Last Post NabilKhattabi  
                Started by Deep42, 03-06-2026, 12:28 AM
                0 responses
                45 views
                0 likes
                Last Post Deep42
                by Deep42
                 
                Started by TheRealMorford, 03-05-2026, 06:15 PM
                0 responses
                50 views
                0 likes
                Last Post TheRealMorford  
                Working...
                X