Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strat unable to pickup ind value

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

    strat unable to pickup ind value

    I have 'indX' working in a chart fine
    I have 'stratY' working in a chart fine

    I have stratY code pickup valueZ as follows:

    double lastValue = indX ( Close,....other parameters....).valueZ;

    I keep getting 0 (default value) even though indX is plotting the correct valueZ

    no compile or execution errors in the Log.

    I have even tried, in stratY, Add( indX( Close,....other parameters....) and the correct valueZ is plotted by the added indX however still passes 0 to stratY

    I must be missing something obvious I am sure
    Last edited by ATI user; 12-30-2009, 10:24 AM.

    #2
    ATI user, have you seen the reference sample titled: Exposing indicator values? I've also covered this in another thread that you can look over.

    Basically, the indicator you're calling needs to have an Update() in the get section of the appropriate plot.
    AustinNinjaTrader Customer Service

    Comment


      #3
      thanks Austin...that got it

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      47 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      23 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      33 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X