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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      44 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      54 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      34 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      94 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      56 views
      0 likes
      Last Post PaulMohn  
      Working...
      X