I have a separate project where I have created a custom dll with common functions.
I can reference price data via NinjaScriptBase, but I'm having issues with indicator data.
In this project, I'm looking to reference both the OrderFlowVWAP and other indicators such as EMA.
It appears I need to reference the NinjaTrader.Vendor dll for OrderFlowVWAP and the NinjaTrader.Custom for the other indicators - EMA, SMA, etc.
When both the NinjaTrader.Vendor and NinjaTrader.Custom dlls are referenced, in Visual Studio I receive errors that prevent me from compiling and creating my custom dll such as:
The type 'EMA' exists in both 'NinjaTrader.Custom, Version=8.0.27.0, Culture=neutral, PublicKeyToken=null' and 'NinjaTrader.Vendor, Version=8.0.26.1, Culture=neutral, PublicKeyToken=null'
Can you please help me get past this issue?
Also, if someone could point me to an example of properly referencing indicator data from a custom dll, that would be greatly appreciated.
Thank you!
Comment