I am using propertyDescriptorCollection.Remove to hide not relevant properties when running or backtesting the property, based on other properties.
When running Optimization, the ones that are hidden, stay hidden, and not changed when the the relevant other properties values are selected, that should show restore the hidden values.
I can prevent this if there is a way to identify we are in Backtest Type Optimization mode using ninjascript. Is there anything to identify it?
Comment