C# Класс Forex_Strategy_Builder.Actions

Class Actions : Controls
Наследование: Controls
Показать файл Открыть проект

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

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

The default constructor

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

Метод Описание
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

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

Метод Описание
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

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

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

Whether to express account in pips or in currency
protected AccountShowInMoney_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

The default constructor
public Actions ( ) : System
Результат System

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

AdditionalStats_OnClick
protected AdditionalStats_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Performs actions after the button add close filter was clicked.
protected BtnAddCloseFilter_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Performs actions after the button add open filter was clicked.
protected BtnAddOpenFilter_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Remove the corresponding indicator slot.
protected BtnRemoveSlot_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Tools button
protected BtnTools_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Sets the program's language.
protected Language_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Opens the account setting dialog
protected MenuAccountSettings_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Forces the calculation of the strategy.
protected MenuAnalysisCalculate_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Check the data.
protected MenuCheckData_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Menu MenuClosingLogicSlots_OnClick.
protected MenuClosingLogicSlots_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Data Directory
protected MenuDataDirectory_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Data Horizon
protected MenuDataHorizon_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Performs a detailed back-test.
protected MenuDetailedBacktest_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Opens the dialog form OpenFileDialog.
protected MenuFileOpen_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Opens the dialog form SaveFileDialog.
protected MenuFileSaveAs_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Saves the strategy.
protected MenuFileSave_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Menu Journal
protected MenuJournal_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Load a color scheme.
protected MenuLoadColor_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Performs actions corresponding on the menu item Load.
protected MenuLoadData_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Loads the next generated strategy
protected MenuNextHistory_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Menu MenuOpeningLogicSlots_OnClick.
protected MenuOpeningLogicSlots_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Loads the previously generated strategy
protected MenuPrevHistory_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Forces the intrabar scanning of the strategy.
protected MenuQuickScan_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Refine the data
protected MenuRefineData_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Opens the strategy settings dialogue.
protected MenuStrategyAUPBV_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Autos can
protected MenuStrategyAutoscan_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

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
Результат void

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

Loads the default strategy.
protected MenuStrategyNew_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Opens the strategy settings dialog.
protected MenuStrategySettings_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Undoes the strategy.
protected MenuStrategyUndo_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Tools menu
protected MenuTools_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Use logical groups menu item.
protected MenuUseLogicalGroups_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Changes the Full Screen mode.
protected MenuViewFullScreen_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Opens the averaging parameters dialog.
protected PnlAveraging_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Opens the indicator parameters dialog.
protected PnlSlot_MouseUp ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
Результат void

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

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
Результат void

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

Menu ShowPriceLine_OnClick.
protected ShowPriceLine_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

Strategy panel menu items clicked
protected SlotContextMenu_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

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

TradeUntillMC
protected TradeUntilMC_OnClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void