예제 #1
0
 public static IList <IndicatorPanelSettings> GetAdditionalPanelsSettings(CandlePeriod period)
 {
     return(new[]
     {
         new IndicatorPanelSettings
         {
             AssignedIndicators = new[]
             {
                 new Tuple <IndicatorType, CandlePeriod>(IndicatorType.MACD, period.GetHigherFramePeriod()),
             }
         },
         new IndicatorPanelSettings
         {
             AssignedIndicators = new[]
             {
                 new Tuple <IndicatorType, CandlePeriod>(IndicatorType.MACD, period),
             }
         },
         new IndicatorPanelSettings
         {
             AssignedIndicators = new[]
             {
                 new Tuple <IndicatorType, CandlePeriod>(IndicatorType.Stochastic, period),
             }
         },
         new IndicatorPanelSettings
         {
             AssignedIndicators = new[]
             {
                 new Tuple <IndicatorType, CandlePeriod>(IndicatorType.RelativeStrengthIndex, period),
             }
         },
         new IndicatorPanelSettings
         {
             AssignedIndicators = new[]
             {
                 new Tuple <IndicatorType, CandlePeriod>(IndicatorType.AccumulationDistribution, period),
             }
         },
         new IndicatorPanelSettings
         {
             AssignedIndicators = new[]
             {
                 new Tuple <IndicatorType, CandlePeriod>(IndicatorType.WilliamsR, period),
             }
         },
     });
 }