Announcement

Collapse
No announcement yet.

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 SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      50 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      22 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      16 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      22 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      23 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X