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

return ohlc from indicator?

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

    return ohlc from indicator?

    Is it possible to return a bar object from an indictor to be passed on to another indicator?

    I'd like to adjust an input series from an instrument then pass it on to something like ADX which needs ohlc info to compute.

    Thanks

    #2
    Hi Darckeen, this is unfortunately not possible, the indicator would return the basic indicator value series only.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by darckeen View Post
      Is it possible to return a bar object from an indictor to be passed on to another indicator?

      I'd like to adjust an input series from an instrument then pass it on to something like ADX which needs ohlc info to compute.

      Thanks
      I would think that you can create 4 new DataSeries in your first indicator, to hold your adjusted data, and declare these as public.

      You should then be able to pass these public DataSeries to any indicator that requires a DataSeries input.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by cmtjoancolmenero, Yesterday, 03:58 PM
      5 responses
      28 views
      0 likes
      Last Post cmtjoancolmenero  
      Started by gbourque, Today, 06:39 AM
      2 responses
      14 views
      0 likes
      Last Post gbourque  
      Started by rexsole, Today, 08:39 AM
      0 responses
      4 views
      0 likes
      Last Post rexsole
      by rexsole
       
      Started by trilliantrader, Yesterday, 03:01 PM
      3 responses
      31 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by Brevo, Today, 01:45 AM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X