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, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      21 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      30 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      41 views
      0 likes
      Last Post CarlTrading  
      Working...
      X