Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Calling custom indicator within indicator

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

    Calling custom indicator within indicator

    I have a custom indicator A which exposes some properties/variables ie InsSeries and DataSeries defined in the class.

    I have looked around the forums to find examples and how to proceed with this.

    How can i access these elements/dataseries from within another indicator B.

    The indicator A is loaded onto the same chart.

    I note for strategies there is the Add() function to add/load an indicator.

    What is the equivalent in indicator and do i need to create a new dataseries to store the results to then access within the indicators

    Some guidance on this would be appreciated

    thanks

    #2
    soulfx, only strategies could add in indicators for visualization. Plots in general would be exposed to access for any indicator, for a custom variable or dataseries a custom handling as shown in our sample below would be needed - http://www.ninjatrader.com/support/f...ead.php?t=4991

    Comment


      #3
      Thanks, i did see this coding example and was trying to see the nuggets within.
      The problem was it is a vendor product and i was awaiting some clarification on this.
      I believe they are plot values i am trying to access and see the distinction on they would expose non-plot values via the Properties section in the code,
      I managed to figure it out and access the values - the parameter order to invoke the indicator was different to the way it is seen when loading onto a chart. So i think for now i am good to go
      thanks for help

      Comment


        #4
        Ok, glad to hear you could make it work for you.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        169 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        326 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        252 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        353 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        180 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X