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 Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      598 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      343 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      557 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      556 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X