Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OrderFlowVWAP getting error CS1955

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

    OrderFlowVWAP getting error CS1955

    Hi,

    I am trying to add OrderFlowVWAP on my strategy but I am getting error "CS1955 - Non-Invocable Member "OrderFlowVWAP" cannot be use like a method. Kindly help to fix this. Thanks

    if(BarsInProgress == 0 )
    {
    double VWAPValue = OrderFlowVWAP(VWAPResolution.Standard, TradingHours.String2TradingHours("CME US Index Futures RTH"), VWAPStandardDeviations.Three, 1, 2, 3).VWAP[0];
    }

    else if(BarsInProgress == 6 )
    {
    OrderFlowVWAP(BarsArray[0], VWAPResolution.Tick, BarsArray[0].TradingHours, VWAPStandardDeviations.Three, 1, 2, 3).Update(OrderFlowVWAP(BarsArray[0], VWAPResolution.Tick, BarsArray[0].TradingHours, VWAPStandardDeviations.Three, 1, 2, 3).BarsArray[1].Count - 1, 1);
    }​

    #2
    Hello kezyclaire,

    Thank you for your post.

    Are you seeing this error inside of the NinjaScript Editor or in a different code editor such as Visual Studio? I wouldn't expect to see this error in the NinjaScript Editor, however, other code editors do not have intelliprompt information for the Order Flow VWAP indicator so errors are expected. The script should still compile successfully within NinjaTrader even if the editor is showing an error.

    I look forward to your reply.

    Comment


      #3
      Hi Emily,

      Yes, I am seeing it in Visual studio editor. It still works when compiling. Thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      89 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      135 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      119 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      69 views
      0 likes
      Last Post PaulMohn  
      Working...
      X