Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OrderFlowVWAP not working in Visual Studio

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

    OrderFlowVWAP not working in Visual Studio

    I am trying to use OrderFlowVWAP in a strategy, and I am able to instantiate it just fine if I'm using the NinjaScript Editor. However, if I edit the strategy in Visual Studio, it says "Non-invocable member 'OrderFlowVWAP' cannot be used like a method."

    Upon further inspection, I noticed that in the NinjaScript Editor, the type of OrderFlowVWAP is Strategy.OrderFlowVWAP, but in Visual Studio, the type switches to NinjaTrader.NinjaScript.Indicators.OrderFlowVWAP.

    All of my indicators, whether they are from NinjaTrader or custom, always show up with a namespace of Strategy.[IndicatorType], except for OrderFlowIndicator.

    I prefer developing in Visual Studio, is there any reason why OrderFlowVWAP doesn't show up as Strategy.OrderFlowVWAP like every other indicator?

    I have attached a few screenshots to show what I'm talking about, and I'm using Visual Studio 2022 v17.4.4 and NinjaTrader 8.0.27.1 64-bit

    Thanks!

    Click image for larger version

Name:	
Views:	0
Size:	11.0 KB
ID:	1231415
    Click image for larger version

Name:	
Views:	0
Size:	15.3 KB
ID:	1231416
    Last edited by NinjaTrader_ChelseaB; 01-16-2023, 08:01 AM.

    #2
    Hello, thanks for writing in. I am getting the same thing. I will ask our development team about the issue and report back here with more information.

    Thanks in advance.

    Comment


      #3
      Hi, I am closing the bug report as expected because all of the OrderFlow tools are compiled into the Vendor.DLL which Visual Studio can not access for IntelliSense. Since it compiles fine in the NinjaScript Editor I am going to make a feature request suggesting we add support for Visual Studio.

      Comment


        #4
        I was hoping for a different answer for now, but I really appreciate you putting in a request for support for Visual Studio.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        62 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        134 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        75 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        45 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        50 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X