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 trilliantrader, Today, 08:16 AM
            2 responses
            6 views
            0 likes
            Last Post trilliantrader  
            Started by samish18, Today, 08:31 AM
            1 response
            1 view
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by Creamers, 09-08-2023, 10:26 AM
            6 responses
            157 views
            0 likes
            Last Post JonyGurt  
            Started by funk10101, Today, 08:14 AM
            1 response
            2 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by bill2023, Yesterday, 08:51 AM
            3 responses
            22 views
            0 likes
            Last Post bltdavid  
            Working...
            X