Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Call Custom Indicator

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

    Call Custom Indicator

    Hello,

    I have created a custom indicator which takes one parameter. The indicator works fine.
    Now i want to call it from another Custom Indicator.
    I write the followings but i get nothing for result, i am somewhere wrong.

    private Indicator mine;

    protected override void OnBarUpdate()
    {

    Test.Set(mine.MyAdxRsiPraCC(14)[0]);
    }

    What type of prices it returns?

    #2
    Hi ManosFM,

    Thanks for your note.

    Does Print(MyAdxRsiPraCC(14)[0]); print anything to the output window?

    Can we see the MyAdxRsiPraCC code?

    Is Test a public data series that returns Values[0]?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello,

      Thank you for answer but i have managed to work.

      The solution was this:

      Test.Set(MyAdxRsiPraCC(14).Plot01[0]);

      I didn't wrote from which plot the data is.

      Now is working.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      573 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      331 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
      549 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      550 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X