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

NT Support Question-Passing a Variable

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

    NT Support Question-Passing a Variable

    Using NinjaScript, is there a way to pass a variable from an Indicator to a Strategy?

    Thanks,

    jhill

    #2
    Hi jhill,

    Yes, it is possible to expose values from an indicator in a strategy. If you are accessing plot values, it is straightforward and the syntax can be derived using the strategy wizard point and click interface.

    For non-plot values: (like double, int, etc)
    There is a sample available here, that can help with the technique on exposing non-plot values from an indicator:
    Last edited by NinjaTrader_RyanM1; 08-14-2011, 09:18 PM.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks Ryan very much for your info.

      jhill

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by sastrades, 05-10-2024, 09:59 AM
      3 responses
      53 views
      0 likes
      Last Post rc5781
      by rc5781
       
      Started by guyonabuffalo, Yesterday, 10:01 PM
      2 responses
      18 views
      0 likes
      Last Post guyonabuffalo  
      Started by thumper57, Yesterday, 04:30 PM
      5 responses
      15 views
      0 likes
      Last Post thumper57  
      Started by reynoldsn, 05-10-2024, 07:04 PM
      5 responses
      26 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by llanqui, Today, 11:10 AM
      1 response
      16 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Working...
      X