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

Can indicators return values other than Plot values?

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

    Can indicators return values other than Plot values?

    Is it possible to program an indicator to return values other than those associated with plots? I suspect that it can be done but I don't know how to do it. For instance, one of my indicators has some plots. However, on each bar I also calculate some other values. I don't want to plot those values but I would like to be able to have access to them from outside the indicator with a dot notation similar to MyIndicator.MyValue1[bars ago], MyIndicator.MyValue2[bars ago], etc. Can I somehow do this with a DataSeries and Set commands so that the values are accessable but don't show up as plots, etc? A brief example would be helpful. Thanks.

    #2
    Absolutely -

    See this reference sample - http://www.ninjatrader-support.com/v...ead.php?t=4991
    RayNinjaTrader Customer Service

    Comment


      #3
      Thank you!!!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by inanazsocial, Today, 01:15 AM
      0 responses
      2 views
      0 likes
      Last Post inanazsocial  
      Started by trilliantrader, 04-18-2024, 08:16 AM
      5 responses
      22 views
      0 likes
      Last Post trilliantrader  
      Started by Davidtowleii, Today, 12:15 AM
      0 responses
      3 views
      0 likes
      Last Post Davidtowleii  
      Started by guillembm, Yesterday, 11:25 AM
      2 responses
      9 views
      0 likes
      Last Post guillembm  
      Started by junkone, 04-21-2024, 07:17 AM
      9 responses
      71 views
      0 likes
      Last Post jeronymite  
      Working...
      X