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

How do I add 3LPB chart to an indicator?

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

    How do I add 3LPB chart to an indicator?

    I want to add a 3LPB dataseries for my indicator to calculate on, but I'm having trouble grokking it.

    Code:
    protected override void Initialize()
            {
    			Add(Instrument.FullName,PeriodType.LineBreak,1024);
            }
    What I want is to add a 3LPB 1024 tick dataseries. I don't get where to specify ticks though.

    #2
    Hi Zwentz,

    You can use AddLineBreak() for this:
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Ah, I should have searched first, my mistake, thanks Ryan.

      Comment


        #4
        Reviving an older thread here. How would you Add a custom LineBreak bar type since you need a completely specialized AddLineBreak to just add the standard version?


        Dan
        eDanny
        NinjaTrader Ecosystem Vendor - Integrity Traders

        Comment


          #5
          Hello,

          Thanks for the forum post Dan.

          Unfortunately would not be able to add this in code at this time and no supported methods for doing this.

          Let me know if I can be of further assistance.

          Comment


            #6
            Thanks Brett, I kinda knew that but posted so that you could make it a request for the future. We would need a new generic Add function for these different types of charts.

            Dan
            eDanny
            NinjaTrader Ecosystem Vendor - Integrity Traders

            Comment


              #7
              Hi Dan,

              Thanks for the suggestion. We have assigned this request as #982 in our tracking system.
              Ryan M.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by jaybedreamin, Today, 05:56 PM
              0 responses
              2 views
              0 likes
              Last Post jaybedreamin  
              Started by DJ888, 04-16-2024, 06:09 PM
              6 responses
              18 views
              0 likes
              Last Post DJ888
              by DJ888
               
              Started by Jon17, Today, 04:33 PM
              0 responses
              1 view
              0 likes
              Last Post Jon17
              by Jon17
               
              Started by Javierw.ok, Today, 04:12 PM
              0 responses
              6 views
              0 likes
              Last Post Javierw.ok  
              Started by timmbbo, Today, 08:59 AM
              2 responses
              10 views
              0 likes
              Last Post bltdavid  
              Working...
              X