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 Mindset, 04-21-2026, 06:46 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            144 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            71 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            125 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            79 views
            0 likes
            Last Post PaulMohn  
            Working...
            X