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 charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      71 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      152 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      162 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      100 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      288 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X