private ClearStrategySlotsStatus ( Strategy strategy ) : Strategy | ||
strategy | Strategy | |
return | Strategy |
Strategy ClearStrategySlotsStatus(Strategy strategy)
{
Strategy tempStrategy = strategy.Clone();
tempStrategy.PropertiesStatus = StrategySlotStatus.Open;
foreach (IndicatorSlot slot in tempStrategy.Slot)
slot.SlotStatus = StrategySlotStatus.Open;
return tempStrategy;
}