C# Class Forex_Strategy_Builder.Chart

Class Indicator Chart : Form
Inheritance: System.Windows.Forms.Form
Mostra file Open project: nuggett11/Forex-Strategy-Builder Class Usage Examples

Public Methods

Method Description
Chart ( ) : System

The default constructor.

Protected Methods

Method Description
OnKeyUp ( KeyEventArgs e ) : void

Call KeyUp method

OnLoad ( EventArgs e ) : void

After loading select the Scrollbar

Private Methods

Method Description
ButtonChart_Click ( object sender, EventArgs e ) : void

Changes chart's settings after a button click.

GenerateDynamicInfo ( int barNumb ) : void

Generates the DynamicInfo.

GenerateMouseTip ( int barNumb ) : void

When the mouse is near to an important value - show a tip

InvalidateAllPanels ( ) : void

Invalidates the panels

Panel_MouseDown ( object sender, MouseEventArgs e ) : void

Mouse button down on a panel.

Panel_MouseUp ( object sender, MouseEventArgs e ) : void

Mouse button up on a panel.

PnlBalance_Paint ( object sender, PaintEventArgs e ) : void

Paints the panel PnlBalance

PnlBalance_Resize ( object sender, EventArgs e ) : void

Invalidates the panel

PnlBase_Resize ( object sender, EventArgs e ) : void

Sets the sizes of the panels after resizing.

PnlFloatingPL_Paint ( object sender, PaintEventArgs e ) : void

Paints the panel FloatingPL

PnlFloatingPL_Resize ( object sender, EventArgs e ) : void

Invalidates the panel

PnlInd_Paint ( object sender, PaintEventArgs e ) : void

Paints the panel PnlInd

PnlInd_Resize ( object sender, EventArgs e ) : void

Invalidates the panels

PnlInfo_Paint ( object sender, PaintEventArgs e ) : void

Paints the panel PnlInfo.

PnlInfo_Resize ( object sender, EventArgs e ) : void

PnlInfo Resize

PnlPrice_MouseDoubleClick ( object sender, MouseEventArgs e ) : void

Shows the Bar Explorer

PnlPrice_MouseLeave ( object sender, EventArgs e ) : void

Deletes the cross and Dynamic Info

PnlPrice_MouseMove ( object sender, MouseEventArgs e ) : void

Invalidate Cross Old/New position and Dynamic Info

PnlPrice_Paint ( object sender, PaintEventArgs e ) : void

Paints the panel PnlPrice

PnlPrice_Resize ( object sender, EventArgs e ) : void

Sets the parameters after resizing of the PnlPrice.

Scroll_KeyDown ( object sender, KeyEventArgs e ) : void

Call KeyUp method

Scroll_KeyUp ( object sender, KeyEventArgs e ) : void

Call KeyUp method

Scroll_MouseWheel ( object sender, MouseEventArgs e ) : void

Scrolls the scrollbar when turning the mouse wheel.

Scroll_ValueChanged ( object sender, EventArgs e ) : void

Sets the parameters when scrolling.

SepChart_MouseLeave ( object sender, EventArgs e ) : void

Mouse leaves a chart.

SepChart_MouseMove ( object sender, MouseEventArgs e ) : void

Mouse moves inside a chart

SetAllPanelsHeight ( ) : void

Calculates the panels' height

SetPriceChartParam ( ) : void

Sets the chart's parameters.

SetupButtons ( ) : void

Sets ups the chart's buttons.

SetupChartTitle ( ) : void

Sets the indicator chart title

SetupDynInfoWidth ( ) : void

Sets the width of the info panel

SetupDynamicInfo ( ) : void

Sets the dynamic info panel

SetupIndicatorPanels ( ) : void
ShortcutKeyUp ( KeyEventArgs e ) : void

Shortcut keys

VerticalScaleDecrease ( ) : void

Changes vertical scale of the Price Chart

VerticalScaleIncrease ( ) : void

Changes vertical scale of the Price Chart

ZoomIn ( ) : void

Zooms the chart in.

ZoomOut ( ) : void

Zooms the chart out.

Method Details

Chart() public method

The default constructor.
public Chart ( ) : System
return System

OnKeyUp() protected method

Call KeyUp method
protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnLoad() protected method

After loading select the Scrollbar
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void