public void AddIndicator(ISignalCalculator calc, IndicatorMixedType type) { IndicatorsArr_.Add(calc); IndicatorTypes_.Add(calc.GetName(), type); }
private bool IsSellValid(string signalName) { IndicatorMixedType mt = IndicatorTypes_[signalName]; return((mt == IndicatorMixedType.Sell) || (mt == IndicatorMixedType.BuyAndSell)); }