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

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