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 WHICKED, Today, 12:45 PM
            2 responses
            18 views
            0 likes
            Last Post WHICKED
            by WHICKED
             
            Started by GussJ, 03-04-2020, 03:11 PM
            15 responses
            3,274 views
            0 likes
            Last Post xiinteractive  
            Started by Tim-c, Today, 02:10 PM
            1 response
            8 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by Taddypole, Today, 02:47 PM
            0 responses
            3 views
            0 likes
            Last Post Taddypole  
            Started by chbruno, 04-24-2024, 04:10 PM
            4 responses
            51 views
            0 likes
            Last Post chbruno
            by chbruno
             
            Working...
            X