Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Getting correct indicator output

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

    Getting correct indicator output

    Hello support team,
    I have a purchased indicator that gives oscillator with 4 colours depending whether it is positive or negative, and expanding or contracting, similar to the Awesome Oscillator. The problem I have is that whereas AO give AO value beside AO positive and AO negative, this purchased indicator only give the 4 plots, only one is active at one time obviously. I need to use the output of that indicator in my own indicator. How can I tell at each bar close, which value of the four to use ?

    Thanks.

    Regards.

    Edward K.

    #2
    With purchased indicators sometimes you can find a non-plotting data series by trial and error. Take another indicator and reference your purchased indicator with some print statements.

    Print("Series1 " + IndicatorName(Close, X, X)[0][0]);
    Print("Series2 " + IndicatorName(Close, X, X)[1][0]);
    Print("Series3 " + IndicatorName(Close, X, X)[2][0]);
    Print("Series3 " + IndicatorName(Close, X, X)[3][0]);
    Print("Series4 " + IndicatorName(Close, X, X)[4][0]);

    Something like that (syntax may be off) and see what prints out.
    eDanny
    NinjaTrader Ecosystem Vendor - Integrity Traders

    Comment


      #3
      Edward, I would suggest contacting the author of the indicator for the best method to capture the values.
      AustinNinjaTrader Customer Service

      Comment


        #4
        Getting correct output - Solved

        Hello,

        I just stumble on the solution while working on dataseries. The help guide shows method to check for valid values, by calling DataSeries.ContainsValue(BarsAgo)
        Just implemented and it works.
        Thanks all for the response.

        Regards,

        Edward K.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        576 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X