I'm developing a custom NT8 indicator that references the OrderFlowCumulativeDelta indicator. I'm using NinjaScript Editor and Visual Studio 2019 as my development environments.
Scenario:
When using only NinjaScript Editor, my indicator compiles correctly (without errors) however using Visual Studio my indicator only compiles if I manually include the file NinjaTrader.Vendor.cs within the NinjaTrader Custom project (NinjaTrader.Custom.csproj).
Issue:
After successfully compiling my indicator in Visual Studio, if I close NinjaTrader and Visual Studio programs and then reload NinjaTrader, NinjaTrader automatically removes the reference to NinjaTrader.Vendor.cs from the NinjaTrader Custom project which then leads to Visual Studio not compiling my indicator.
Question:
How can I prevent NinjaTrader from automatically excluding NinjaTrader.Vendor.cs from the NinjaTrader Custom project?
Thanks,
-Cary
Comment