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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        29 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        17 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        9 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        16 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        19 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X