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 NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      54 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      130 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      71 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      44 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      49 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X