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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      161 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      308 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      245 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      349 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X