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

MTF and DataSerie with more one period value.

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

    MTF and DataSerie with more one period value.

    I need add one PointAndFigure dataserie to a multi-timeframe indicator.
    And I want customize its period values: Base period value, Box size and Reversal when I call the Add method.
    However, the Add method only allows modify one period value (i guess that the main period: Base period value).

    How can I get customizing all period values of this dataserie?

    Thanks in advance.

    #2
    Hello cls71,

    Thank you for your post.

    Please refer to the following link for information on the AddPointAndFigure() method: http://www.ninjatrader.com/support/h...tandfigure.htm

    Comment


      #3
      Thanks Patrick,

      but if instead one PointAndFigure dataserie, it was one CustomType DataSerie ?

      I see there are some 'Add' methods to dataseries with several period values: AddKagi, AndLineBreak, AddPointAndFigure and AddRenko ... But for custom types ???

      Thanks in advance.

      Comment


        #4
        Hello cls71,

        Thank you for your response.

        Adding the custom bar types will not always work as they may have more than one parameter for their bar type, but an example would be the bar type that has the slot for Custom0:
        Code:
        Add(PeriodType.Custom0, 1);
        You can find more information at the following link: http://www.ninjatrader.com/support/f...35&postcount=4

        Please let me know if you have any questions.

        Comment


          #5
          Thanks Patrick,

          Then is not possible add a custom bar type and set all its period values, when there is more one period value.

          Comment


            #6
            Hello cls71,

            That is correct.

            Comment


              #7
              ok,

              do you know if this function will be included in NinjaTrader 8 ?

              Comment


                #8
                Hello cls71,

                Thank you for your response.

                I do not know for certain that this will be added to the next major release of NinjaTrader. I do know that there are plans to improve and vastly expand what is currently available in NinjaScript.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by andrewtrades, Today, 04:57 PM
                1 response
                4 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by chbruno, Today, 04:10 PM
                0 responses
                3 views
                0 likes
                Last Post chbruno
                by chbruno
                 
                Started by josh18955, 03-25-2023, 11:16 AM
                6 responses
                436 views
                0 likes
                Last Post Delerium  
                Started by FAQtrader, Today, 03:35 PM
                0 responses
                6 views
                0 likes
                Last Post FAQtrader  
                Started by rocketman7, Today, 09:41 AM
                5 responses
                19 views
                0 likes
                Last Post NinjaTrader_Jesse  
                Working...
                X