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 CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      67 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      202 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      366 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      283 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X