C# Класс Forex_Strategy_Builder.Optimizer

The Optimizer
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Optimizer ( ) : System

Constructor

Защищенные методы

Метод Описание
OnLoad ( EventArgs e ) : void

Perform initializing

OnResize ( EventArgs e ) : void

Recalculates the sizes and positions of the controls after resizing.

Приватные методы

Метод Описание
ArangeControls ( ) : void

Arranges the controls

BgWorker_DoWork ( object sender, DoWorkEventArgs e ) : void

Does the job

BgWorker_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void

This event handler updates the progress bar.

BgWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

This event handler deals with the results of the background operation.

BtnOptimize_Click ( object sender, EventArgs e ) : void

Optimize.

BtnShowLimitations_Click ( object sender, EventArgs e ) : void

Toggles panels.

BtnShowParams_Click ( object sender, EventArgs e ) : void

Toggles panels.

CalculateIndicator ( int slot ) : void

Calculates the indicator in the designated slot

CalculateLimitations ( ) : bool

Calculates the Limitations Criteria

ChbOutOfSample_CheckedChanged ( object sender, EventArgs e ) : void

Out of Sample

FillInReport ( ) : void

Fills a line to the report.

InitReport ( ) : void

Prepares the report string.

LoadOptions ( ) : void

Loads and parses the generator's options.

NudOutOfSample_ValueChanged ( object sender, EventArgs e ) : void

Out of Sample

OptimizeParams ( BackgroundWorker worker, DoWorkEventArgs e ) : void

Optimize all the checked parameters

Optimizer_CheckedChanged ( object sender, EventArgs e ) : void

Check Box checked changed

Optimizer_FormClosing ( object sender, FormClosingEventArgs e ) : void

Check whether the strategy have been changed.

PnlCaptions_Paint ( object sender, PaintEventArgs e ) : void

Paints pnlCaptions

PnlParamsBase2_Resize ( object sender, EventArgs e ) : void

Arranges the controls into the pnlParams

PnlParamsBase_Paint ( object sender, PaintEventArgs e ) : void

Paints PnlParamsBase

SaveOptions ( ) : void

Saves the generator's options.

SaveReport ( ) : void

Saves the report in a file.

ScrollBar_MouseWheel ( object sender, MouseEventArgs e ) : void
ScrollBar_ValueChanged ( object sender, EventArgs e ) : void
SetIndicatorParams ( ) : void

Sets the parameters

SetNecessaryCycles ( ) : void

Counts the necessary optimization cycles.

SetPanelLimitations ( ) : void

Sets controls in panel Limitations

SetStrategyToGeneratorHistory ( ) : void

Saves the Generator History

ShowParamBestValue ( int param ) : void

Shows the best value of a param during optimization.

Timer_Tick ( object sender, EventArgs e ) : void

Recovers the font of a parameter value label.

Описание методов

OnLoad() защищенный Метод

Perform initializing
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Результат void

OnResize() защищенный Метод

Recalculates the sizes and positions of the controls after resizing.
protected OnResize ( EventArgs e ) : void
e System.EventArgs
Результат void

Optimizer() публичный Метод

Constructor
public Optimizer ( ) : System
Результат System