Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Serializing indicators

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

    #31
    You will need to set values for Bullindication in the indicator

    Bullindication.Set();

    Once, you set values you will call that value with -

    MyCustomIndicator().Bullindication[0]
    Cal H.NinjaTrader Customer Service

    Comment


      #32
      Ok. Buy what it do declare bullindicator private Dataseries? If i don't use it

      Comment


        #33
        Originally posted by turbofib View Post
        Ok. Buy what it do declare bullindicator private Dataseries? If i don't use it
        I'm sorry, I don't quite understand. Can you clarify your use case?
        MatthewNinjaTrader Product Management

        Comment


          #34
          i try clarify it...i use google translate for help me..

          I use Bullindication for call then indicator.......ok..it run

          i ask you...declare as below

          private DataSeries bullIndication;
          bullIndication = new DataSeries(this);


          What is it used?

          Comment


            #35
            Originally posted by turbofib View Post
            i try clarify it...i use google translate for help me..

            I use Bullindication for call then indicator.......ok..it run

            i ask you...declare as below

            private DataSeries bullIndication;
            bullIndication = new DataSeries(this);


            What is it used?
            the private variable is used for internal reference of the data series, which is later passed as public.

            Perhaps the following 3rd party reference from MSDN can help clarify these access points:

            All types and type members in C# have an accessibility level that controls whether they can be used from other code. Review this list of access modifiers.
            MatthewNinjaTrader Product Management

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by pvincent, 06-23-2022, 12:53 PM
            14 responses
            238 views
            0 likes
            Last Post Nyman
            by Nyman
             
            Started by TraderG23, 12-08-2023, 07:56 AM
            9 responses
            383 views
            1 like
            Last Post Gavini
            by Gavini
             
            Started by oviejo, Today, 12:28 AM
            0 responses
            1 view
            0 likes
            Last Post oviejo
            by oviejo
             
            Started by pechtri, 06-22-2023, 02:31 AM
            10 responses
            125 views
            0 likes
            Last Post Leeroy_Jenkins  
            Started by judysamnt7, 03-13-2023, 09:11 AM
            4 responses
            59 views
            0 likes
            Last Post DynamicTest  
            Working...
            X