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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      53 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      35 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      103 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      182 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      171 views
      0 likes
      Last Post CarlTrading  
      Working...
      X