Esempio n. 1
0
 public void AddIndicator(ISignalCalculator calc, IndicatorMixedType type)
 {
     IndicatorsArr_.Add(calc);
     IndicatorTypes_.Add(calc.GetName(), type);
 }
Esempio n. 2
0
        private bool IsSellValid(string signalName)
        {
            IndicatorMixedType mt = IndicatorTypes_[signalName];

            return((mt == IndicatorMixedType.Sell) || (mt == IndicatorMixedType.BuyAndSell));
        }
Esempio n. 3
0
 public void AddIndicator(ISignalCalculator calc, IndicatorMixedType type)
 {
     IndicatorsArr_.Add(calc);
     IndicatorTypes_.Add(calc.GetName(), type);
 }