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 rocketman7, Today, 02:12 AM
      5 responses
      23 views
      0 likes
      Last Post rocketman7  
      Started by trilliantrader, 04-18-2024, 08:16 AM
      7 responses
      28 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by samish18, 04-17-2024, 08:57 AM
      17 responses
      66 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by briansaul, Today, 05:31 AM
      1 response
      15 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by PaulMohn, Today, 03:49 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Working...
      X