Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

OrderFlowVWAP Indicator in Strategy

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

  • NinjaTrader_ChelseaB
    replied
    Hello Johnny,

    Below is a link to a forum post where Jesse has mentioned temporarily including the NinjaTrader.Vendor.cs file will resolve the error.
    Hi all, I.m trying to develop a strategy with the OrderFlowVWAP indicator. And i.m reading the documentation in the wiki: https://ninjatrader.com/support/help...flow_vwap2.htm (https://ninjatrader.com/support/helpGuides/nt8/?order_flow_vwap2.htm) But when i try the code on VISUAL STUDIO 2019 , it doesn.t work: double

    Leave a comment:


  • Johnny90
    replied
    Hello Chelsea,

    its working now. Thanks for you help.
    Any idea on how to get rid of the error in VS?

    Best regards,
    Johnny

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello Johnny,

    Attached is an export of the sample code from the help guide copied and pasted into a script.

    Note, that Order Flow+ requires a lifetime license key.
    Attached Files

    Leave a comment:


  • Johnny90
    replied
    Hello Chelsea,

    you're right. I can compile in NinjaScript Editor but then in backtest I dont get any results and I dont see a chart. When debugging with Visual Studio I get the following error:

    An exception of type 'System.NullReferenceException' occurred in b422f52c9cb447f3ba73395a06885079.dll but was not handled in user code
    Additional information: Object reference not set to an instance of an object

    Inner Exception is also null.

    Best regards,
    Johnny

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello Johnny,

    It might be something with VisualStudio not loading internal core classes.

    Does the strategy compile in the NinjaScript Editor window made by NinjaTrader?

    Leave a comment:


  • Johnny90
    started a topic OrderFlowVWAP Indicator in Strategy

    OrderFlowVWAP Indicator in Strategy

    Hi NinjaTrader Team,

    when I run the sample provided for the OrderflowVWAP indicator I get the error
    "Non-invocable member 'OrderFlowVWAP' cannot be used like a method" in Visual Studio.

    Sample:
    https://ninjatrader.com/support/help...flow_vwap2.htm

    Hope you can help,

    Best regards,
    Johnny

    Last edited by Johnny90; 12-05-2020, 06:25 AM.

Latest Posts

Collapse

Topics Statistics Last Post
Started by Haiasi, Today, 06:53 PM
1 response
4 views
0 likes
Last Post NinjaTrader_Manfred  
Started by ScottWalsh, Today, 06:52 PM
1 response
12 views
0 likes
Last Post NinjaTrader_Manfred  
Started by ScottW, Today, 06:09 PM
1 response
5 views
0 likes
Last Post NinjaTrader_Manfred  
Started by ftsc2022, 10-25-2022, 12:03 PM
5 responses
256 views
0 likes
Last Post KeyonMatthews  
Started by Board game geek, 10-29-2023, 12:00 PM
14 responses
244 views
0 likes
Last Post DJ888
by DJ888
 
Working...
X