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 to add better linebraek bars

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

    how to add better linebraek bars

    Good day can someone please let me know how to add betterlineabreak bars wicked
    Add(PeriodType.Custom9, 50002);
    i will like 50 tick with 2 line break.


    thanks in advance

    #2
    Hello misalto,

    Do you have a file that you are trying to import or are you asking for a download link for this custom bar type?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      I have the file
      and i will like to add the bar type to a multitimeframe indicator i have.

      Comment


        #4
        Hi misalto,

        Custom bar types are not fully supported in NinjaTrader 7. I'm not aware of a way to call this bar type and be able to set the parameters needed.

        With NinjaTrader 8, this would be possible. For example:
        Code:
        BarsPeriod secondaryPeriod = new BarsPeriod()
        {
        	BarsPeriodType = (BarsPeriodType)14,
        	Value = 10
        };
        AddDataSeries(secondaryPeriod);
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by lorem, Yesterday, 09:18 AM
        4 responses
        13 views
        0 likes
        Last Post lorem
        by lorem
         
        Started by Spiderbird, Today, 12:15 PM
        0 responses
        5 views
        0 likes
        Last Post Spiderbird  
        Started by cmtjoancolmenero, Yesterday, 03:58 PM
        12 responses
        42 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by FrazMann, Today, 11:21 AM
        0 responses
        6 views
        0 likes
        Last Post FrazMann  
        Started by geddyisodin, Yesterday, 05:20 AM
        8 responses
        52 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X