What is the best practice for reusable code? Assume I want to build a trailing stop class to be tested/used in several different strategies. Should I locate it in the Strategies folder? I tried to put it in a sub folder but could not access it from the Edit NinjaScript menu.
If I build a separate class, can I still use parameters from the optimizer in the Strategy analyzer?
(partial class) file. But that appears to only be for common methods. Can that be adapted for common variables and parameters?
Comment