Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Accessing dataseries from another Indicator

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

    #16
    Hi Chelsea,

    Thanks for your reply, this refers to something I still don't understand.

    When I code this :-

    private MyIndy1 Indy1;

    protected override void OnStartUp()
    {
    MyIndy1 = Indy1(param list....)
    }

    does that mean I am creating a reference to the instance that exists in the chart? Or am I creating a new instance?

    Would you be able to explain?

    Thanks,
    Will.

    Comment


      #17
      Hello dontpanic,

      You are creating a new instance of the indicator from the strategy. This instance is not directly added to a chart. There is no ChartControl for the indicator.
      Chelsea B.NinjaTrader Customer Service

      Comment


        #18
        Ok, I see the difference, thanks.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        83 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        45 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        65 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        68 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        57 views
        0 likes
        Last Post CarlTrading  
        Working...
        X