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 sjsj2732, 03-23-2026, 04:31 AM
      0 responses
      70 views
      0 likes
      Last Post sjsj2732  
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      312 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      306 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      147 views
      1 like
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      111 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Working...
      X