Exemplo n.º 1
0
 public AdxInputsCtl()
 {
     InitializeComponent();
     SetNumericUpDownsInitialValues();
     presenter = new AdxInputsPresenter(this);
     DoClassificationButton.MouseClick += (e, args) => DoClassificationRequest?.Invoke();
 }
 public MovingAverageInputsCtl()
 {
     InitializeComponent();
     SetNumericUpDownsInitialValues();
     presenter = new MovingAverageInputsPresenter(this);
     doAnalysisButton.MouseClick += (e, args) => DoClassificationRequest?.Invoke();
 }
Exemplo n.º 3
0
        private void DoClassificationAnalysis()
        {
            AdxDailyClassificationInput input = new AdxDailyClassificationInput()
            {
                MovingAveragePeriod    = view.GetMovingAveragePeriod(),
                DirectionalIndexPeriod = view.GetDxPeriod(),
            };

            DoClassificationRequest?.Invoke(input);
        }
Exemplo n.º 4
0
        private void DoClassificationAnalysis()
        {
            MovingAverageDailyClassificationInput input = new MovingAverageDailyClassificationInput()
            {
                FastMovingAveragePeriod   = view.GetFastMovingAveragePeriod(),
                MediumMovingAveragePeriod = view.GetMediumMovingAveragePeriod(),
                SlowMovingAveragePeriod   = view.GetSlowMovingAveragePeriod()
            };

            DoClassificationRequest?.Invoke(input);
        }