C# Class Forex_Strategy_Builder.Actions

Class Actions : Controls
Inheritance: Controls
Afficher le fichier Open project: nuggett11/Forex-Strategy-Builder

Méthodes publiques

Méthode Description
Actions ( ) : System

The default constructor

Méthodes protégées

Méthode Description
AccountShowInMoney_OnClick ( object sender, EventArgs e ) : void

Whether to express account in pips or in currency

AdditionalStats_OnClick ( object sender, EventArgs e ) : void

AdditionalStats_OnClick

BtnAddCloseFilter_Click ( object sender, EventArgs e ) : void

Performs actions after the button add close filter was clicked.

BtnAddOpenFilter_Click ( object sender, EventArgs e ) : void

Performs actions after the button add open filter was clicked.

BtnRemoveSlot_Click ( object sender, EventArgs e ) : void

Remove the corresponding indicator slot.

BtnTools_OnClick ( object sender, EventArgs e ) : void

Tools button

Language_Click ( object sender, EventArgs e ) : void

Sets the program's language.

MenuAccountSettings_OnClick ( object sender, EventArgs e ) : void

Opens the account setting dialog

MenuAnalysisCalculate_OnClick ( object sender, EventArgs e ) : void

Forces the calculation of the strategy.

MenuCheckData_OnClick ( object sender, EventArgs e ) : void

Check the data.

MenuClosingLogicSlots_OnClick ( object sender, EventArgs e ) : void

Menu MenuClosingLogicSlots_OnClick.

MenuDataDirectory_OnClick ( object sender, EventArgs e ) : void

Data Directory

MenuDataHorizon_OnClick ( object sender, EventArgs e ) : void

Data Horizon

MenuDetailedBacktest_OnClick ( object sender, EventArgs e ) : void

Performs a detailed back-test.

MenuFileOpen_OnClick ( object sender, EventArgs e ) : void

Opens the dialog form OpenFileDialog.

MenuFileSaveAs_OnClick ( object sender, EventArgs e ) : void

Opens the dialog form SaveFileDialog.

MenuFileSave_OnClick ( object sender, EventArgs e ) : void

Saves the strategy.

MenuJournal_OnClick ( object sender, EventArgs e ) : void

Menu Journal

MenuLoadColor_OnClick ( object sender, EventArgs e ) : void

Load a color scheme.

MenuLoadData_OnClick ( object sender, EventArgs e ) : void

Performs actions corresponding on the menu item Load.

MenuNextHistory_OnClick ( object sender, EventArgs e ) : void

Loads the next generated strategy

MenuOpeningLogicSlots_OnClick ( object sender, EventArgs e ) : void

Menu MenuOpeningLogicSlots_OnClick.

MenuPrevHistory_OnClick ( object sender, EventArgs e ) : void

Loads the previously generated strategy

MenuQuickScan_OnClick ( object sender, EventArgs e ) : void

Forces the intrabar scanning of the strategy.

MenuRefineData_OnClick ( object sender, EventArgs e ) : void

Refine the data

MenuStrategyAUPBV_OnClick ( object sender, EventArgs e ) : void

Opens the strategy settings dialogue.

MenuStrategyAutoscan_OnClick ( object sender, EventArgs e ) : void

Autos can

MenuStrategyBBcode_OnClick ( object sender, EventArgs e ) : void

Export the strategy in BBCode format - ready to post in the forum

MenuStrategyNew_OnClick ( object sender, EventArgs e ) : void

Loads the default strategy.

MenuStrategySettings_OnClick ( object sender, EventArgs e ) : void

Opens the strategy settings dialog.

MenuStrategyUndo_OnClick ( object sender, EventArgs e ) : void

Undoes the strategy.

MenuTools_OnClick ( object sender, EventArgs e ) : void

Tools menu

MenuUseLogicalGroups_OnClick ( object sender, EventArgs e ) : void

Use logical groups menu item.

MenuViewFullScreen_OnClick ( object sender, EventArgs e ) : void

Changes the Full Screen mode.

PnlAveraging_Click ( object sender, EventArgs e ) : void

Opens the averaging parameters dialog.

PnlSlot_MouseUp ( object sender, MouseEventArgs e ) : void

Opens the indicator parameters dialog.

SelectedIndexChanged ( object sender, EventArgs e ) : void

Performs actions after selecting a new ComboBox item. Handler for: cbxMode, cbxSymbol, cbxPeriod, tscbInterpolationMethod

ShowPriceLine_OnClick ( object sender, EventArgs e ) : void

Menu ShowPriceLine_OnClick.

SlotContextMenu_Click ( object sender, EventArgs e ) : void

Strategy panel menu items clicked

TradeUntilMC_OnClick ( object sender, EventArgs e ) : void

TradeUntillMC

Private Methods

Méthode Description
Actions_FormClosing ( object sender, FormClosingEventArgs e ) : void

Checks whether the strategy have been saved or not

AddCloseFilter ( ) : void

Adds a new Close filter

AddOpenFilter ( ) : void

Adds a new Open filter

AfterStrategyOpening ( bool isMessage ) : void

Check the needed market conditions

Application_Idle ( object sender, EventArgs e ) : void

Application idle

Calculate ( bool recalcIndicators ) : void

Calculates the strategy.

CheckLoadedData ( ) : void

Checks the loaded data

DataHorizon ( ) : void

Sets the data starting parameters.

DuplicateSlot ( int iSlotToDuplicate ) : void

Duplicates a Slot

EditSlot ( int slot ) : void

Edits the Strategy Slot

EditStrategyProperties ( ) : void

Edits the Strategy Properties Slot

EditTradingCharges ( ) : void

Edit the Trading Charges

EditTranslation ( ) : void

Edit translation.

GetLockFile ( ) : string

The lockfile name will be passed automatically by Splash.exe as a command line arg -lockfile="c:\temp\C1679A85-A4FA-48a2-BF77-E74F73E08768.lock"

IntrabarDataLoaded ( object sender, RunWorkerCompletedEventArgs e ) : void

The intrabar data is loaded. Refresh the program.

JForexImport ( ) : void

Starts JForexImport.

LoadColorScheme ( ) : void

Loads a color scheme.

LoadInstrument ( bool useResource ) : int

LoadInstrument

LoadIntrabarData ( object sender, DoWorkEventArgs e ) : void

Starts scanner and loads intrabar data.

Main ( ) : void
MakeNewTranslation ( ) : void

Makes new language file.

MoveSlotDownwards ( int iSlotToMove ) : void

Moves a Slot Downwards

MoveSlotUpwards ( int iSlotToMove ) : void

Moves a Slot Upwards

NewStrategy ( ) : void

New Strategy

OpenFile ( ) : void

Open a strategy file

OpenStrategy ( string strategyName ) : int

Reads the strategy from a file.

PrepareScannerCompactMode ( ) : void

Load intrabar data by using scanner.

PublishStrategy ( ) : void

Generate BBCode for the forum

ReloadCustomIndicators ( ) : void

Reloads the Custom Indicators.

RemoveSlot ( int iSlot ) : void

Removes a strategy slot.

ResetSettings ( ) : void

Reset settings

SaveAsStrategy ( ) : void

Save the current strategy

SaveStrategy ( ) : int

Save the current strategy

Scan ( ) : void

Perform intrabar scanning

SetInstrumentDataStatusBar ( ) : void

Sets the Status Bar Data Label

SetMarket ( string symbol, DataPeriods dataPeriod ) : void

Sets the market according the strategy

ShowAccountSettings ( ) : void

Shows the Account Settings dialog.

ShowAnalyzer ( string menuItem ) : void

Starts the Analyzer.

ShowBarExplorer ( ) : void

Shows the Bar Explorer tool.

ShowCalculator ( ) : void

Starts the Calculator.

ShowCommandConsole ( ) : void

Starts the Calculator.

ShowComparator ( ) : int

Show the method Comparator

ShowFibonacciLevels ( ) : void

Starts the Fibonacci Levels Calculator.

ShowGenerator ( ) : void

Starts the generator

ShowInstrumentEditor ( ) : void

Shows the Instrument Editor dialog.

ShowOptimizer ( ) : void

Call the Optimizer

ShowOverview ( ) : void

Starts the generator

ShowPivotPoints ( ) : void

Starts the Pivot Points Calculator.

ShowProfitCalculator ( ) : void

Starts the Profit Calculator.

ShowScanner ( ) : void

Shows the scanner

UndoStrategy ( ) : void

Undoes the strategy

UpdateStatusLabel ( string comment ) : void

Updates the splash screen label.

UsePreviousBarValue_Change ( ) : void

Performs actions when UPBV has been changed

WhetherSaveChangedStrategy ( ) : DialogResult

Ask for saving the changed strategy

Method Details

AccountShowInMoney_OnClick() protected méthode

Whether to express account in pips or in currency
protected AccountShowInMoney_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Actions() public méthode

The default constructor
public Actions ( ) : System
Résultat System

AdditionalStats_OnClick() protected méthode

AdditionalStats_OnClick
protected AdditionalStats_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

BtnAddCloseFilter_Click() protected méthode

Performs actions after the button add close filter was clicked.
protected BtnAddCloseFilter_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

BtnAddOpenFilter_Click() protected méthode

Performs actions after the button add open filter was clicked.
protected BtnAddOpenFilter_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

BtnRemoveSlot_Click() protected méthode

Remove the corresponding indicator slot.
protected BtnRemoveSlot_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

BtnTools_OnClick() protected méthode

Tools button
protected BtnTools_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Language_Click() protected méthode

Sets the program's language.
protected Language_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuAccountSettings_OnClick() protected méthode

Opens the account setting dialog
protected MenuAccountSettings_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuAnalysisCalculate_OnClick() protected méthode

Forces the calculation of the strategy.
protected MenuAnalysisCalculate_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuCheckData_OnClick() protected méthode

Check the data.
protected MenuCheckData_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuClosingLogicSlots_OnClick() protected méthode

Menu MenuClosingLogicSlots_OnClick.
protected MenuClosingLogicSlots_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuDataDirectory_OnClick() protected méthode

Data Directory
protected MenuDataDirectory_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuDataHorizon_OnClick() protected méthode

Data Horizon
protected MenuDataHorizon_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuDetailedBacktest_OnClick() protected méthode

Performs a detailed back-test.
protected MenuDetailedBacktest_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuFileOpen_OnClick() protected méthode

Opens the dialog form OpenFileDialog.
protected MenuFileOpen_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuFileSaveAs_OnClick() protected méthode

Opens the dialog form SaveFileDialog.
protected MenuFileSaveAs_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuFileSave_OnClick() protected méthode

Saves the strategy.
protected MenuFileSave_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuJournal_OnClick() protected méthode

Menu Journal
protected MenuJournal_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuLoadColor_OnClick() protected méthode

Load a color scheme.
protected MenuLoadColor_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuLoadData_OnClick() protected méthode

Performs actions corresponding on the menu item Load.
protected MenuLoadData_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuNextHistory_OnClick() protected méthode

Loads the next generated strategy
protected MenuNextHistory_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuOpeningLogicSlots_OnClick() protected méthode

Menu MenuOpeningLogicSlots_OnClick.
protected MenuOpeningLogicSlots_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuPrevHistory_OnClick() protected méthode

Loads the previously generated strategy
protected MenuPrevHistory_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuQuickScan_OnClick() protected méthode

Forces the intrabar scanning of the strategy.
protected MenuQuickScan_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuRefineData_OnClick() protected méthode

Refine the data
protected MenuRefineData_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuStrategyAUPBV_OnClick() protected méthode

Opens the strategy settings dialogue.
protected MenuStrategyAUPBV_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuStrategyAutoscan_OnClick() protected méthode

Autos can
protected MenuStrategyAutoscan_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuStrategyBBcode_OnClick() protected méthode

Export the strategy in BBCode format - ready to post in the forum
protected MenuStrategyBBcode_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuStrategyNew_OnClick() protected méthode

Loads the default strategy.
protected MenuStrategyNew_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuStrategySettings_OnClick() protected méthode

Opens the strategy settings dialog.
protected MenuStrategySettings_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuStrategyUndo_OnClick() protected méthode

Undoes the strategy.
protected MenuStrategyUndo_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuTools_OnClick() protected méthode

Tools menu
protected MenuTools_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuUseLogicalGroups_OnClick() protected méthode

Use logical groups menu item.
protected MenuUseLogicalGroups_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

MenuViewFullScreen_OnClick() protected méthode

Changes the Full Screen mode.
protected MenuViewFullScreen_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

PnlAveraging_Click() protected méthode

Opens the averaging parameters dialog.
protected PnlAveraging_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

PnlSlot_MouseUp() protected méthode

Opens the indicator parameters dialog.
protected PnlSlot_MouseUp ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
Résultat void

SelectedIndexChanged() protected méthode

Performs actions after selecting a new ComboBox item. Handler for: cbxMode, cbxSymbol, cbxPeriod, tscbInterpolationMethod
protected SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

ShowPriceLine_OnClick() protected méthode

Menu ShowPriceLine_OnClick.
protected ShowPriceLine_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

SlotContextMenu_Click() protected méthode

Strategy panel menu items clicked
protected SlotContextMenu_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

TradeUntilMC_OnClick() protected méthode

TradeUntillMC
protected TradeUntilMC_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void