Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Coding Error??

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

    Coding Error??

    I have two simple indicators that I've written that both compile. One produces a simple Volume plot while the other does not. In the code for the one that produces the plot I have a line

    Value[0] = Volume[0];

    If I mouse over Volume[0], I see a box with a wrench icon on the left followed by VolumeSeries NinjaScriptBase.Volume { get; } A collection of historical bar volume values.

    In the Indicator that does not plot the Volume, I have the identical line:

    Value[0] = Volume[0];

    and when I mouse over Volume box reads:
    Wrench Icon followed by Series ,double. SampleVolAvg.Volume { get; }

    Why would the Volume[0] in the second case be different than the first if I created 2 identical indicators?

    Thanks in advance

    #2
    Hello,

    Thanks for your reply.

    This is James, I work the Night shift for platform support.

    This ticket inquiry would be best addressed to our Ninjascript team, unfortunately, they are not in at this time and will not return until tomorrow at 8:30 am EST.

    I will assign this ticket to them, so they can reach out to you tomorrow with working on this.
    Please feel free to contact us with any further questions.
    James G.NinjaTrader Customer Service

    Comment


      #3
      Thanks James,

      Please disregard the post. I figured it out.

      D

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      670 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      379 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      111 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      575 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      582 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X