Example #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();
 }
Example #3
0
        private void DoClassificationAnalysis()
        {
            AdxDailyClassificationInput input = new AdxDailyClassificationInput()
            {
                MovingAveragePeriod    = view.GetMovingAveragePeriod(),
                DirectionalIndexPeriod = view.GetDxPeriod(),
            };

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

            DoClassificationRequest?.Invoke(input);
        }