public IndicatorSlot Clone()
{
IndicatorSlot slot = new IndicatorSlot();
slot.slotNumb = slotNumb;
slot.slotType = slotType;
slot.slotStatus = slotStatus;
slot.group = group;
slot.isDefined = isDefined;
slot.indicatorName = indicatorName;
slot.isSeparatedChart = isSeparatedChart;
slot.minValue = minValue;
slot.maxValue = maxValue;
slot.indicatorParam = indicatorParam.Clone();
slot.adSpecValue = new double[adSpecValue.Length];
adSpecValue.CopyTo(slot.adSpecValue, 0);
slot.component = new IndicatorComp[component.Length];
for (int i = 0; i < component.Length; i++)
slot.component[i] = component[i].Clone();
return slot;
}