Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 mattbsea, Today, 05:44 PM
      0 responses
      3 views
      0 likes
      Last Post mattbsea  
      Started by RideMe, 04-07-2024, 04:54 PM
      6 responses
      31 views
      0 likes
      Last Post RideMe
      by RideMe
       
      Started by tkaboris, Today, 05:13 PM
      0 responses
      2 views
      0 likes
      Last Post tkaboris  
      Started by GussJ, 03-04-2020, 03:11 PM
      16 responses
      3,282 views
      0 likes
      Last Post Leafcutter  
      Started by WHICKED, Today, 12:45 PM
      2 responses
      20 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Working...
      X