Situation:
- I have an indicator that I would like to share as assembly. Note my indicator uses inbuilt ATR indicator.
- I also have a strategy that uses above indicator, that I would like to share the source(not as assembly)
What I have done:
- Export the Indicator as assembly(it included ATR also and there was no option to proceed without that), imported it in the destination computer
- Then copy the Strategy source code to the respective folder in the destiantion computer
Problem:
The Stratgey shows build error: Cannot convert from 'NinjaTrader.NinjaScript.Indicator.ATR[C:\Users\soman\Documents\NinjaTrader 8\bin\Custom\Indicators\@ATR.cs(35)]' to 'NinjaTrader.NinjaScript.Indicator.ATR["C:\Users\Administrator\Documents\NinjaTrader 8\bin\Custom\MyCustomeIndicator.dll]'
This is probably because while export the MyCustomeIndicator.dll also exported another version of ATR, but the strategy is using the inbuilt ATR
Question:
What is the solution to this problem? How can I share the Indicator as compiled assembly and Strategy as code?
Note: I do not want to change my STrategy to use the ATR from dll - that woudl significantly delay the development work.
Comment