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(); }
private void DoClassificationAnalysis() { AdxDailyClassificationInput input = new AdxDailyClassificationInput() { MovingAveragePeriod = view.GetMovingAveragePeriod(), DirectionalIndexPeriod = view.GetDxPeriod(), }; DoClassificationRequest?.Invoke(input); }
private void DoClassificationAnalysis() { MovingAverageDailyClassificationInput input = new MovingAverageDailyClassificationInput() { FastMovingAveragePeriod = view.GetFastMovingAveragePeriod(), MediumMovingAveragePeriod = view.GetMediumMovingAveragePeriod(), SlowMovingAveragePeriod = view.GetSlowMovingAveragePeriod() }; DoClassificationRequest?.Invoke(input); }