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 rhyminkevin, Today, 04:58 PM
                4 responses
                52 views
                0 likes
                Last Post dp8282
                by dp8282
                 
                Started by iceman2018, Today, 05:07 PM
                0 responses
                5 views
                0 likes
                Last Post iceman2018  
                Started by lightsun47, Today, 03:51 PM
                0 responses
                7 views
                0 likes
                Last Post lightsun47  
                Started by 00nevest, Today, 02:27 PM
                1 response
                14 views
                0 likes
                Last Post 00nevest  
                Started by futtrader, 04-21-2024, 01:50 AM
                4 responses
                50 views
                0 likes
                Last Post futtrader  
                Working...
                X