C# Class MQL4CSharp.Base.MQLBase

Afficher le fichier Open project: jseparovic/MQL4CSharp

Méthodes publiques

Свойство Type Description
LOG log4net.ILog

Méthodes publiques

Méthode Description
AccountBalance ( ) : double

Function: AccountBalance Description: Returns balance value of the current account. URL: http://docs.mql4.com/account/accountbalance.html

AccountCompany ( ) : string

Function: AccountCompany Description: Returns the brokerage company name where the current account was registered. URL: http://docs.mql4.com/account/accountcompany.html

AccountCredit ( ) : double

Function: AccountCredit Description: Returns credit value of the current account. URL: http://docs.mql4.com/account/accountcredit.html

AccountCurrency ( ) : string

Function: AccountCurrency Description: Returns currency name of the current account. URL: http://docs.mql4.com/account/accountcurrency.html

AccountEquity ( ) : double

Function: AccountEquity Description: Returns equity value of the current account. URL: http://docs.mql4.com/account/accountequity.html

AccountFreeMargin ( ) : double

Function: AccountFreeMargin Description: Returns free margin value of the current account. URL: http://docs.mql4.com/account/accountfreemargin.html

AccountFreeMarginCheck ( string symbol, int cmd, double volume ) : double

Function: AccountFreeMarginCheck Description: Returns free margin that remains after the specified order has been opened at the current price on the current account. URL: http://docs.mql4.com/account/accountfreemargincheck.html

AccountFreeMarginMode ( ) : double

Function: AccountFreeMarginMode Description: Returns the calculation mode of free margin allowed to open orders on the current account. URL: http://docs.mql4.com/account/accountfreemarginmode.html

AccountInfoDouble ( int property_id ) : double

Function: AccountInfoDouble Description: Returns the value of the corresponding account property. URL: http://docs.mql4.com/account/accountinfodouble.html

AccountInfoInteger ( int property_id ) : long

Function: AccountInfoInteger Description: Returns the value of the properties of the account. URL: http://docs.mql4.com/account/accountinfointeger.html

AccountInfoString ( int property_id ) : string

Function: AccountInfoString Description: Returns the value of the corresponding account property. URL: http://docs.mql4.com/account/accountinfostring.html

AccountLeverage ( ) : int

Function: AccountLeverage Description: Returns leverage of the current account. URL: http://docs.mql4.com/account/accountleverage.html

AccountMargin ( ) : double

Function: AccountMargin Description: Returns margin value of the current account. URL: http://docs.mql4.com/account/accountmargin.html

AccountName ( ) : string

Function: AccountName Description: Returns the current account name. URL: http://docs.mql4.com/account/accountname.html

AccountNumber ( ) : int

Function: AccountNumber Description: Returns the current account number. URL: http://docs.mql4.com/account/accountnumber.html

AccountProfit ( ) : double

Function: AccountProfit Description: Returns profit value of the current account. URL: http://docs.mql4.com/account/accountprofit.html

AccountServer ( ) : string

Function: AccountServer Description: Returns the connected server name. URL: http://docs.mql4.com/account/accountserver.html

AccountStopoutLevel ( ) : int

Function: AccountStopoutLevel Description: Returns the value of the Stop Out level. URL: http://docs.mql4.com/account/accountstopoutlevel.html

AccountStopoutMode ( ) : int

Function: AccountStopoutMode Description: Returns the calculation mode for the Stop Out level. URL: http://docs.mql4.com/account/accountstopoutmode.html

Alert ( string argument ) : void

Function: Alert Description: Displays a message in a separate window. URL: http://docs.mql4.com/common/alert.html

Bars ( string symbol_name, TIMEFRAME timeframe ) : int

Function: Bars Description: Returns the number of bars count in the history for a specified symbol and period. There are 2 variants of functions calls. URL: http://docs.mql4.com/series/barsfunction.html

Bars ( string symbol_name, TIMEFRAME timeframe, System.DateTime start_time, System.DateTime stop_time ) : int

Function: Bars Description: Returns the number of bars count in the history for a specified symbol and period. There are 2 variants of functions calls. URL: http://docs.mql4.com/series/barsfunction.html

ChartApplyTemplate ( long chart_id, string filename ) : bool

Function: ChartApplyTemplate Description: Applies a specific template from a specified file to the chart. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartapplytemplate.html

ChartClose ( long chart_id ) : bool

Function: ChartClose Description: Closes the specified chart. URL: http://docs.mql4.com/chart_operations/chartclose.html

ChartFirst ( ) : long

Function: ChartFirst Description: Returns the ID of the first chart of the client terminal. URL: http://docs.mql4.com/chart_operations/chartfirst.html

ChartID ( ) : long

Function: ChartID Description: Returns the ID of the current chart. URL: http://docs.mql4.com/chart_operations/chartid.html

ChartIndicatorDelete ( long chart_id, int sub_window, string indicator_shortname ) : bool

Function: ChartIndicatorDelete Description: Removes an indicator with a specified name from the specified chart window. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartindicatordelete.html

ChartIndicatorName ( long chart_id, int sub_window, int index ) : string

Function: ChartIndicatorName Description: Returns the short name of the indicator by the number in the indicators list on the specified chart window. URL: http://docs.mql4.com/chart_operations/chartindicatorname.html

ChartIndicatorsTotal ( long chart_id, int sub_window ) : int

Function: ChartIndicatorsTotal Description: Returns the number of all indicators applied to the specified chart window. URL: http://docs.mql4.com/chart_operations/chartindicatorstotal.html

ChartNavigate ( long chart_id, int position, int shift ) : bool

Function: ChartNavigate Description: Performs shift of the specified chart by the specified number of bars relative to the specified position in the chart. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartnavigate.html

ChartNext ( long chart_id ) : long

Function: ChartNext Description: Returns the chart ID of the chart next to the specified one. URL: http://docs.mql4.com/chart_operations/chartnext.html

ChartOpen ( string symbol, TIMEFRAME period ) : long

Function: ChartOpen Description: Opens a new chart with the specified symbol and period. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartopen.html

ChartPriceOnDropped ( ) : double

Function: ChartPriceOnDropped Description: Returns the price coordinate corresponding to the chart point the Expert Advisor or script has been dropped to. URL: http://docs.mql4.com/chart_operations/chartpriceondropped.html

ChartRedraw ( long chart_id ) : void

Function: ChartRedraw Description: This function calls a forced redrawing of a specified chart. URL: http://docs.mql4.com/chart_operations/chartredraw.html

ChartSaveTemplate ( long chart_id, string filename ) : bool

Function: ChartSaveTemplate Description: Saves current chart settings in a template with a specified name. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartsavetemplate.html

ChartScreenShot ( long chart_id, string filename, int width, int height, ALIGN_MODE align_mode ) : bool

Function: ChartScreenShot Description: Saves current chart screen shot as a GIF, PNG or BMP file depending on specified extension. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartscreenshot.html

ChartSetDouble ( long chart_id, int prop_id, double value ) : bool

Function: ChartSetDouble Description: Sets a value for a corresponding property of the specified chart. Chart property should be of a URL: http://docs.mql4.com/chart_operations/chartsetdouble.html

ChartSetInteger ( long chart_id, int prop_id, long value ) : bool

Function: ChartSetInteger Description: Sets a value for a corresponding property of the specified chart. Chart property must be URL: http://docs.mql4.com/chart_operations/chartsetinteger.html

ChartSetInteger ( long chart_id, int property_id, uint sub_window, long value ) : bool

Function: ChartSetInteger Description: Sets a value for a corresponding property of the specified chart. Chart property must be URL: http://docs.mql4.com/chart_operations/chartsetinteger.html

ChartSetString ( long chart_id, int prop_id, string str_value ) : bool

Function: ChartSetString Description: Sets a value for a corresponding property of the specified chart. Chart property must be of the string type. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartsetstring.html

ChartSetSymbolPeriod ( long chart_id, string symbol, TIMEFRAME period ) : bool

Function: ChartSetSymbolPeriod Description: Changes the symbol and period of the specified chart. The function is asynchronous, i.e. it sends the command and does not wait for its execution completion. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartsetsymbolperiod.html

ChartSymbol ( long chart_id ) : string

Function: ChartSymbol Description: Returns the symbol name for the specified chart. URL: http://docs.mql4.com/chart_operations/chartsymbol.html

ChartTimeOnDropped ( ) : System.DateTime

Function: ChartTimeOnDropped Description: Returns the time coordinate corresponding to the chart point the Expert Advisor or script has been dropped to. URL: http://docs.mql4.com/chart_operations/charttimeondropped.html

ChartWindowFind ( ) : int

Function: ChartWindowFind Description: The function returns the number of a subwindow where an indicator is drawn. There are 2 variants of the function. URL: http://docs.mql4.com/chart_operations/chartwindowfind.html

ChartWindowFind ( long chart_id, string indicator_shortname ) : int

Function: ChartWindowFind Description: The function returns the number of a subwindow where an indicator is drawn. There are 2 variants of the function. URL: http://docs.mql4.com/chart_operations/chartwindowfind.html

ChartWindowOnDropped ( ) : int

Function: ChartWindowOnDropped Description: Returns the number (index) of the chart subwindow the Expert Advisor or script has been dropped to. 0 means the main chart window. URL: http://docs.mql4.com/chart_operations/chartwindowondropped.html

ChartXOnDropped ( ) : int

Function: ChartXOnDropped Description: Returns the X coordinate of the chart point the Expert Advisor or script has been dropped to. URL: http://docs.mql4.com/chart_operations/chartxondropped.html

ChartYOnDropped ( ) : int

Function: ChartYOnDropped Description: Returns the Y coordinateof the chart point the Expert Advisor or script has been dropped to. URL: http://docs.mql4.com/chart_operations/chartyondropped.html

Comment ( string argument ) : void

Function: Comment Description: This function outputs a comment defined by a user in the top left corner of a chart. URL: http://docs.mql4.com/common/comment.html

Digits ( ) : int

Function: Digits Description: Returns the number of decimal digits determining the accuracy of price of the current chart symbol. URL: http://docs.mql4.com/check/digits.html

GetLastError ( ) : int

Function: GetLastError Description: Returns the contents of the URL: http://docs.mql4.com/check/getlasterror.html

GlobalVariableCheck ( string name ) : bool

Function: GlobalVariableCheck Description: Checks the existence of a global variable with the specified name URL: http://docs.mql4.com/globals/globalvariablecheck.html

GlobalVariableDel ( string name ) : bool

Function: GlobalVariableDel Description: Deletes a global variable from the client terminal URL: http://docs.mql4.com/globals/globalvariabledel.html

GlobalVariableGet ( string name ) : double

Function: GlobalVariableGet Description: Returns the value of an existing global variable of the client terminal. There are 2 variants of the function. URL: http://docs.mql4.com/globals/globalvariableget.html

GlobalVariableName ( int index ) : string

Function: GlobalVariableName Description: Returns the name of a global variable by its ordinal number. URL: http://docs.mql4.com/globals/globalvariablename.html

GlobalVariableSet ( string name, double value ) : System.DateTime

Function: GlobalVariableSet Description: Sets a new value for a global variable. If the variable does not exist, the system creates a new global variable. URL: http://docs.mql4.com/globals/globalvariableset.html

GlobalVariableSetOnCondition ( string name, double value, double check_value ) : bool

Function: GlobalVariableSetOnCondition Description: Sets the new value of the existing global variable if the current value equals to the third parameter check_value. If there is no global variable, the function will generate an error ERR_GLOBALVARIABLE_NOT_FOUND (4501) and return false. URL: http://docs.mql4.com/globals/globalvariablesetoncondition.html

GlobalVariableTemp ( string name ) : bool

Function: GlobalVariableTemp Description: The function attempts to create a temporary global variable. If the variable doesn't exist, the system creates a new temporary global variable. URL: http://docs.mql4.com/globals/globalvariabletemp.html

GlobalVariableTime ( string name ) : System.DateTime

Function: GlobalVariableTime Description: Returns the time when the global variable was last accessed. URL: http://docs.mql4.com/globals/globalvariabletime.html

GlobalVariablesDeleteAll ( string prefix_name, System.DateTime limit_data ) : int

Function: GlobalVariablesDeleteAll Description: Deletes global variables of the client terminal. URL: http://docs.mql4.com/globals/globalvariablesdeleteall.html

GlobalVariablesFlush ( ) : void

Function: GlobalVariablesFlush Description: Forcibly saves contents of all global variables to a disk. URL: http://docs.mql4.com/globals/globalvariablesflush.html

GlobalVariablesTotal ( ) : int

Function: GlobalVariablesTotal Description: Returns the total number of global variables of the client terminal. URL: http://docs.mql4.com/globals/globalvariablestotal.html

HideTestIndicators ( bool hide ) : void

Function: HideTestIndicators Description: The function sets a flag hiding indicators called by the Expert Advisor. URL: http://docs.mql4.com/customind/hidetestindicators.html

IndicatorBuffers ( int count ) : bool

Function: IndicatorBuffers Description: Allocates memory for buffers used for custom indicator calculations. URL: http://docs.mql4.com/customind/indicatorbuffers.html

IndicatorCounted ( ) : int

Function: IndicatorCounted Description: The function returns the amount of bars not changed after the indicator had been launched last. URL: http://docs.mql4.com/customind/indicatorcounted.html

IndicatorDigits ( int digits ) : void

Function: IndicatorDigits Description: Sets precision format (the count of digits after decimal point) to visualize indicator values. URL: http://docs.mql4.com/customind/indicatordigits.html

IndicatorSetDouble ( int prop_id, double prop_value ) : bool

Function: IndicatorSetDouble Description: The function sets the value of the corresponding indicator property. Indicator property must be of the double type. There are two variants of the function. URL: http://docs.mql4.com/customind/indicatorsetdouble.html

IndicatorSetDouble ( int prop_id, int prop_modifier, double prop_value ) : bool

Function: IndicatorSetDouble Description: The function sets the value of the corresponding indicator property. Indicator property must be of the double type. There are two variants of the function. URL: http://docs.mql4.com/customind/indicatorsetdouble.html

IndicatorSetInteger ( int prop_id, int prop_value ) : bool

Function: IndicatorSetInteger Description: The function sets the value of the corresponding indicator property. Indicator property must be of the int or color type. There are two variants of the function. URL: http://docs.mql4.com/customind/indicatorsetinteger.html

IndicatorSetInteger ( int prop_id, int prop_modifier, int prop_value ) : bool

Function: IndicatorSetInteger Description: The function sets the value of the corresponding indicator property. Indicator property must be of the int or color type. There are two variants of the function. URL: http://docs.mql4.com/customind/indicatorsetinteger.html

IndicatorSetString ( int prop_id, int prop_modifier, string prop_value ) : bool

Function: IndicatorSetString Description: The function sets the value of the corresponding indicator property. Indicator property must be of the string type. There are two variants of the function. URL: http://docs.mql4.com/customind/indicatorsetstring.html

IndicatorSetString ( int prop_id, string prop_value ) : bool

Function: IndicatorSetString Description: The function sets the value of the corresponding indicator property. Indicator property must be of the string type. There are two variants of the function. URL: http://docs.mql4.com/customind/indicatorsetstring.html

IndicatorShortName ( string name ) : void

Function: IndicatorShortName Description: Sets the "short" name of a custom indicator to be shown in the DataWindow and in the chart subwindow. URL: http://docs.mql4.com/customind/indicatorshortname.html

IsConnected ( ) : bool

Function: IsConnected Description: Checks connection between client terminal and server. URL: http://docs.mql4.com/check/isconnected.html

IsDemo ( ) : bool

Function: IsDemo Description: Checks if the Expert Advisor runs on a demo account. URL: http://docs.mql4.com/check/isdemo.html

IsDllsAllowed ( ) : bool

Function: IsDllsAllowed Description: Checks if the DLL function call is allowed for the Expert Advisor. URL: http://docs.mql4.com/check/isdllsallowed.html

IsExpertEnabled ( ) : bool

Function: IsExpertEnabled Description: Checks if Expert Advisors are enabled for running. URL: http://docs.mql4.com/check/isexpertenabled.html

IsLibrariesAllowed ( ) : bool

Function: IsLibrariesAllowed Description: Checks if the Expert Advisor can call library function. URL: http://docs.mql4.com/check/islibrariesallowed.html

IsOptimization ( ) : bool

Function: IsOptimization Description: Checks if Expert Advisor runs in the Strategy Tester optimization mode. URL: http://docs.mql4.com/check/isoptimization.html

IsStopped ( ) : bool

Function: IsStopped Description: Checks the forced shutdown of an mql4 program. URL: http://docs.mql4.com/check/isstopped.html

IsTesting ( ) : bool

Function: IsTesting Description: Checks URL: http://docs.mql4.com/check/istesting.html

IsTradeAllowed ( ) : bool

Function: IsTradeAllowed Description: Checks URL: http://docs.mql4.com/check/istradeallowed.html

IsTradeAllowed ( string symbol, System.DateTime tested_time ) : bool

Function: IsTradeAllowed Description: Checks URL: http://docs.mql4.com/check/istradeallowed.html

IsTradeContextBusy ( ) : bool

Function: IsTradeContextBusy Description: Returns the information about trade context. URL: http://docs.mql4.com/check/istradecontextbusy.html

IsVisualMode ( ) : bool

Function: IsVisualMode Description: Checks URL: http://docs.mql4.com/check/isvisualmode.html

MQLBase ( System.Int64 ix ) : log4net
MQLInfoInteger ( int property_id ) : int

Function: MQLInfoInteger Description: Returns the value of a corresponding property of a running mql4 program. URL: http://docs.mql4.com/check/mqlinfointeger.html

MQLInfoString ( int property_id ) : string

Function: MQLInfoString Description: Returns the value of a corresponding property of a running MQL4 program. URL: http://docs.mql4.com/check/mqlinfostring.html

MQLSetInteger ( int property_id, int property_value ) : void

Function: MQLSetInteger Description: Sets the value of the URL: http://docs.mql4.com/check/mqlsetinteger.html

MarketInfo ( string symbol, int type ) : double

Function: MarketInfo Description: Returns various data about securities listed in the "Market Watch" window. URL: http://docs.mql4.com/marketinformation/marketinfo.html

MarketTime ( string symbol ) : System.DateTime

Function: MarketInfo Description: Returns various data about securities listed in the "Market Watch" window. URL: http://docs.mql4.com/marketinformation/marketinfo.html

ObjectCreate ( long chart_id, string object_name, OBJECT_TYPE object_type, int sub_window, System.DateTime time1, double price1, System.DateTime timeN, double priceN ) : bool

Function: ObjectCreate Description: The function creates an object with the specified name, type, and the initial coordinates in the specified chart subwindow of the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectcreate.html

ObjectCreate ( string object_name, OBJECT_TYPE object_type, int sub_window, System.DateTime time1, double price1 ) : bool

Function: ObjectCreate Description: The function creates an object with the specified name, type, and the initial coordinates in the specified chart subwindow of the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectcreate.html

ObjectCreate ( string object_name, OBJECT_TYPE object_type, int sub_window, System.DateTime time1, double price1, System.DateTime time2, double price2, System.DateTime time3, double price3 ) : bool

Function: ObjectCreate Description: The function creates an object with the specified name, type, and the initial coordinates in the specified chart subwindow of the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectcreate.html

ObjectDelete ( long chart_id, string object_name ) : bool

Function: ObjectDelete Description: The function removes the object with the specified name at the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectdelete.html

ObjectDelete ( string object_name ) : bool

Function: ObjectDelete Description: The function removes the object with the specified name at the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectdelete.html

ObjectDescription ( string object_name ) : string

Function: ObjectDescription Description: Returns the object description. URL: http://docs.mql4.com/objects/objectdescription.html

ObjectFind ( long chart_id, string object_name ) : int

Function: ObjectFind Description: The function searches for an object having the specified name. There are two variants of the function: URL: http://docs.mql4.com/objects/objectfind.html

ObjectFind ( string object_name ) : int

Function: ObjectFind Description: The function searches for an object having the specified name. There are two variants of the function: URL: http://docs.mql4.com/objects/objectfind.html

ObjectGet ( string object_name, int index ) : double

Function: ObjectGet Description: Returns the value of the specified object property. URL: http://docs.mql4.com/objects/objectget.html

ObjectGetDouble ( long chart_id, string object_name, int prop_id, int prop_modifier ) : double

Function: ObjectGetDouble Description: The function returns the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectgetdouble.html

ObjectGetFiboDescription ( string object_name, int index ) : string

Function: ObjectGetFiboDescription Description: Returns the level description of a Fibonacci object. URL: http://docs.mql4.com/objects/objectgetfibodescription.html

ObjectGetInteger ( long chart_id, string object_name, int prop_id, int prop_modifier ) : long

Function: ObjectGetInteger Description: The function returns the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectgetinteger.html

ObjectGetShiftByValue ( string object_name, double value ) : int

Function: ObjectGetShiftByValue Description: The function calculates and returns bar index (shift related to the current bar) for the given price. URL: http://docs.mql4.com/objects/objectgetshiftbyvalue.html

ObjectGetString ( long chart_id, string object_name, int prop_id, int prop_modifier ) : string

Function: ObjectGetString Description: The function returns the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectgetstring.html

ObjectGetTimeByValue ( string object_name, double value, int line_id ) : System.DateTime

Function: ObjectGetTimeByValue Description: The function returns the time value for the specified price value of the specified object. URL: http://docs.mql4.com/objects/objectgettimebyvalue.html

ObjectGetValueByShift ( string object_name, int shift ) : double

Function: ObjectGetValueByShift Description: The function calculates and returns the price value for the specified bar (shift related to the current bar). URL: http://docs.mql4.com/objects/objectgetvaluebyshift.html

ObjectGetValueByTime ( long chart_id, string object_name, System.DateTime time, int line_id ) : double

Function: ObjectGetValueByTime Description: The function returns the price value for the specified time value of the specified object. URL: http://docs.mql4.com/objects/objectgetvaluebytime.html

ObjectMove ( string object_name, int point_index, System.DateTime time, double price ) : bool

Function: ObjectMove Description: The function changes coordinates of the specified anchor point of the object at the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectmove.html

ObjectName ( int object_index ) : string

Function: ObjectName Description: The function returns the name of the corresponding object by its index in the objects list. URL: http://docs.mql4.com/objects/objectname.html

ObjectSet ( string object_name, int index, double value ) : bool

Function: ObjectSet Description: Changes the value of the specified object property. URL: http://docs.mql4.com/objects/objectset.html

ObjectSetDouble ( long chart_id, string object_name, int prop_id, double prop_value ) : bool

Function: ObjectSetDouble Description: The function sets the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectsetdouble.html

ObjectSetDouble ( long chart_id, string object_name, int prop_id, int prop_modifier, double prop_value ) : bool

Function: ObjectSetDouble Description: The function sets the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectsetdouble.html

ObjectSetFiboDescription ( string object_name, int index, string text ) : bool

Function: ObjectSetFiboDescription Description: The function sets a new description to a level of a Fibonacci object. URL: http://docs.mql4.com/objects/objectsetfibodescription.html

ObjectSetInteger ( long chart_id, string object_name, int prop_id, int prop_modifier, long prop_value ) : bool

Function: ObjectSetInteger Description: The function sets the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectsetinteger.html

ObjectSetInteger ( long chart_id, string object_name, int prop_id, long prop_value ) : bool

Function: ObjectSetInteger Description: The function sets the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectsetinteger.html

ObjectSetString ( long chart_id, string object_name, int prop_id, int prop_modifier, string prop_value ) : bool

Function: ObjectSetString Description: The function sets the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectsetstring.html

ObjectSetString ( long chart_id, string object_name, int prop_id, string prop_value ) : bool

Function: ObjectSetString Description: The function sets the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectsetstring.html

ObjectSetText ( string object_name, string text, int font_size, string font_name, COLOR text_color ) : bool

Function: ObjectSetText Description: The function c URL: http://docs.mql4.com/objects/objectsettext.html

ObjectType ( string object_name ) : int

Function: ObjectType Description: The function returns the object type value. URL: http://docs.mql4.com/objects/objecttype.html

ObjectsDeleteAll ( int sub_window, int object_type ) : int

Function: ObjectsDeleteAll Description: Removes all objects from the specified chart, specified chart subwindow, of the specified type. URL: http://docs.mql4.com/objects/objectsdeleteall.html

ObjectsDeleteAll ( long chart_id, int sub_window, int object_type ) : int

Function: ObjectsDeleteAll Description: Removes all objects from the specified chart, specified chart subwindow, of the specified type. URL: http://docs.mql4.com/objects/objectsdeleteall.html

ObjectsDeleteAll ( long chart_id, string prefix, int sub_window, int object_type ) : int

Function: ObjectsDeleteAll Description: Removes all objects from the specified chart, specified chart subwindow, of the specified type. URL: http://docs.mql4.com/objects/objectsdeleteall.html

ObjectsTotal ( int type ) : int

Function: ObjectsTotal Description: The function returns the number of objects of the specified type in the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectstotal.html

ObjectsTotal ( long chart_id, int sub_window, int type ) : int

Function: ObjectsTotal Description: The function returns the number of objects of the specified type in the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectstotal.html

OrderClose ( int ticket, double lots, double price, int slippage, COLOR arrow_color ) : bool

Function: OrderClose Description: Closes opened order. URL: http://docs.mql4.com/trading/orderclose.html

OrderCloseBy ( int ticket, int opposite, COLOR arrow_color ) : bool

Function: OrderCloseBy Description: Closes an opened order by another opposite opened order. URL: http://docs.mql4.com/trading/ordercloseby.html

OrderClosePrice ( ) : double

Function: OrderClosePrice Description: Returns close price of the currently selected order. URL: http://docs.mql4.com/trading/ordercloseprice.html

OrderCloseTime ( ) : System.DateTime

Function: OrderCloseTime Description: Returns close time of the currently selected order. URL: http://docs.mql4.com/trading/orderclosetime.html

OrderComment ( ) : string

Function: OrderComment Description: Returns comment of the currently selected order. URL: http://docs.mql4.com/trading/ordercomment.html

OrderCommission ( ) : double

Function: OrderCommission Description: Returns calculated commission of the currently selected order. URL: http://docs.mql4.com/trading/ordercommission.html

OrderDelete ( int ticket, COLOR arrow_color ) : bool

Function: OrderDelete Description: Deletes previously opened pending order. URL: http://docs.mql4.com/trading/orderdelete.html

OrderExpiration ( ) : System.DateTime

Function: OrderExpiration Description: Returns expiration date of the selected pending order. URL: http://docs.mql4.com/trading/orderexpiration.html

OrderLots ( ) : double

Function: OrderLots Description: Returns amount of lots of the selected order. URL: http://docs.mql4.com/trading/orderlots.html

OrderMagicNumber ( ) : int

Function: OrderMagicNumber Description: Returns an identifying (magic) number of the currently selected order. URL: http://docs.mql4.com/trading/ordermagicnumber.html

OrderModify ( int ticket, double price, double stoploss, double takeprofit, System.DateTime expiration, COLOR arrow_color ) : bool

Function: OrderModify Description: Modification of characteristics of the previously opened or pending orders. URL: http://docs.mql4.com/trading/ordermodify.html

OrderOpenPrice ( ) : double

Function: OrderOpenPrice Description: Returns open price of the currently selected order. URL: http://docs.mql4.com/trading/orderopenprice.html

OrderOpenTime ( ) : System.DateTime

Function: OrderOpenTime Description: Returns open time of the currently selected order. URL: http://docs.mql4.com/trading/orderopentime.html

OrderPrint ( ) : void

Function: OrderPrint Description: Prints information about the selected order in the log. URL: http://docs.mql4.com/trading/orderprint.html

OrderProfit ( ) : double

Function: OrderProfit Description: Returns profit of the currently selected order. URL: http://docs.mql4.com/trading/orderprofit.html

OrderSelect ( int index, int select, int pool ) : bool

Function: OrderSelect Description: The function selects an order for further processing. URL: http://docs.mql4.com/trading/orderselect.html

OrderSend ( string symbol, int cmd, double volume, double price, int slippage, double stoploss, double takeprofit, string comment, int magic, System.DateTime expiration, COLOR arrow_color ) : int

Function: OrderSend Description: The main function used to open market or place a pending order. URL: http://docs.mql4.com/trading/ordersend.html

OrderStopLoss ( ) : double

Function: OrderStopLoss Description: Returns stop loss value of the currently selected order. URL: http://docs.mql4.com/trading/orderstoploss.html

OrderSwap ( ) : double

Function: OrderSwap Description: Returns swap value of the currently selected order. URL: http://docs.mql4.com/trading/orderswap.html

OrderSymbol ( ) : string

Function: OrderSymbol Description: Returns symbol name of the currently selected order. URL: http://docs.mql4.com/trading/ordersymbol.html

OrderTakeProfit ( ) : double

Function: OrderTakeProfit Description: Returns take profit value of the currently selected order. URL: http://docs.mql4.com/trading/ordertakeprofit.html

OrderTicket ( ) : int

Function: OrderTicket Description: Returns ticket number of the currently selected order. URL: http://docs.mql4.com/trading/orderticket.html

OrderType ( ) : int

Function: OrderType Description: Returns order operation type of the currently selected order. URL: http://docs.mql4.com/trading/ordertype.html

OrdersHistoryTotal ( ) : int

Function: OrdersHistoryTotal Description: Returns the number of closed orders in the account history loaded into the terminal. URL: http://docs.mql4.com/trading/ordershistorytotal.html

OrdersTotal ( ) : int

Function: OrdersTotal Description: Returns the number of market and pending orders. URL: http://docs.mql4.com/trading/orderstotal.html

Period ( ) : int

Function: Period Description: Returns the current chart timeframe. URL: http://docs.mql4.com/check/period.html

Point ( ) : double

Function: Point Description: Returns the point size of the current symbol in the quote currency. URL: http://docs.mql4.com/check/point.html

RefreshRates ( ) : bool

Function: RefreshRates Description: Refreshing of data in pre-defined variables and series arrays. URL: http://docs.mql4.com/series/refreshrates.html

SendFTP ( string filename, string ftp_path ) : bool

Function: SendFTP Description: Sends a file at the address, specified in the setting window of the "FTP" tab. URL: http://docs.mql4.com/common/sendftp.html

SendMail ( string subject, string some_text ) : bool

Function: SendMail Description: Sends an email at the address specified in the settings window of the "Email" tab. URL: http://docs.mql4.com/common/sendmail.html

SendNotification ( string text ) : bool

Function: SendNotification Description: Sends push notifications to the mobile terminals, whose MetaQuotes IDs are specified in the "Notifications" tab. URL: http://docs.mql4.com/common/sendnotification.html

SetIndexArrow ( int index, int code ) : void

Function: SetIndexArrow Description: Sets an arrow symbol for indicators line of the DRAW_ARROW type. URL: http://docs.mql4.com/customind/setindexarrow.html

SetIndexDrawBegin ( int index, int begin ) : void

Function: SetIndexDrawBegin Description: Sets the bar number (from the data beginning) from which the drawing of the given indicator line must start. URL: http://docs.mql4.com/customind/setindexdrawbegin.html

SetIndexEmptyValue ( int index, double value ) : void

Function: SetIndexEmptyValue Description: Sets drawing line empty value. URL: http://docs.mql4.com/customind/setindexemptyvalue.html

SetIndexLabel ( int index, string text ) : void

Function: SetIndexLabel Description: Sets drawing line description for showing in the DataWindow and in the tooltip. URL: http://docs.mql4.com/customind/setindexlabel.html

SetIndexShift ( int index, int shift ) : void

Function: SetIndexShift Description: Sets offset for the drawing line. URL: http://docs.mql4.com/customind/setindexshift.html

SetIndexStyle ( int index, int type, int style, int width, COLOR clr ) : void

Function: SetIndexStyle Description: Sets the new type, style, width and color for a given indicator line. URL: http://docs.mql4.com/customind/setindexstyle.html

SetLevelStyle ( int draw_style, int line_width, COLOR clr ) : void

Function: SetLevelStyle Description: The function sets a new style, width and color of horizontal levels of indicator to be output in a separate window. URL: http://docs.mql4.com/customind/setlevelstyle.html

SetLevelValue ( int level, double value ) : void

Function: SetLevelValue Description: The function sets a value for a given horizontal level of the indicator to be output in a separate window. URL: http://docs.mql4.com/customind/setlevelvalue.html

SignalBaseGetDouble ( SIGNAL_BASE_DOUBLE property_id ) : double

Function: SignalBaseGetDouble Description: Returns the value of URL: http://docs.mql4.com/signals/signalbasegetdouble.html

SignalBaseGetInteger ( SIGNAL_BASE_INTEGER property_id ) : long

Function: SignalBaseGetInteger Description: Returns the value of URL: http://docs.mql4.com/signals/signalbasegetinteger.html

SignalBaseGetString ( SIGNAL_BASE_STRING property_id ) : string

Function: SignalBaseGetString Description: Returns the value of URL: http://docs.mql4.com/signals/signalbasegetstring.html

SignalBaseSelect ( int index ) : bool

Function: SignalBaseSelect Description: Selects a signal from signals, available in terminal for further working with it. URL: http://docs.mql4.com/signals/signalbaseselect.html

SignalBaseTotal ( ) : int

Function: SignalBaseTotal Description: Returns the total amount of signals, available in terminal. URL: http://docs.mql4.com/signals/signalbasetotal.html

SignalInfoGetDouble ( SIGNAL_INFO_DOUBLE property_id ) : double

Function: SignalInfoGetDouble Description: Returns the value of URL: http://docs.mql4.com/signals/signalinfogetdouble.html

SignalInfoGetInteger ( SIGNAL_INFO_INTEGER property_id ) : long

Function: SignalInfoGetInteger Description: Returns the value of URL: http://docs.mql4.com/signals/signalinfogetinteger.html

SignalInfoGetString ( SIGNAL_INFO_STRING property_id ) : string

Function: SignalInfoGetString Description: Returns the value of URL: http://docs.mql4.com/signals/signalinfogetstring.html

SignalInfoSetDouble ( SIGNAL_INFO_DOUBLE property_id, double value ) : bool

Function: SignalInfoSetDouble Description: Sets the value of URL: http://docs.mql4.com/signals/signalinfosetdouble.html

SignalInfoSetInteger ( SIGNAL_INFO_INTEGER property_id, long value ) : bool

Function: SignalInfoSetInteger Description: Sets the value of URL: http://docs.mql4.com/signals/signalinfosetinteger.html

SignalSubscribe ( long signal_id ) : bool

Function: SignalSubscribe Description: Subscribes to the trading signal. URL: http://docs.mql4.com/signals/signalsubscribe.html

SignalUnsubscribe ( ) : bool

Function: SignalUnsubscribe Description: Cancels subscription. URL: http://docs.mql4.com/signals/signalunsubscribe.html

Symbol ( ) : string

Function: Symbol Description: Returns the name of a symbol of the current chart. URL: http://docs.mql4.com/check/symbol.html

SymbolName ( int pos, bool selected ) : string

Function: SymbolName Description: Returns the name of a symbol. URL: http://docs.mql4.com/marketinformation/symbolname.html

SymbolSelect ( string name, bool select ) : bool

Function: SymbolSelect Description: Selects a symbol in the Market Watch window or removes a symbol from the window. URL: http://docs.mql4.com/marketinformation/symbolselect.html

SymbolsTotal ( bool selected ) : int

Function: SymbolsTotal Description: Returns the number of available (selected in Market Watch or all) symbols. URL: http://docs.mql4.com/marketinformation/symbolstotal.html

TerminalCompany ( ) : string

Function: TerminalCompany Description: Returns the name of company owning the client terminal. URL: http://docs.mql4.com/check/terminalcompany.html

TerminalInfoDouble ( int property_id ) : double

Function: TerminalInfoDouble Description: Returns the value of a corresponding property of the mql4 program environment. URL: http://docs.mql4.com/check/terminalinfodouble.html

TerminalInfoInteger ( int property_id ) : int

Function: TerminalInfoInteger Description: Returns the value of a corresponding property of the mql4 program environment. URL: http://docs.mql4.com/check/terminalinfointeger.html

TerminalInfoString ( int property_id ) : string

Function: TerminalInfoString Description: Returns the value of a corresponding property of the mql4 program environment. The property must be of string type. URL: http://docs.mql4.com/check/terminalinfostring.html

TerminalName ( ) : string

Function: TerminalName Description: Returns client terminal name. URL: http://docs.mql4.com/check/terminalname.html

TerminalPath ( ) : string

Function: TerminalPath Description: Returns the directory, from which the client terminal was launched. URL: http://docs.mql4.com/check/terminalpath.html

TextSetFont ( string name, int size, uint flags, int orientation ) : bool

Function: TextSetFont Description: The function sets the font for displaying the text using drawing methods and returns the result of that operation. Arial font with the size -120 (12 pt) is used by default. URL: http://docs.mql4.com/objects/textsetfont.html

UninitializeReason ( ) : int

Function: UninitializeReason Description: Returns the code of a URL: http://docs.mql4.com/check/uninitializereason.html

WindowBarsPerChart ( ) : int

Function: WindowBarsPerChart Description: Returns the amount of bars visible on the chart. URL: http://docs.mql4.com/chart_operations/windowbarsperchart.html

WindowExpertName ( ) : string

Function: WindowExpertName Description: Returns the name of the executed Expert Advisor, script, custom indicator, or library. URL: http://docs.mql4.com/chart_operations/windowexpertname.html

WindowFind ( string name ) : int

Function: WindowFind Description: Returns the window index containing this specified indicator. URL: http://docs.mql4.com/chart_operations/windowfind.html

WindowFirstVisibleBar ( ) : int

Function: WindowFirstVisibleBar Description: Returns index of the first visible bar in the current chart window. URL: http://docs.mql4.com/chart_operations/windowfirstvisiblebar.html

WindowHandle ( string symbol, int timeframe ) : int

Function: WindowHandle Description: Returns the system handle of the chart window. URL: http://docs.mql4.com/chart_operations/windowhandle.html

WindowIsVisible ( int index ) : int

Function: WindowIsVisible Description: Returns the visibility flag of the chart subwindow. URL: http://docs.mql4.com/chart_operations/windowisvisible.html

WindowOnDropped ( ) : int

Function: WindowOnDropped Description: Returns the window index where Expert Advisor, custom indicator or script was dropped. URL: http://docs.mql4.com/chart_operations/windowondropped.html

WindowPriceMax ( int index ) : int

Function: WindowPriceMax Description: Returns the maximal value of the vertical scale of the specified subwindow of the current chart. URL: http://docs.mql4.com/chart_operations/windowpricemax.html

WindowPriceMin ( int index ) : int

Function: WindowPriceMin Description: Returns the minimal value of the vertical scale of the specified subwindow of the current chart. URL: http://docs.mql4.com/chart_operations/windowpricemin.html

WindowPriceOnDropped ( ) : double

Function: WindowPriceOnDropped Description: Returns the price of the chart point where Expert Advisor or script was dropped. URL: http://docs.mql4.com/chart_operations/windowpriceondropped.html

WindowRedraw ( ) : void

Function: WindowRedraw Description: Redraws the current chart forcedly. URL: http://docs.mql4.com/chart_operations/windowredraw.html

WindowScreenShot ( string filename, int size_x, int size_y, int start_bar, int chart_scale, int chart_mode ) : bool

Function: WindowScreenShot Description: Saves current chart screen shot as a GIF file. URL: http://docs.mql4.com/chart_operations/windowscreenshot.html

WindowTimeOnDropped ( ) : System.DateTime

Function: WindowTimeOnDropped Description: Returns the time of the chart point where Expert Advisor or script was dropped. URL: http://docs.mql4.com/chart_operations/windowtimeondropped.html

WindowXOnDropped ( ) : int

Function: WindowXOnDropped Description: Returns the value at X axis in pixels for the chart window client area point at which the Expert Advisor or script was dropped. URL: http://docs.mql4.com/chart_operations/windowxondropped.html

WindowYOnDropped ( ) : int

Function: WindowYOnDropped Description: Returns the value at Y axis in pixels for the chart window client area point at which the Expert Advisor or script was dropped. URL: http://docs.mql4.com/chart_operations/windowyondropped.html

WindowsTotal ( ) : int

Function: WindowsTotal Description: Returns total number of indicator windows on the chart. URL: http://docs.mql4.com/chart_operations/windowstotal.html

iAC ( string symbol, int timeframe, int shift ) : double

Function: iAC Description: Calculates the Bill Williams' Accelerator/Decelerator oscillator and returns its value. URL: http://docs.mql4.com/indicators/iac.html

iAD ( string symbol, int timeframe, int shift ) : double

Function: iAD Description: Calculates the Accumulation/Distribution indicator and returns its value. URL: http://docs.mql4.com/indicators/iad.html

iADX ( string symbol, int timeframe, int period, int applied_price, int mode, int shift ) : double

Function: iADX Description: Calculates the Average Directional Movement Index indicator and returns its value. URL: http://docs.mql4.com/indicators/iadx.html

iAO ( string symbol, int timeframe, int shift ) : double

Function: iAO Description: Calculates the Awesome oscillator and returns its value. URL: http://docs.mql4.com/indicators/iao.html

iATR ( string symbol, int timeframe, int period, int shift ) : double

Function: iATR Description: Calculates the Average True Range indicator and returns its value. URL: http://docs.mql4.com/indicators/iatr.html

iAlligator ( string symbol, int timeframe, int jaw_period, int jaw_shift, int teeth_period, int teeth_shift, int lips_period, int lips_shift, int ma_method, int applied_price, int mode, int shift ) : double

Function: iAlligator Description: Calculates the Alligator indicator and returns its value. URL: http://docs.mql4.com/indicators/ialligator.html

iBWMFI ( string symbol, int timeframe, int shift ) : double

Function: iBWMFI Description: Calculates the Market Facilitation Index indicator and returns its value. URL: http://docs.mql4.com/indicators/ibwmfi.html

iBands ( string symbol, int timeframe, int period, double deviation, int bands_shift, int applied_price, int mode, int shift ) : double

Function: iBands Description: Calculates the Bollinger Bands indicator and returns its value. URL: http://docs.mql4.com/indicators/ibands.html

iBarShift ( string symbol, int timeframe, System.DateTime time, bool exact ) : int

Function: iBarShift Description: Search for a bar by its time. The function returns the index of the bar which covers the specified time. URL: http://docs.mql4.com/series/ibarshift.html

iBars ( string symbol, int timeframe ) : int

Function: iBars Description: Returns the number of bars on the specified chart. URL: http://docs.mql4.com/series/ibars.html

iBearsPower ( string symbol, int timeframe, int period, int applied_price, int shift ) : double

Function: iBearsPower Description: Calculates the Bears Power indicator and returns its value. URL: http://docs.mql4.com/indicators/ibearspower.html

iBullsPower ( string symbol, int timeframe, int period, int applied_price, int shift ) : double

Function: iBullsPower Description: Calculates the Bulls Power indicator and returns its value. URL: http://docs.mql4.com/indicators/ibullspower.html

iCCI ( string symbol, int timeframe, int period, int applied_price, int shift ) : double

Function: iCCI Description: Calculates the Commodity Channel Index indicator and returns its value. URL: http://docs.mql4.com/indicators/icci.html

iClose ( string symbol, int timeframe, int shift ) : double

Function: iClose Description: Returns Close price value for the bar of specified symbol with timeframe and shift. URL: http://docs.mql4.com/series/iclose.html

iDeMarker ( string symbol, int timeframe, int period, int shift ) : double

Function: iDeMarker Description: Calculates the DeMarker indicator and returns its value. URL: http://docs.mql4.com/indicators/idemarker.html

iEnvelopes ( string symbol, int timeframe, int ma_period, int ma_method, int ma_shift, int applied_price, double deviation, int mode, int shift ) : double

Function: iEnvelopes Description: Calculates the Envelopes indicator and returns its value. URL: http://docs.mql4.com/indicators/ienvelopes.html

iForce ( string symbol, int timeframe, int period, int ma_method, int applied_price, int shift ) : double

Function: iForce Description: Calculates the Force Index indicator and returns its value. URL: http://docs.mql4.com/indicators/iforce.html

iFractals ( string symbol, int timeframe, int mode, int shift ) : double

Function: iFractals Description: Calculates the Fractals indicator and returns its value. URL: http://docs.mql4.com/indicators/ifractals.html

iGator ( string symbol, int timeframe, int jaw_period, int jaw_shift, int teeth_period, int teeth_shift, int lips_period, int lips_shift, int ma_method, int applied_price, int mode, int shift ) : double

Function: iGator Description: Calculates the Gator oscillator and returns its value. URL: http://docs.mql4.com/indicators/igator.html

iHigh ( string symbol, int timeframe, int shift ) : double

Function: iHigh Description: Returns High price value for the bar of specified symbol with timeframe and shift. URL: http://docs.mql4.com/series/ihigh.html

iHighest ( string symbol, int timeframe, int type, int count, int start ) : int

Function: iHighest Description: Returns the shift of the maximum value over a specific number of bars depending on type. URL: http://docs.mql4.com/series/ihighest.html

iIchimoku ( string symbol, int timeframe, int tenkan_sen, int kijun_sen, int senkou_span_b, int mode, int shift ) : double

Function: iIchimoku Description: Calculates the Ichimoku Kinko Hyo indicator and returns its value. URL: http://docs.mql4.com/indicators/iichimoku.html

iLow ( string symbol, int timeframe, int shift ) : double

Function: iLow Description: Returns Low price value for the bar of indicated symbol with timeframe and shift. URL: http://docs.mql4.com/series/ilow.html

iLowest ( string symbol, int timeframe, int type, int count, int start ) : int

Function: iLowest Description: Returns the shift of the lowest value over a specific number of bars depending on type. URL: http://docs.mql4.com/series/ilowest.html

iMA ( string symbol, int timeframe, int ma_period, int ma_shift, int ma_method, int applied_price, int shift ) : double

Function: iMA Description: Calculates the Moving Average indicator and returns its value. URL: http://docs.mql4.com/indicators/ima.html

iMACD ( string symbol, int timeframe, int fast_ema_period, int slow_ema_period, int signal_period, int applied_price, int mode, int shift ) : double

Function: iMACD Description: Calculates the Moving Averages Convergence/Divergence indicator and returns its value. URL: http://docs.mql4.com/indicators/imacd.html

iMFI ( string symbol, int timeframe, int period, int shift ) : double

Function: iMFI Description: Calculates the Money Flow Index indicator and returns its value. URL: http://docs.mql4.com/indicators/imfi.html

iMomentum ( string symbol, int timeframe, int period, int applied_price, int shift ) : double

Function: iMomentum Description: Calculates the Momentum indicator and returns its value. URL: http://docs.mql4.com/indicators/imomentum.html

iOBV ( string symbol, int timeframe, int applied_price, int shift ) : double

Function: iOBV Description: Calculates the On Balance Volume indicator and returns its value. URL: http://docs.mql4.com/indicators/iobv.html

iOpen ( string symbol, int timeframe, int shift ) : double

Function: iOpen Description: Returns Open price value for the bar of specified symbol with timeframe and shift. URL: http://docs.mql4.com/series/iopen.html

iOsMA ( string symbol, int timeframe, int fast_ema_period, int slow_ema_period, int signal_period, int applied_price, int shift ) : double

Function: iOsMA Description: iOsMA URL: http://docs.mql4.com/indicators/iosma.html

iRSI ( string symbol, int timeframe, int period, int applied_price, int shift ) : double

Function: iRSI Description: Calculates the Relative Strength Index indicator and returns its value. URL: http://docs.mql4.com/indicators/irsi.html

iRVI ( string symbol, int timeframe, int period, int mode, int shift ) : double

Function: iRVI Description: Calculates the Relative Vigor Index indicator and returns its value. URL: http://docs.mql4.com/indicators/irvi.html

iSAR ( string symbol, int timeframe, double step, double maximum, int shift ) : double

Function: iSAR Description: Calculates the Parabolic Stop and Reverse system indicator and returns its value. URL: http://docs.mql4.com/indicators/isar.html

iStdDev ( string symbol, int timeframe, int ma_period, int ma_shift, int ma_method, int applied_price, int shift ) : double

Function: iStdDev Description: Calculates the Standard Deviation indicator and returns its value. URL: http://docs.mql4.com/indicators/istddev.html

iStochastic ( string symbol, int timeframe, int Kperiod, int Dperiod, int slowing, int method, int price_field, int mode, int shift ) : double

Function: iStochastic Description: Calculates the Stochastic Oscillator and returns its value. URL: http://docs.mql4.com/indicators/istochastic.html

iTime ( string symbol, int timeframe, int shift ) : DateTime

Function: iTime Description: Returns Time value for the bar of specified symbol with timeframe and shift. URL: http://docs.mql4.com/series/itime.html

iVolume ( string symbol, int timeframe, int shift ) : long

Function: iVolume Description: Returns Tick Volume value for the bar of specified symbol with timeframe and shift. URL: http://docs.mql4.com/series/ivolume.html

iWPR ( string symbol, int timeframe, int period, int shift ) : double

Function: iWPR Description: Calculates the Larry Williams' Percent Range and returns its value. URL: http://docs.mql4.com/indicators/iwpr.html

Method Details

AccountBalance() public méthode

Function: AccountBalance Description: Returns balance value of the current account. URL: http://docs.mql4.com/account/accountbalance.html
public AccountBalance ( ) : double
Résultat double

AccountCompany() public méthode

Function: AccountCompany Description: Returns the brokerage company name where the current account was registered. URL: http://docs.mql4.com/account/accountcompany.html
public AccountCompany ( ) : string
Résultat string

AccountCredit() public méthode

Function: AccountCredit Description: Returns credit value of the current account. URL: http://docs.mql4.com/account/accountcredit.html
public AccountCredit ( ) : double
Résultat double

AccountCurrency() public méthode

Function: AccountCurrency Description: Returns currency name of the current account. URL: http://docs.mql4.com/account/accountcurrency.html
public AccountCurrency ( ) : string
Résultat string

AccountEquity() public méthode

Function: AccountEquity Description: Returns equity value of the current account. URL: http://docs.mql4.com/account/accountequity.html
public AccountEquity ( ) : double
Résultat double

AccountFreeMargin() public méthode

Function: AccountFreeMargin Description: Returns free margin value of the current account. URL: http://docs.mql4.com/account/accountfreemargin.html
public AccountFreeMargin ( ) : double
Résultat double

AccountFreeMarginCheck() public méthode

Function: AccountFreeMarginCheck Description: Returns free margin that remains after the specified order has been opened at the current price on the current account. URL: http://docs.mql4.com/account/accountfreemargincheck.html
public AccountFreeMarginCheck ( string symbol, int cmd, double volume ) : double
symbol string [in] Symbol for trading operation.
cmd int [in] Operation type. It can be either OP_BUY or OP_SELL.
volume double [in] Number of lots.
Résultat double

AccountFreeMarginMode() public méthode

Function: AccountFreeMarginMode Description: Returns the calculation mode of free margin allowed to open orders on the current account. URL: http://docs.mql4.com/account/accountfreemarginmode.html
public AccountFreeMarginMode ( ) : double
Résultat double

AccountInfoDouble() public méthode

Function: AccountInfoDouble Description: Returns the value of the corresponding account property. URL: http://docs.mql4.com/account/accountinfodouble.html
public AccountInfoDouble ( int property_id ) : double
property_id int [in] Identifier of the property. The value can be one of the values of .
Résultat double

AccountInfoInteger() public méthode

Function: AccountInfoInteger Description: Returns the value of the properties of the account. URL: http://docs.mql4.com/account/accountinfointeger.html
public AccountInfoInteger ( int property_id ) : long
property_id int [in] Identifier of the property. The value can be one of the values of .
Résultat long

AccountInfoString() public méthode

Function: AccountInfoString Description: Returns the value of the corresponding account property. URL: http://docs.mql4.com/account/accountinfostring.html
public AccountInfoString ( int property_id ) : string
property_id int [in] Identifier of the property. The value can be one of the values of .
Résultat string

AccountLeverage() public méthode

Function: AccountLeverage Description: Returns leverage of the current account. URL: http://docs.mql4.com/account/accountleverage.html
public AccountLeverage ( ) : int
Résultat int

AccountMargin() public méthode

Function: AccountMargin Description: Returns margin value of the current account. URL: http://docs.mql4.com/account/accountmargin.html
public AccountMargin ( ) : double
Résultat double

AccountName() public méthode

Function: AccountName Description: Returns the current account name. URL: http://docs.mql4.com/account/accountname.html
public AccountName ( ) : string
Résultat string

AccountNumber() public méthode

Function: AccountNumber Description: Returns the current account number. URL: http://docs.mql4.com/account/accountnumber.html
public AccountNumber ( ) : int
Résultat int

AccountProfit() public méthode

Function: AccountProfit Description: Returns profit value of the current account. URL: http://docs.mql4.com/account/accountprofit.html
public AccountProfit ( ) : double
Résultat double

AccountServer() public méthode

Function: AccountServer Description: Returns the connected server name. URL: http://docs.mql4.com/account/accountserver.html
public AccountServer ( ) : string
Résultat string

AccountStopoutLevel() public méthode

Function: AccountStopoutLevel Description: Returns the value of the Stop Out level. URL: http://docs.mql4.com/account/accountstopoutlevel.html
public AccountStopoutLevel ( ) : int
Résultat int

AccountStopoutMode() public méthode

Function: AccountStopoutMode Description: Returns the calculation mode for the Stop Out level. URL: http://docs.mql4.com/account/accountstopoutmode.html
public AccountStopoutMode ( ) : int
Résultat int

Alert() public méthode

Function: Alert Description: Displays a message in a separate window. URL: http://docs.mql4.com/common/alert.html
public Alert ( string argument ) : void
argument string
Résultat void

Bars() public méthode

Function: Bars Description: Returns the number of bars count in the history for a specified symbol and period. There are 2 variants of functions calls. URL: http://docs.mql4.com/series/barsfunction.html
public Bars ( string symbol_name, TIMEFRAME timeframe ) : int
symbol_name string [in] Symbol name.
timeframe TIMEFRAME [in] Period.
Résultat int

Bars() public méthode

Function: Bars Description: Returns the number of bars count in the history for a specified symbol and period. There are 2 variants of functions calls. URL: http://docs.mql4.com/series/barsfunction.html
public Bars ( string symbol_name, TIMEFRAME timeframe, System.DateTime start_time, System.DateTime stop_time ) : int
symbol_name string [in] Symbol name.
timeframe TIMEFRAME [in] Period.
start_time System.DateTime [in] Bar time corresponding to the first element.
stop_time System.DateTime [in] Bar time corresponding to the last element.
Résultat int

ChartApplyTemplate() public méthode

Function: ChartApplyTemplate Description: Applies a specific template from a specified file to the chart. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartapplytemplate.html
public ChartApplyTemplate ( long chart_id, string filename ) : bool
chart_id long [in] Chart ID. 0 means the current chart.
filename string [in] The name of the file containing the template.
Résultat bool

ChartClose() public méthode

Function: ChartClose Description: Closes the specified chart. URL: http://docs.mql4.com/chart_operations/chartclose.html
public ChartClose ( long chart_id ) : bool
chart_id long [in] Chart ID. 0 means the current chart.
Résultat bool

ChartFirst() public méthode

Function: ChartFirst Description: Returns the ID of the first chart of the client terminal. URL: http://docs.mql4.com/chart_operations/chartfirst.html
public ChartFirst ( ) : long
Résultat long

ChartID() public méthode

Function: ChartID Description: Returns the ID of the current chart. URL: http://docs.mql4.com/chart_operations/chartid.html
public ChartID ( ) : long
Résultat long

ChartIndicatorDelete() public méthode

Function: ChartIndicatorDelete Description: Removes an indicator with a specified name from the specified chart window. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartindicatordelete.html
public ChartIndicatorDelete ( long chart_id, int sub_window, string indicator_shortname ) : bool
chart_id long [in] Chart ID. 0 denotes the current chart.
sub_window int [in] Number of the chart subwindow. 0 denotes the main chart subwindow.
indicator_shortname string
Résultat bool

ChartIndicatorName() public méthode

Function: ChartIndicatorName Description: Returns the short name of the indicator by the number in the indicators list on the specified chart window. URL: http://docs.mql4.com/chart_operations/chartindicatorname.html
public ChartIndicatorName ( long chart_id, int sub_window, int index ) : string
chart_id long [in] Chart ID. 0 denotes the current chart.
sub_window int [in] Number of the chart subwindow. 0 denotes the main chart subwindow.
index int [in] the index of the indicator in the list of indicators. The numeration of indicators start with zero, i.e. the first indicator in the list has the 0 index. To obtain the number of indicators in the list use the function.
Résultat string

ChartIndicatorsTotal() public méthode

Function: ChartIndicatorsTotal Description: Returns the number of all indicators applied to the specified chart window. URL: http://docs.mql4.com/chart_operations/chartindicatorstotal.html
public ChartIndicatorsTotal ( long chart_id, int sub_window ) : int
chart_id long [in] Chart ID. 0 denotes the current chart.
sub_window int [in] Number of the chart subwindow. 0 denotes the main chart subwindow.
Résultat int

ChartNavigate() public méthode

Function: ChartNavigate Description: Performs shift of the specified chart by the specified number of bars relative to the specified position in the chart. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartnavigate.html
public ChartNavigate ( long chart_id, int position, int shift ) : bool
chart_id long [in] Chart ID. 0 means the current chart.
position int [in] Chart position to perform a shift. Can be one of the values.
shift int [in] Number of bars to shift the chart. Positive value means the right shift (to the end of chart), negative value means the left shift (to the beginning of chart). The zero shift can be used to navigate to the beginning or end of chart.
Résultat bool

ChartNext() public méthode

Function: ChartNext Description: Returns the chart ID of the chart next to the specified one. URL: http://docs.mql4.com/chart_operations/chartnext.html
public ChartNext ( long chart_id ) : long
chart_id long [in] Chart ID. 0 does not mean the current chart. 0 means "return the first chart ID".
Résultat long

ChartOpen() public méthode

Function: ChartOpen Description: Opens a new chart with the specified symbol and period. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartopen.html
public ChartOpen ( string symbol, TIMEFRAME period ) : long
symbol string [in] Chart symbol. means the symbol of the current chart (the Expert Advisor is attached to).
period TIMEFRAME [in] Chart period (timeframe). Can be one of the values. 0 means the current chart period.
Résultat long

ChartPriceOnDropped() public méthode

Function: ChartPriceOnDropped Description: Returns the price coordinate corresponding to the chart point the Expert Advisor or script has been dropped to. URL: http://docs.mql4.com/chart_operations/chartpriceondropped.html
public ChartPriceOnDropped ( ) : double
Résultat double

ChartRedraw() public méthode

Function: ChartRedraw Description: This function calls a forced redrawing of a specified chart. URL: http://docs.mql4.com/chart_operations/chartredraw.html
public ChartRedraw ( long chart_id ) : void
chart_id long [in] Chart ID. 0 means the current chart.
Résultat void

ChartSaveTemplate() public méthode

Function: ChartSaveTemplate Description: Saves current chart settings in a template with a specified name. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartsavetemplate.html
public ChartSaveTemplate ( long chart_id, string filename ) : bool
chart_id long [in] Chart ID. 0 means the current chart.
filename string [in] The filename to save the template. The ".tpl" extension will be added to the filename automatically; there is no need to specify it. The template is saved in terminal_directory\Profiles\Templates\ and can be used for manual application in the terminal. If a template with the same filename already exists, the contents of this file will be overwritten.
Résultat bool

ChartScreenShot() public méthode

Function: ChartScreenShot Description: Saves current chart screen shot as a GIF, PNG or BMP file depending on specified extension. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartscreenshot.html
public ChartScreenShot ( long chart_id, string filename, int width, int height, ALIGN_MODE align_mode ) : bool
chart_id long [in] Chart ID. 0 means the current chart.
filename string [in] Screenshot file name. Cannot exceed 63 characters. Screenshot files are placed in the \Files directory.
width int [in] Screenshot width in pixels.
height int [in] Screenshot height in pixels.
align_mode ALIGN_MODE [in] Output mode of a narrow screenshot. A value of the enumeration. ALIGN_RIGHT means align to the right margin (the output from the end). ALIGN_LEFT means Left justify.
Résultat bool

ChartSetDouble() public méthode

Function: ChartSetDouble Description: Sets a value for a corresponding property of the specified chart. Chart property should be of a URL: http://docs.mql4.com/chart_operations/chartsetdouble.html
public ChartSetDouble ( long chart_id, int prop_id, double value ) : bool
chart_id long [in] Chart ID. 0 means the current chart.
prop_id int [in] Chart property ID. Can be one of the values (except the read-only properties).
value double [in] Property value.
Résultat bool

ChartSetInteger() public méthode

Function: ChartSetInteger Description: Sets a value for a corresponding property of the specified chart. Chart property must be URL: http://docs.mql4.com/chart_operations/chartsetinteger.html
public ChartSetInteger ( long chart_id, int prop_id, long value ) : bool
chart_id long [in] Chart ID. 0 means the current chart.
prop_id int [in] Chart property ID. It can be one of the value (except the read-only properties).
value long [in] Property value.
Résultat bool

ChartSetInteger() public méthode

Function: ChartSetInteger Description: Sets a value for a corresponding property of the specified chart. Chart property must be URL: http://docs.mql4.com/chart_operations/chartsetinteger.html
public ChartSetInteger ( long chart_id, int property_id, uint sub_window, long value ) : bool
chart_id long [in] Chart ID. 0 means the current chart.
property_id int
sub_window uint [in] Chart subwindow.
value long [in] Property value.
Résultat bool

ChartSetString() public méthode

Function: ChartSetString Description: Sets a value for a corresponding property of the specified chart. Chart property must be of the string type. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartsetstring.html
public ChartSetString ( long chart_id, int prop_id, string str_value ) : bool
chart_id long [in] Chart ID. 0 means the current chart.
prop_id int [in] Chart property ID. Its value can be one of the values (except the read-only properties).
str_value string [in] Property value string. String length cannot exceed 2045 characters (extra characters will be truncated).
Résultat bool

ChartSetSymbolPeriod() public méthode

Function: ChartSetSymbolPeriod Description: Changes the symbol and period of the specified chart. The function is asynchronous, i.e. it sends the command and does not wait for its execution completion. The command is added to chart message queue and executed only after all previous commands have been processed. URL: http://docs.mql4.com/chart_operations/chartsetsymbolperiod.html
public ChartSetSymbolPeriod ( long chart_id, string symbol, TIMEFRAME period ) : bool
chart_id long [in] Chart ID. 0 means the current chart.
symbol string [in] Chart symbol. value means the current chart symbol (Expert Advisor is attached to)
period TIMEFRAME [in] Chart period (timeframe). Can be one of the values. 0 means the current chart period.
Résultat bool

ChartSymbol() public méthode

Function: ChartSymbol Description: Returns the symbol name for the specified chart. URL: http://docs.mql4.com/chart_operations/chartsymbol.html
public ChartSymbol ( long chart_id ) : string
chart_id long [in] Chart ID. 0 means the current chart.
Résultat string

ChartTimeOnDropped() public méthode

Function: ChartTimeOnDropped Description: Returns the time coordinate corresponding to the chart point the Expert Advisor or script has been dropped to. URL: http://docs.mql4.com/chart_operations/charttimeondropped.html
public ChartTimeOnDropped ( ) : System.DateTime
Résultat System.DateTime

ChartWindowFind() public méthode

Function: ChartWindowFind Description: The function returns the number of a subwindow where an indicator is drawn. There are 2 variants of the function. URL: http://docs.mql4.com/chart_operations/chartwindowfind.html
public ChartWindowFind ( ) : int
Résultat int

ChartWindowFind() public méthode

Function: ChartWindowFind Description: The function returns the number of a subwindow where an indicator is drawn. There are 2 variants of the function. URL: http://docs.mql4.com/chart_operations/chartwindowfind.html
public ChartWindowFind ( long chart_id, string indicator_shortname ) : int
chart_id long [in] Chart ID. 0 denotes the current chart.
indicator_shortname string [in] Short name of the indicator.
Résultat int

ChartWindowOnDropped() public méthode

Function: ChartWindowOnDropped Description: Returns the number (index) of the chart subwindow the Expert Advisor or script has been dropped to. 0 means the main chart window. URL: http://docs.mql4.com/chart_operations/chartwindowondropped.html
public ChartWindowOnDropped ( ) : int
Résultat int

ChartXOnDropped() public méthode

Function: ChartXOnDropped Description: Returns the X coordinate of the chart point the Expert Advisor or script has been dropped to. URL: http://docs.mql4.com/chart_operations/chartxondropped.html
public ChartXOnDropped ( ) : int
Résultat int

ChartYOnDropped() public méthode

Function: ChartYOnDropped Description: Returns the Y coordinateof the chart point the Expert Advisor or script has been dropped to. URL: http://docs.mql4.com/chart_operations/chartyondropped.html
public ChartYOnDropped ( ) : int
Résultat int

Comment() public méthode

Function: Comment Description: This function outputs a comment defined by a user in the top left corner of a chart. URL: http://docs.mql4.com/common/comment.html
public Comment ( string argument ) : void
argument string [in] Any values, separated by commas. To delimit output information into several lines, a line break symbol "\n" or "\r\n" is used. Number of parameters cannot exceed 64. Total length of the input comment (including invisible symbols) cannot exceed 2045 characters (excess symbols will be cut out during output).
Résultat void

Digits() public méthode

Function: Digits Description: Returns the number of decimal digits determining the accuracy of price of the current chart symbol. URL: http://docs.mql4.com/check/digits.html
public Digits ( ) : int
Résultat int

GetLastError() public méthode

Function: GetLastError Description: Returns the contents of the URL: http://docs.mql4.com/check/getlasterror.html
public GetLastError ( ) : int
Résultat int

GlobalVariableCheck() public méthode

Function: GlobalVariableCheck Description: Checks the existence of a global variable with the specified name URL: http://docs.mql4.com/globals/globalvariablecheck.html
public GlobalVariableCheck ( string name ) : bool
name string [in] Global variable name.
Résultat bool

GlobalVariableDel() public méthode

Function: GlobalVariableDel Description: Deletes a global variable from the client terminal URL: http://docs.mql4.com/globals/globalvariabledel.html
public GlobalVariableDel ( string name ) : bool
name string [in] Global variable name.
Résultat bool

GlobalVariableGet() public méthode

Function: GlobalVariableGet Description: Returns the value of an existing global variable of the client terminal. There are 2 variants of the function. URL: http://docs.mql4.com/globals/globalvariableget.html
public GlobalVariableGet ( string name ) : double
name string [in] Global variable name.
Résultat double

GlobalVariableName() public méthode

Function: GlobalVariableName Description: Returns the name of a global variable by its ordinal number. URL: http://docs.mql4.com/globals/globalvariablename.html
public GlobalVariableName ( int index ) : string
index int [in] Sequence number in the list of global variables. It should be greater than or equal to 0 and less than .
Résultat string

GlobalVariableSet() public méthode

Function: GlobalVariableSet Description: Sets a new value for a global variable. If the variable does not exist, the system creates a new global variable. URL: http://docs.mql4.com/globals/globalvariableset.html
public GlobalVariableSet ( string name, double value ) : System.DateTime
name string [in] Global variable name.
value double [in] The new numerical value.
Résultat System.DateTime

GlobalVariableSetOnCondition() public méthode

Function: GlobalVariableSetOnCondition Description: Sets the new value of the existing global variable if the current value equals to the third parameter check_value. If there is no global variable, the function will generate an error ERR_GLOBALVARIABLE_NOT_FOUND (4501) and return false. URL: http://docs.mql4.com/globals/globalvariablesetoncondition.html
public GlobalVariableSetOnCondition ( string name, double value, double check_value ) : bool
name string [in] The name of a global variable.
value double [in] New value.
check_value double [in] The value to check the current value of the global variable.
Résultat bool

GlobalVariableTemp() public méthode

Function: GlobalVariableTemp Description: The function attempts to create a temporary global variable. If the variable doesn't exist, the system creates a new temporary global variable. URL: http://docs.mql4.com/globals/globalvariabletemp.html
public GlobalVariableTemp ( string name ) : bool
name string [in] The name of a temporary global variable.
Résultat bool

GlobalVariableTime() public méthode

Function: GlobalVariableTime Description: Returns the time when the global variable was last accessed. URL: http://docs.mql4.com/globals/globalvariabletime.html
public GlobalVariableTime ( string name ) : System.DateTime
name string [in] Name of the global variable.
Résultat System.DateTime

GlobalVariablesDeleteAll() public méthode

Function: GlobalVariablesDeleteAll Description: Deletes global variables of the client terminal. URL: http://docs.mql4.com/globals/globalvariablesdeleteall.html
public GlobalVariablesDeleteAll ( string prefix_name, System.DateTime limit_data ) : int
prefix_name string [in] Name prefix global variables to remove. If you specify a prefix NULL or empty string, then all variables that meet the data criterion will be deleted.
limit_data System.DateTime [in] Optional parameter. Date to select global variables by the time of their last modification. The function removes global variables, which were changed before this date. If the parameter is zero, then all variables that meet the first criterion (prefix) are deleted.
Résultat int

GlobalVariablesFlush() public méthode

Function: GlobalVariablesFlush Description: Forcibly saves contents of all global variables to a disk. URL: http://docs.mql4.com/globals/globalvariablesflush.html
public GlobalVariablesFlush ( ) : void
Résultat void

GlobalVariablesTotal() public méthode

Function: GlobalVariablesTotal Description: Returns the total number of global variables of the client terminal. URL: http://docs.mql4.com/globals/globalvariablestotal.html
public GlobalVariablesTotal ( ) : int
Résultat int

HideTestIndicators() public méthode

Function: HideTestIndicators Description: The function sets a flag hiding indicators called by the Expert Advisor. URL: http://docs.mql4.com/customind/hidetestindicators.html
public HideTestIndicators ( bool hide ) : void
hide bool [in] Hiding flag.
Résultat void

IndicatorBuffers() public méthode

Function: IndicatorBuffers Description: Allocates memory for buffers used for custom indicator calculations. URL: http://docs.mql4.com/customind/indicatorbuffers.html
public IndicatorBuffers ( int count ) : bool
count int [in] Amount of buffers to be allocated. Should be within the range between indicator_buffers and 512 buffers.
Résultat bool

IndicatorCounted() public méthode

Function: IndicatorCounted Description: The function returns the amount of bars not changed after the indicator had been launched last. URL: http://docs.mql4.com/customind/indicatorcounted.html
public IndicatorCounted ( ) : int
Résultat int

IndicatorDigits() public méthode

Function: IndicatorDigits Description: Sets precision format (the count of digits after decimal point) to visualize indicator values. URL: http://docs.mql4.com/customind/indicatordigits.html
public IndicatorDigits ( int digits ) : void
digits int [in] Precision format, the count of digits after decimal point.
Résultat void

IndicatorSetDouble() public méthode

Function: IndicatorSetDouble Description: The function sets the value of the corresponding indicator property. Indicator property must be of the double type. There are two variants of the function. URL: http://docs.mql4.com/customind/indicatorsetdouble.html
public IndicatorSetDouble ( int prop_id, double prop_value ) : bool
prop_id int [in] Identifier of the indicator property. The value can be one of the values of the enumeration.
prop_value double [in] Value of property.
Résultat bool

IndicatorSetDouble() public méthode

Function: IndicatorSetDouble Description: The function sets the value of the corresponding indicator property. Indicator property must be of the double type. There are two variants of the function. URL: http://docs.mql4.com/customind/indicatorsetdouble.html
public IndicatorSetDouble ( int prop_id, int prop_modifier, double prop_value ) : bool
prop_id int [in] Identifier of the indicator property. The value can be one of the values of the enumeration.
prop_modifier int [in] Modifier of the specified property. Only level properties require a modifier. Numbering of levels starts from 0. It means that in order to set property for the second level you need to specify 1 (1 less than when using ).
prop_value double [in] Value of property.
Résultat bool

IndicatorSetInteger() public méthode

Function: IndicatorSetInteger Description: The function sets the value of the corresponding indicator property. Indicator property must be of the int or color type. There are two variants of the function. URL: http://docs.mql4.com/customind/indicatorsetinteger.html
public IndicatorSetInteger ( int prop_id, int prop_value ) : bool
prop_id int [in] Identifier of the indicator property. The value can be one of the values of the enumeration.
prop_value int [in] Value of property.
Résultat bool

IndicatorSetInteger() public méthode

Function: IndicatorSetInteger Description: The function sets the value of the corresponding indicator property. Indicator property must be of the int or color type. There are two variants of the function. URL: http://docs.mql4.com/customind/indicatorsetinteger.html
public IndicatorSetInteger ( int prop_id, int prop_modifier, int prop_value ) : bool
prop_id int [in] Identifier of the indicator property. The value can be one of the values of the enumeration.
prop_modifier int [in] Modifier of the specified property. Only level properties require a modifier.
prop_value int [in] Value of property.
Résultat bool

IndicatorSetString() public méthode

Function: IndicatorSetString Description: The function sets the value of the corresponding indicator property. Indicator property must be of the string type. There are two variants of the function. URL: http://docs.mql4.com/customind/indicatorsetstring.html
public IndicatorSetString ( int prop_id, int prop_modifier, string prop_value ) : bool
prop_id int [in] Identifier of the indicator property. The value can be one of the values of the enumeration.
prop_modifier int [in] Modifier of the specified property. Only level properties require a modifier.
prop_value string [in] Value of property.
Résultat bool

IndicatorSetString() public méthode

Function: IndicatorSetString Description: The function sets the value of the corresponding indicator property. Indicator property must be of the string type. There are two variants of the function. URL: http://docs.mql4.com/customind/indicatorsetstring.html
public IndicatorSetString ( int prop_id, string prop_value ) : bool
prop_id int [in] Identifier of the indicator property. The value can be one of the values of the enumeration.
prop_value string [in] Value of property.
Résultat bool

IndicatorShortName() public méthode

Function: IndicatorShortName Description: Sets the "short" name of a custom indicator to be shown in the DataWindow and in the chart subwindow. URL: http://docs.mql4.com/customind/indicatorshortname.html
public IndicatorShortName ( string name ) : void
name string [in] New short name.
Résultat void

IsConnected() public méthode

Function: IsConnected Description: Checks connection between client terminal and server. URL: http://docs.mql4.com/check/isconnected.html
public IsConnected ( ) : bool
Résultat bool

IsDemo() public méthode

Function: IsDemo Description: Checks if the Expert Advisor runs on a demo account. URL: http://docs.mql4.com/check/isdemo.html
public IsDemo ( ) : bool
Résultat bool

IsDllsAllowed() public méthode

Function: IsDllsAllowed Description: Checks if the DLL function call is allowed for the Expert Advisor. URL: http://docs.mql4.com/check/isdllsallowed.html
public IsDllsAllowed ( ) : bool
Résultat bool

IsExpertEnabled() public méthode

Function: IsExpertEnabled Description: Checks if Expert Advisors are enabled for running. URL: http://docs.mql4.com/check/isexpertenabled.html
public IsExpertEnabled ( ) : bool
Résultat bool

IsLibrariesAllowed() public méthode

Function: IsLibrariesAllowed Description: Checks if the Expert Advisor can call library function. URL: http://docs.mql4.com/check/islibrariesallowed.html
public IsLibrariesAllowed ( ) : bool
Résultat bool

IsOptimization() public méthode

Function: IsOptimization Description: Checks if Expert Advisor runs in the Strategy Tester optimization mode. URL: http://docs.mql4.com/check/isoptimization.html
public IsOptimization ( ) : bool
Résultat bool

IsStopped() public méthode

Function: IsStopped Description: Checks the forced shutdown of an mql4 program. URL: http://docs.mql4.com/check/isstopped.html
public IsStopped ( ) : bool
Résultat bool

IsTesting() public méthode

Function: IsTesting Description: Checks URL: http://docs.mql4.com/check/istesting.html
public IsTesting ( ) : bool
Résultat bool

IsTradeAllowed() public méthode

Function: IsTradeAllowed Description: Checks URL: http://docs.mql4.com/check/istradeallowed.html
public IsTradeAllowed ( ) : bool
Résultat bool

IsTradeAllowed() public méthode

Function: IsTradeAllowed Description: Checks URL: http://docs.mql4.com/check/istradeallowed.html
public IsTradeAllowed ( string symbol, System.DateTime tested_time ) : bool
symbol string [in] Symbol.
tested_time System.DateTime [in] Time to check status.
Résultat bool

IsTradeContextBusy() public méthode

Function: IsTradeContextBusy Description: Returns the information about trade context. URL: http://docs.mql4.com/check/istradecontextbusy.html
public IsTradeContextBusy ( ) : bool
Résultat bool

IsVisualMode() public méthode

Function: IsVisualMode Description: Checks URL: http://docs.mql4.com/check/isvisualmode.html
public IsVisualMode ( ) : bool
Résultat bool

MQLBase() public méthode

public MQLBase ( System.Int64 ix ) : log4net
ix System.Int64
Résultat log4net

MQLInfoInteger() public méthode

Function: MQLInfoInteger Description: Returns the value of a corresponding property of a running mql4 program. URL: http://docs.mql4.com/check/mqlinfointeger.html
public MQLInfoInteger ( int property_id ) : int
property_id int [in] Identifier of a property. Can be one of values of the enumeration.
Résultat int

MQLInfoString() public méthode

Function: MQLInfoString Description: Returns the value of a corresponding property of a running MQL4 program. URL: http://docs.mql4.com/check/mqlinfostring.html
public MQLInfoString ( int property_id ) : string
property_id int [in] Identifier of a property. Can be one of the enumeration.
Résultat string

MQLSetInteger() public méthode

Function: MQLSetInteger Description: Sets the value of the URL: http://docs.mql4.com/check/mqlsetinteger.html
public MQLSetInteger ( int property_id, int property_value ) : void
property_id int [in] Identifier of a property. Only is supported, as other properties cannot be changed.
property_value int [in] Value of property. Can be one of the .
Résultat void

MarketInfo() public méthode

Function: MarketInfo Description: Returns various data about securities listed in the "Market Watch" window. URL: http://docs.mql4.com/marketinformation/marketinfo.html
public MarketInfo ( string symbol, int type ) : double
symbol string [in] Symbol name.
type int [in] Request of information to be returned. Can be any of values of request identifiers.
Résultat double

MarketTime() public méthode

Function: MarketInfo Description: Returns various data about securities listed in the "Market Watch" window. URL: http://docs.mql4.com/marketinformation/marketinfo.html
public MarketTime ( string symbol ) : System.DateTime
symbol string [in] Symbol name.
Résultat System.DateTime

ObjectCreate() public méthode

Function: ObjectCreate Description: The function creates an object with the specified name, type, and the initial coordinates in the specified chart subwindow of the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectcreate.html
public ObjectCreate ( long chart_id, string object_name, OBJECT_TYPE object_type, int sub_window, System.DateTime time1, double price1, System.DateTime timeN, double priceN ) : bool
chart_id long [in] Chart identifier.
object_name string [in] Name of the object. The name must be unique within a chart, including its subwindows.
object_type OBJECT_TYPE [in] Object type. The value can be one of the values of the enumeration.
sub_window int [in] Number of the chart subwindow. 0 means the main chart window. The specified subwindow must exist (window index must be greater or equal to 0 and less than ), otherwise the function returns false.
time1 System.DateTime [in] The time coordinate of the first anchor point.
price1 double [in] The price coordinate of the first anchor point.
timeN System.DateTime [in] The time coordinate of the N-th anchor point.
priceN double [in] The price coordinate of the N-th anchor point.
Résultat bool

ObjectCreate() public méthode

Function: ObjectCreate Description: The function creates an object with the specified name, type, and the initial coordinates in the specified chart subwindow of the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectcreate.html
public ObjectCreate ( string object_name, OBJECT_TYPE object_type, int sub_window, System.DateTime time1, double price1 ) : bool
object_name string [in] Name of the object. The name must be unique within a chart, including its subwindows.
object_type OBJECT_TYPE [in] Object type. The value can be one of the values of the enumeration.
sub_window int [in] Number of the chart subwindow. 0 means the main chart window. The specified subwindow must exist (window index must be greater or equal to 0 and less than ), otherwise the function returns false.
time1 System.DateTime [in] The time coordinate of the first anchor point.
price1 double [in] The price coordinate of the first anchor point.
Résultat bool

ObjectCreate() public méthode

Function: ObjectCreate Description: The function creates an object with the specified name, type, and the initial coordinates in the specified chart subwindow of the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectcreate.html
public ObjectCreate ( string object_name, OBJECT_TYPE object_type, int sub_window, System.DateTime time1, double price1, System.DateTime time2, double price2, System.DateTime time3, double price3 ) : bool
object_name string [in] Name of the object. The name must be unique within a chart, including its subwindows.
object_type OBJECT_TYPE [in] Object type. The value can be one of the values of the enumeration.
sub_window int [in] Number of the chart subwindow. 0 means the main chart window. The specified subwindow must exist (window index must be greater or equal to 0 and less than ), otherwise the function returns false.
time1 System.DateTime [in] The time coordinate of the first anchor point.
price1 double [in] The price coordinate of the first anchor point.
time2 System.DateTime [in] The time coordinate of the second anchor point.
price2 double [in] The price coordinate of the second anchor point.
time3 System.DateTime [in] The time coordinate of the third anchor point.
price3 double [in] The price coordinate of the third anchor point.
Résultat bool

ObjectDelete() public méthode

Function: ObjectDelete Description: The function removes the object with the specified name at the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectdelete.html
public ObjectDelete ( long chart_id, string object_name ) : bool
chart_id long [in] Chart identifier.
object_name string [in] Name of object to be deleted.
Résultat bool

ObjectDelete() public méthode

Function: ObjectDelete Description: The function removes the object with the specified name at the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectdelete.html
public ObjectDelete ( string object_name ) : bool
object_name string [in] Name of object to be deleted.
Résultat bool

ObjectDescription() public méthode

Function: ObjectDescription Description: Returns the object description. URL: http://docs.mql4.com/objects/objectdescription.html
public ObjectDescription ( string object_name ) : string
object_name string [in] Object name.
Résultat string

ObjectFind() public méthode

Function: ObjectFind Description: The function searches for an object having the specified name. There are two variants of the function: URL: http://docs.mql4.com/objects/objectfind.html
public ObjectFind ( long chart_id, string object_name ) : int
chart_id long [in] Chart identifier.
object_name string [in] The name of the object to find.
Résultat int

ObjectFind() public méthode

Function: ObjectFind Description: The function searches for an object having the specified name. There are two variants of the function: URL: http://docs.mql4.com/objects/objectfind.html
public ObjectFind ( string object_name ) : int
object_name string [in] The name of the object to find.
Résultat int

ObjectGet() public méthode

Function: ObjectGet Description: Returns the value of the specified object property. URL: http://docs.mql4.com/objects/objectget.html
public ObjectGet ( string object_name, int index ) : double
object_name string [in] Object name.
index int [in] Object property index. It can be any of the enumeration values.
Résultat double

ObjectGetDouble() public méthode

Function: ObjectGetDouble Description: The function returns the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectgetdouble.html
public ObjectGetDouble ( long chart_id, string object_name, int prop_id, int prop_modifier ) : double
chart_id long [in] Chart identifier. 0 means the current chart.
object_name string [in] Name of the object.
prop_id int [in] ID of the object property. The value can be one of the values of the enumeration.
prop_modifier int [in] Modifier of the specified property. For the first variant, the default modifier value is equal to 0. Most properties do not require a modifier. It denotes the number of the level in and in the graphical object Andrew's pitchfork. The numeration of levels starts from zero.
Résultat double

ObjectGetFiboDescription() public méthode

Function: ObjectGetFiboDescription Description: Returns the level description of a Fibonacci object. URL: http://docs.mql4.com/objects/objectgetfibodescription.html
public ObjectGetFiboDescription ( string object_name, int index ) : string
object_name string [in] Fibonacci object name.
index int [in] Index of the Fibonacci level (0-31).
Résultat string

ObjectGetInteger() public méthode

Function: ObjectGetInteger Description: The function returns the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectgetinteger.html
public ObjectGetInteger ( long chart_id, string object_name, int prop_id, int prop_modifier ) : long
chart_id long [in] Chart identifier. 0 means the current chart.
object_name string [in] Name of the object.
prop_id int [in] ID of the object property. The value can be one of the values of the enumeration.
prop_modifier int [in] Modifier of the specified property. For the first variant, the default modifier value is equal to 0. Most properties do not require a modifier. It denotes the number of the level in and in the graphical object Andrew's pitchfork. The numeration of levels starts from zero.
Résultat long

ObjectGetShiftByValue() public méthode

Function: ObjectGetShiftByValue Description: The function calculates and returns bar index (shift related to the current bar) for the given price. URL: http://docs.mql4.com/objects/objectgetshiftbyvalue.html
public ObjectGetShiftByValue ( string object_name, double value ) : int
object_name string [in] Object name.
value double [in] Price value.
Résultat int

ObjectGetString() public méthode

Function: ObjectGetString Description: The function returns the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectgetstring.html
public ObjectGetString ( long chart_id, string object_name, int prop_id, int prop_modifier ) : string
chart_id long [in] Chart identifier. 0 means the current chart.
object_name string [in] Name of the object.
prop_id int [in] ID of the object property. The value can be one of the values of the enumeration.
prop_modifier int [in] Modifier of the specified property. For the first variant, the default modifier value is equal to 0. Most properties do not require a modifier. It denotes the number of the level in and in the graphical object Andrew's pitchfork. The numeration of levels starts from zero.
Résultat string

ObjectGetTimeByValue() public méthode

Function: ObjectGetTimeByValue Description: The function returns the time value for the specified price value of the specified object. URL: http://docs.mql4.com/objects/objectgettimebyvalue.html
public ObjectGetTimeByValue ( string object_name, double value, int line_id ) : System.DateTime
object_name string [in] Name of the object.
value double [in] Price value.
line_id int [in] Line identifier.
Résultat System.DateTime

ObjectGetValueByShift() public méthode

Function: ObjectGetValueByShift Description: The function calculates and returns the price value for the specified bar (shift related to the current bar). URL: http://docs.mql4.com/objects/objectgetvaluebyshift.html
public ObjectGetValueByShift ( string object_name, int shift ) : double
object_name string [in] Object name.
shift int [in] Bar index.
Résultat double

ObjectGetValueByTime() public méthode

Function: ObjectGetValueByTime Description: The function returns the price value for the specified time value of the specified object. URL: http://docs.mql4.com/objects/objectgetvaluebytime.html
public ObjectGetValueByTime ( long chart_id, string object_name, System.DateTime time, int line_id ) : double
chart_id long [in] Chart identifier.
object_name string [in] Name of the object.
time System.DateTime [in] Time value.
line_id int [in] Line identifier.
Résultat double

ObjectMove() public méthode

Function: ObjectMove Description: The function changes coordinates of the specified anchor point of the object at the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectmove.html
public ObjectMove ( string object_name, int point_index, System.DateTime time, double price ) : bool
object_name string [in] Name of the object.
point_index int [in] Index of the anchor point. The number of anchor points depends on the .
time System.DateTime [in] Time coordinate of the selected anchor point.
price double [in] Price coordinate of the selected anchor point.
Résultat bool

ObjectName() public méthode

Function: ObjectName Description: The function returns the name of the corresponding object by its index in the objects list. URL: http://docs.mql4.com/objects/objectname.html
public ObjectName ( int object_index ) : string
object_index int [in] Object index. This value must be greater or equal to 0 and less than .
Résultat string

ObjectSet() public méthode

Function: ObjectSet Description: Changes the value of the specified object property. URL: http://docs.mql4.com/objects/objectset.html
public ObjectSet ( string object_name, int index, double value ) : bool
object_name string [in] Object name.
index int [in] Object property index. It can be any of enumeration values.
value double [in] New value of the given property.
Résultat bool

ObjectSetDouble() public méthode

Function: ObjectSetDouble Description: The function sets the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectsetdouble.html
public ObjectSetDouble ( long chart_id, string object_name, int prop_id, double prop_value ) : bool
chart_id long [in] Chart identifier. 0 means the current chart.
object_name string [in] Name of the object.
prop_id int [in] ID of the object property. The value can be one of the values of the enumeration.
prop_value double [in] The value of the property.
Résultat bool

ObjectSetDouble() public méthode

Function: ObjectSetDouble Description: The function sets the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectsetdouble.html
public ObjectSetDouble ( long chart_id, string object_name, int prop_id, int prop_modifier, double prop_value ) : bool
chart_id long [in] Chart identifier. 0 means the current chart.
object_name string [in] Name of the object.
prop_id int [in] ID of the object property. The value can be one of the values of the enumeration.
prop_modifier int [in] Modifier of the specified property. It denotes the number of the level in and in the graphical object Andrew's pitchfork. The numeration of levels starts from zero.
prop_value double [in] The value of the property.
Résultat bool

ObjectSetFiboDescription() public méthode

Function: ObjectSetFiboDescription Description: The function sets a new description to a level of a Fibonacci object. URL: http://docs.mql4.com/objects/objectsetfibodescription.html
public ObjectSetFiboDescription ( string object_name, int index, string text ) : bool
object_name string [in] Object name.
index int [in] Index of the Fibonacci level (0-31).
text string [in] New description of the level.
Résultat bool

ObjectSetInteger() public méthode

Function: ObjectSetInteger Description: The function sets the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectsetinteger.html
public ObjectSetInteger ( long chart_id, string object_name, int prop_id, int prop_modifier, long prop_value ) : bool
chart_id long [in] Chart identifier. 0 means the current chart.
object_name string [in] Name of the object.
prop_id int [in] ID of the object property. The value can be one of the values of the enumeration.
prop_modifier int [in] Modifier of the specified property. It denotes the number of the level in and in the graphical object Andrew's pitchfork. The numeration of levels starts from zero.
prop_value long [in] The value of the property.
Résultat bool

ObjectSetInteger() public méthode

Function: ObjectSetInteger Description: The function sets the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectsetinteger.html
public ObjectSetInteger ( long chart_id, string object_name, int prop_id, long prop_value ) : bool
chart_id long [in] Chart identifier. 0 means the current chart.
object_name string [in] Name of the object.
prop_id int [in] ID of the object property. The value can be one of the values of the enumeration.
prop_value long [in] The value of the property.
Résultat bool

ObjectSetString() public méthode

Function: ObjectSetString Description: The function sets the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectsetstring.html
public ObjectSetString ( long chart_id, string object_name, int prop_id, int prop_modifier, string prop_value ) : bool
chart_id long [in] Chart identifier. 0 means the current chart.
object_name string [in] Name of the object.
prop_id int [in] ID of the object property. The value can be one of the values of the enumeration.
prop_modifier int [in] Modifier of the specified property. It denotes the number of the level in and in the graphical object Andrew's pitchfork. The numeration of levels starts from zero.
prop_value string [in] The value of the property.
Résultat bool

ObjectSetString() public méthode

Function: ObjectSetString Description: The function sets the value of the corresponding object property. The object property must be of the URL: http://docs.mql4.com/objects/objectsetstring.html
public ObjectSetString ( long chart_id, string object_name, int prop_id, string prop_value ) : bool
chart_id long [in] Chart identifier. 0 means the current chart.
object_name string [in] Name of the object.
prop_id int [in] ID of the object property. The value can be one of the values of the enumeration.
prop_value string [in] The value of the property.
Résultat bool

ObjectSetText() public méthode

Function: ObjectSetText Description: The function c URL: http://docs.mql4.com/objects/objectsettext.html
public ObjectSetText ( string object_name, string text, int font_size, string font_name, COLOR text_color ) : bool
object_name string [in] Object name.
text string [in] A text describing the object.
font_size int [in] Font size in points.
font_name string [in] Font name.
text_color COLOR [in] Font color.
Résultat bool

ObjectType() public méthode

Function: ObjectType Description: The function returns the object type value. URL: http://docs.mql4.com/objects/objecttype.html
public ObjectType ( string object_name ) : int
object_name string [in] Object name.
Résultat int

ObjectsDeleteAll() public méthode

Function: ObjectsDeleteAll Description: Removes all objects from the specified chart, specified chart subwindow, of the specified type. URL: http://docs.mql4.com/objects/objectsdeleteall.html
public ObjectsDeleteAll ( int sub_window, int object_type ) : int
sub_window int [in] Number of the chart window. Must be greater or equal to -1 (-1 mean all subwindows, 0 means the main chart window) and less than .
object_type int [in] Type of the object. The value can be one of the values of the enumeration. EMPTY (-1) means all types.
Résultat int

ObjectsDeleteAll() public méthode

Function: ObjectsDeleteAll Description: Removes all objects from the specified chart, specified chart subwindow, of the specified type. URL: http://docs.mql4.com/objects/objectsdeleteall.html
public ObjectsDeleteAll ( long chart_id, int sub_window, int object_type ) : int
chart_id long [in] Chart identifier.
sub_window int [in] Number of the chart window. Must be greater or equal to -1 (-1 mean all subwindows, 0 means the main chart window) and less than .
object_type int [in] Type of the object. The value can be one of the values of the enumeration. EMPTY (-1) means all types.
Résultat int

ObjectsDeleteAll() public méthode

Function: ObjectsDeleteAll Description: Removes all objects from the specified chart, specified chart subwindow, of the specified type. URL: http://docs.mql4.com/objects/objectsdeleteall.html
public ObjectsDeleteAll ( long chart_id, string prefix, int sub_window, int object_type ) : int
chart_id long [in] Chart identifier.
prefix string [in] Prefix in object names. All objects whose names start with this set of characters will be removed from chart. You can specify prefix as 'name' or 'name*' both variants will work the same. If an empty string is specified as the prefix, objects with all possible names will be removed.
sub_window int [in] Number of the chart window. Must be greater or equal to -1 (-1 mean all subwindows, 0 means the main chart window) and less than .
object_type int [in] Type of the object. The value can be one of the values of the enumeration. EMPTY (-1) means all types.
Résultat int

ObjectsTotal() public méthode

Function: ObjectsTotal Description: The function returns the number of objects of the specified type in the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectstotal.html
public ObjectsTotal ( int type ) : int
type int [in] Type of the object. The value can be one of the values of the enumeration. EMPTY(-1) means all types.
Résultat int

ObjectsTotal() public méthode

Function: ObjectsTotal Description: The function returns the number of objects of the specified type in the specified chart. There are two variants of the function: URL: http://docs.mql4.com/objects/objectstotal.html
public ObjectsTotal ( long chart_id, int sub_window, int type ) : int
chart_id long [in] Chart identifier.
sub_window int [in] Number of the chart subwindow. 0 means the main chart window, -1 means all the subwindows of the chart, including the main window.
type int [in] Type of the object. The value can be one of the values of the enumeration. EMPTY(-1) means all types.
Résultat int

OrderClose() public méthode

Function: OrderClose Description: Closes opened order. URL: http://docs.mql4.com/trading/orderclose.html
public OrderClose ( int ticket, double lots, double price, int slippage, COLOR arrow_color ) : bool
ticket int [in] Unique number of the order ticket.
lots double [in] Number of lots.
price double [in] Closing price.
slippage int [in] Value of the maximum price slippage in points.
arrow_color COLOR [in] Color of the closing arrow on the chart. If the parameter is missing or has CLR_NONE value closing arrow will not be drawn on the chart.
Résultat bool

OrderCloseBy() public méthode

Function: OrderCloseBy Description: Closes an opened order by another opposite opened order. URL: http://docs.mql4.com/trading/ordercloseby.html
public OrderCloseBy ( int ticket, int opposite, COLOR arrow_color ) : bool
ticket int [in] Unique number of the order ticket.
opposite int [in] Unique number of the opposite order ticket.
arrow_color COLOR [in] Color of the closing arrow on the chart. If the parameter is missing or has CLR_NONE value closing arrow will not be drawn on the chart.
Résultat bool

OrderClosePrice() public méthode

Function: OrderClosePrice Description: Returns close price of the currently selected order. URL: http://docs.mql4.com/trading/ordercloseprice.html
public OrderClosePrice ( ) : double
Résultat double

OrderCloseTime() public méthode

Function: OrderCloseTime Description: Returns close time of the currently selected order. URL: http://docs.mql4.com/trading/orderclosetime.html
public OrderCloseTime ( ) : System.DateTime
Résultat System.DateTime

OrderComment() public méthode

Function: OrderComment Description: Returns comment of the currently selected order. URL: http://docs.mql4.com/trading/ordercomment.html
public OrderComment ( ) : string
Résultat string

OrderCommission() public méthode

Function: OrderCommission Description: Returns calculated commission of the currently selected order. URL: http://docs.mql4.com/trading/ordercommission.html
public OrderCommission ( ) : double
Résultat double

OrderDelete() public méthode

Function: OrderDelete Description: Deletes previously opened pending order. URL: http://docs.mql4.com/trading/orderdelete.html
public OrderDelete ( int ticket, COLOR arrow_color ) : bool
ticket int [in] Unique number of the order ticket.
arrow_color COLOR [in] Color of the arrow on the chart. If the parameter is missing or has CLR_NONE value arrow will not be drawn on the chart.
Résultat bool

OrderExpiration() public méthode

Function: OrderExpiration Description: Returns expiration date of the selected pending order. URL: http://docs.mql4.com/trading/orderexpiration.html
public OrderExpiration ( ) : System.DateTime
Résultat System.DateTime

OrderLots() public méthode

Function: OrderLots Description: Returns amount of lots of the selected order. URL: http://docs.mql4.com/trading/orderlots.html
public OrderLots ( ) : double
Résultat double

OrderMagicNumber() public méthode

Function: OrderMagicNumber Description: Returns an identifying (magic) number of the currently selected order. URL: http://docs.mql4.com/trading/ordermagicnumber.html
public OrderMagicNumber ( ) : int
Résultat int

OrderModify() public méthode

Function: OrderModify Description: Modification of characteristics of the previously opened or pending orders. URL: http://docs.mql4.com/trading/ordermodify.html
public OrderModify ( int ticket, double price, double stoploss, double takeprofit, System.DateTime expiration, COLOR arrow_color ) : bool
ticket int [in] Unique number of the order ticket.
price double [in] New open price of the pending order.
stoploss double [in] New StopLoss level.
takeprofit double [in] New TakeProfit level.
expiration System.DateTime [in] Pending order expiration time.
arrow_color COLOR [in] Arrow color for StopLoss/TakeProfit modifications in the chart. If the parameter is missing or has CLR_NONE value, the arrows will not be shown in the chart.
Résultat bool

OrderOpenPrice() public méthode

Function: OrderOpenPrice Description: Returns open price of the currently selected order. URL: http://docs.mql4.com/trading/orderopenprice.html
public OrderOpenPrice ( ) : double
Résultat double

OrderOpenTime() public méthode

Function: OrderOpenTime Description: Returns open time of the currently selected order. URL: http://docs.mql4.com/trading/orderopentime.html
public OrderOpenTime ( ) : System.DateTime
Résultat System.DateTime

OrderPrint() public méthode

Function: OrderPrint Description: Prints information about the selected order in the log. URL: http://docs.mql4.com/trading/orderprint.html
public OrderPrint ( ) : void
Résultat void

OrderProfit() public méthode

Function: OrderProfit Description: Returns profit of the currently selected order. URL: http://docs.mql4.com/trading/orderprofit.html
public OrderProfit ( ) : double
Résultat double

OrderSelect() public méthode

Function: OrderSelect Description: The function selects an order for further processing. URL: http://docs.mql4.com/trading/orderselect.html
public OrderSelect ( int index, int select, int pool ) : bool
index int
select int [in] Selecting flags. It can be any of the following values:
pool int SELECT_BY_POS - index in the order pool, SELECT_BY_TICKET - index is order ticket.
Résultat bool

OrderSend() public méthode

Function: OrderSend Description: The main function used to open market or place a pending order. URL: http://docs.mql4.com/trading/ordersend.html
public OrderSend ( string symbol, int cmd, double volume, double price, int slippage, double stoploss, double takeprofit, string comment, int magic, System.DateTime expiration, COLOR arrow_color ) : int
symbol string [in] Symbol for trading.
cmd int [in] Operation type. It can be any of the enumeration.
volume double [in] Number of lots.
price double [in] Order price.
slippage int [in] Maximum price slippage for buy or sell orders.
stoploss double [in] Stop loss level.
takeprofit double [in] Take profit level.
comment string [in] Order comment text. Last part of the comment may be changed by server.
magic int [in] Order magic number. May be used as user defined identifier.
expiration System.DateTime [in] Order expiration time (for pending orders only).
arrow_color COLOR [in] Color of the opening arrow on the chart. If parameter is missing or has CLR_NONE value opening arrow is not drawn on the chart.
Résultat int

OrderStopLoss() public méthode

Function: OrderStopLoss Description: Returns stop loss value of the currently selected order. URL: http://docs.mql4.com/trading/orderstoploss.html
public OrderStopLoss ( ) : double
Résultat double

OrderSwap() public méthode

Function: OrderSwap Description: Returns swap value of the currently selected order. URL: http://docs.mql4.com/trading/orderswap.html
public OrderSwap ( ) : double
Résultat double

OrderSymbol() public méthode

Function: OrderSymbol Description: Returns symbol name of the currently selected order. URL: http://docs.mql4.com/trading/ordersymbol.html
public OrderSymbol ( ) : string
Résultat string

OrderTakeProfit() public méthode

Function: OrderTakeProfit Description: Returns take profit value of the currently selected order. URL: http://docs.mql4.com/trading/ordertakeprofit.html
public OrderTakeProfit ( ) : double
Résultat double

OrderTicket() public méthode

Function: OrderTicket Description: Returns ticket number of the currently selected order. URL: http://docs.mql4.com/trading/orderticket.html
public OrderTicket ( ) : int
Résultat int

OrderType() public méthode

Function: OrderType Description: Returns order operation type of the currently selected order. URL: http://docs.mql4.com/trading/ordertype.html
public OrderType ( ) : int
Résultat int

OrdersHistoryTotal() public méthode

Function: OrdersHistoryTotal Description: Returns the number of closed orders in the account history loaded into the terminal. URL: http://docs.mql4.com/trading/ordershistorytotal.html
public OrdersHistoryTotal ( ) : int
Résultat int

OrdersTotal() public méthode

Function: OrdersTotal Description: Returns the number of market and pending orders. URL: http://docs.mql4.com/trading/orderstotal.html
public OrdersTotal ( ) : int
Résultat int

Period() public méthode

Function: Period Description: Returns the current chart timeframe. URL: http://docs.mql4.com/check/period.html
public Period ( ) : int
Résultat int

Point() public méthode

Function: Point Description: Returns the point size of the current symbol in the quote currency. URL: http://docs.mql4.com/check/point.html
public Point ( ) : double
Résultat double

RefreshRates() public méthode

Function: RefreshRates Description: Refreshing of data in pre-defined variables and series arrays. URL: http://docs.mql4.com/series/refreshrates.html
public RefreshRates ( ) : bool
Résultat bool

SendFTP() public méthode

Function: SendFTP Description: Sends a file at the address, specified in the setting window of the "FTP" tab. URL: http://docs.mql4.com/common/sendftp.html
public SendFTP ( string filename, string ftp_path ) : bool
filename string [in] Name of sent file.
ftp_path string [in] FTP catalog. If a directory is not specified, directory described in settings is used.
Résultat bool

SendMail() public méthode

Function: SendMail Description: Sends an email at the address specified in the settings window of the "Email" tab. URL: http://docs.mql4.com/common/sendmail.html
public SendMail ( string subject, string some_text ) : bool
subject string [in] Email header.
some_text string [in] Email body.
Résultat bool

SendNotification() public méthode

Function: SendNotification Description: Sends push notifications to the mobile terminals, whose MetaQuotes IDs are specified in the "Notifications" tab. URL: http://docs.mql4.com/common/sendnotification.html
public SendNotification ( string text ) : bool
text string [in] The text of the notification. The message length should not exceed 255 characters.
Résultat bool

SetIndexArrow() public méthode

Function: SetIndexArrow Description: Sets an arrow symbol for indicators line of the DRAW_ARROW type. URL: http://docs.mql4.com/customind/setindexarrow.html
public SetIndexArrow ( int index, int code ) : void
index int [in] Line index. Must lie between 0 and 7.
code int [in] Symbol code from or predefined .
Résultat void

SetIndexDrawBegin() public méthode

Function: SetIndexDrawBegin Description: Sets the bar number (from the data beginning) from which the drawing of the given indicator line must start. URL: http://docs.mql4.com/customind/setindexdrawbegin.html
public SetIndexDrawBegin ( int index, int begin ) : void
index int [in] Line index. Must lie between 0 and 7.
begin int [in] First drawing bar position number.
Résultat void

SetIndexEmptyValue() public méthode

Function: SetIndexEmptyValue Description: Sets drawing line empty value. URL: http://docs.mql4.com/customind/setindexemptyvalue.html
public SetIndexEmptyValue ( int index, double value ) : void
index int [in] Line index. Must lie between 0 and 7.
value double [in] New "empty" value.
Résultat void

SetIndexLabel() public méthode

Function: SetIndexLabel Description: Sets drawing line description for showing in the DataWindow and in the tooltip. URL: http://docs.mql4.com/customind/setindexlabel.html
public SetIndexLabel ( int index, string text ) : void
index int [in] Line index. Must lie between 0 and 7.
text string [in] Label text. NULL means that index value is not shown in the DataWindow.
Résultat void

SetIndexShift() public méthode

Function: SetIndexShift Description: Sets offset for the drawing line. URL: http://docs.mql4.com/customind/setindexshift.html
public SetIndexShift ( int index, int shift ) : void
index int [in] Line index. Must lie between 0 and 7.
shift int [in] Shift value in bars.
Résultat void

SetIndexStyle() public méthode

Function: SetIndexStyle Description: Sets the new type, style, width and color for a given indicator line. URL: http://docs.mql4.com/customind/setindexstyle.html
public SetIndexStyle ( int index, int type, int style, int width, COLOR clr ) : void
index int [in] Line index. Must lie between 0 and 7.
type int [in] Shape style. Can be one of listed.
style int [in] Drawing style. It is used for one-pixel thick lines. It can be one of the listed. EMPTY value means that the style will not be changed.
width int [in] Line width. Valid values are: 1,2,3,4,5. EMPTY value means that width will not be changed.
clr COLOR [in] Line color. Absence of this parameter means that the color will not be changed.
Résultat void

SetLevelStyle() public méthode

Function: SetLevelStyle Description: The function sets a new style, width and color of horizontal levels of indicator to be output in a separate window. URL: http://docs.mql4.com/customind/setlevelstyle.html
public SetLevelStyle ( int draw_style, int line_width, COLOR clr ) : void
draw_style int [in] Drawing style. Can be one of the listed. EMPTY value means that the style will not be changed.
line_width int [in] Line width. Valid values are 1,2,3,4,5. EMPTY value indicates that the width will not be changed.
clr COLOR [in] Line color. Empty value CLR_NONE means that the color will not be changed.
Résultat void

SetLevelValue() public méthode

Function: SetLevelValue Description: The function sets a value for a given horizontal level of the indicator to be output in a separate window. URL: http://docs.mql4.com/customind/setlevelvalue.html
public SetLevelValue ( int level, double value ) : void
level int [in] Level index (0-31).
value double [in] Value for the given indicator level.
Résultat void

SignalBaseGetDouble() public méthode

Function: SignalBaseGetDouble Description: Returns the value of URL: http://docs.mql4.com/signals/signalbasegetdouble.html
public SignalBaseGetDouble ( SIGNAL_BASE_DOUBLE property_id ) : double
property_id SIGNAL_BASE_DOUBLE [in] Signal property identifier. The value can be one of the values of the enumeration.
Résultat double

SignalBaseGetInteger() public méthode

Function: SignalBaseGetInteger Description: Returns the value of URL: http://docs.mql4.com/signals/signalbasegetinteger.html
public SignalBaseGetInteger ( SIGNAL_BASE_INTEGER property_id ) : long
property_id SIGNAL_BASE_INTEGER [in] Signal property identifier. The value can be one of the values of the enumeration.
Résultat long

SignalBaseGetString() public méthode

Function: SignalBaseGetString Description: Returns the value of URL: http://docs.mql4.com/signals/signalbasegetstring.html
public SignalBaseGetString ( SIGNAL_BASE_STRING property_id ) : string
property_id SIGNAL_BASE_STRING [in] Signal property identifier. The value can be one of the values of the enumeration.
Résultat string

SignalBaseSelect() public méthode

Function: SignalBaseSelect Description: Selects a signal from signals, available in terminal for further working with it. URL: http://docs.mql4.com/signals/signalbaseselect.html
public SignalBaseSelect ( int index ) : bool
index int [in] Signal index in base of trading signals.
Résultat bool

SignalBaseTotal() public méthode

Function: SignalBaseTotal Description: Returns the total amount of signals, available in terminal. URL: http://docs.mql4.com/signals/signalbasetotal.html
public SignalBaseTotal ( ) : int
Résultat int

SignalInfoGetDouble() public méthode

Function: SignalInfoGetDouble Description: Returns the value of URL: http://docs.mql4.com/signals/signalinfogetdouble.html
public SignalInfoGetDouble ( SIGNAL_INFO_DOUBLE property_id ) : double
property_id SIGNAL_INFO_DOUBLE [in] Signal copy settings property identifier. The value can be one of the values of the enumeration.
Résultat double

SignalInfoGetInteger() public méthode

Function: SignalInfoGetInteger Description: Returns the value of URL: http://docs.mql4.com/signals/signalinfogetinteger.html
public SignalInfoGetInteger ( SIGNAL_INFO_INTEGER property_id ) : long
property_id SIGNAL_INFO_INTEGER [in] Signal copy settings property identifier. The value can be one of the values of the enumeration.
Résultat long

SignalInfoGetString() public méthode

Function: SignalInfoGetString Description: Returns the value of URL: http://docs.mql4.com/signals/signalinfogetstring.html
public SignalInfoGetString ( SIGNAL_INFO_STRING property_id ) : string
property_id SIGNAL_INFO_STRING [in] Signal copy settings property identifier. The value can be one of the values of the enumeration.
Résultat string

SignalInfoSetDouble() public méthode

Function: SignalInfoSetDouble Description: Sets the value of URL: http://docs.mql4.com/signals/signalinfosetdouble.html
public SignalInfoSetDouble ( SIGNAL_INFO_DOUBLE property_id, double value ) : bool
property_id SIGNAL_INFO_DOUBLE [in] Signal copy settings property identifier. The value can be one of the values of the enumeration.
value double [in] The value of signal copy settings property.
Résultat bool

SignalInfoSetInteger() public méthode

Function: SignalInfoSetInteger Description: Sets the value of URL: http://docs.mql4.com/signals/signalinfosetinteger.html
public SignalInfoSetInteger ( SIGNAL_INFO_INTEGER property_id, long value ) : bool
property_id SIGNAL_INFO_INTEGER [in] Signal copy settings property identifier. The value can be one of the values of the enumeration.
value long [in] The value of signal copy settings property.
Résultat bool

SignalSubscribe() public méthode

Function: SignalSubscribe Description: Subscribes to the trading signal. URL: http://docs.mql4.com/signals/signalsubscribe.html
public SignalSubscribe ( long signal_id ) : bool
signal_id long [in] Signal identifier.
Résultat bool

SignalUnsubscribe() public méthode

Function: SignalUnsubscribe Description: Cancels subscription. URL: http://docs.mql4.com/signals/signalunsubscribe.html
public SignalUnsubscribe ( ) : bool
Résultat bool

Symbol() public méthode

Function: Symbol Description: Returns the name of a symbol of the current chart. URL: http://docs.mql4.com/check/symbol.html
public Symbol ( ) : string
Résultat string

SymbolName() public méthode

Function: SymbolName Description: Returns the name of a symbol. URL: http://docs.mql4.com/marketinformation/symbolname.html
public SymbolName ( int pos, bool selected ) : string
pos int [in] Order number of a symbol.
selected bool [in] Request mode. If the value is true, the symbol is taken from the list of symbols selected in MarketWatch. If the value is false, the symbol is taken from the general list.
Résultat string

SymbolSelect() public méthode

Function: SymbolSelect Description: Selects a symbol in the Market Watch window or removes a symbol from the window. URL: http://docs.mql4.com/marketinformation/symbolselect.html
public SymbolSelect ( string name, bool select ) : bool
name string [in] Symbol name.
select bool [in] Switch. If the value is false, a symbol should be removed from MarketWatch, otherwise a symbol should be selected in this window. A symbol can't be removed if the symbol chart is open, or there are open orders for this symbol.
Résultat bool

SymbolsTotal() public méthode

Function: SymbolsTotal Description: Returns the number of available (selected in Market Watch or all) symbols. URL: http://docs.mql4.com/marketinformation/symbolstotal.html
public SymbolsTotal ( bool selected ) : int
selected bool [in] Request mode. Can be true or false.
Résultat int

TerminalCompany() public méthode

Function: TerminalCompany Description: Returns the name of company owning the client terminal. URL: http://docs.mql4.com/check/terminalcompany.html
public TerminalCompany ( ) : string
Résultat string

TerminalInfoDouble() public méthode

Function: TerminalInfoDouble Description: Returns the value of a corresponding property of the mql4 program environment. URL: http://docs.mql4.com/check/terminalinfodouble.html
public TerminalInfoDouble ( int property_id ) : double
property_id int [in] Identifier of a property. Can be one of the values of the enumeration.
Résultat double

TerminalInfoInteger() public méthode

Function: TerminalInfoInteger Description: Returns the value of a corresponding property of the mql4 program environment. URL: http://docs.mql4.com/check/terminalinfointeger.html
public TerminalInfoInteger ( int property_id ) : int
property_id int [in] Identifier of a property. Can be one of the values of the enumeration.
Résultat int

TerminalInfoString() public méthode

Function: TerminalInfoString Description: Returns the value of a corresponding property of the mql4 program environment. The property must be of string type. URL: http://docs.mql4.com/check/terminalinfostring.html
public TerminalInfoString ( int property_id ) : string
property_id int [in] Identifier of a property. Can be one of the values of the enumeration.
Résultat string

TerminalName() public méthode

Function: TerminalName Description: Returns client terminal name. URL: http://docs.mql4.com/check/terminalname.html
public TerminalName ( ) : string
Résultat string

TerminalPath() public méthode

Function: TerminalPath Description: Returns the directory, from which the client terminal was launched. URL: http://docs.mql4.com/check/terminalpath.html
public TerminalPath ( ) : string
Résultat string

TextSetFont() public méthode

Function: TextSetFont Description: The function sets the font for displaying the text using drawing methods and returns the result of that operation. Arial font with the size -120 (12 pt) is used by default. URL: http://docs.mql4.com/objects/textsetfont.html
public TextSetFont ( string name, int size, uint flags, int orientation ) : bool
name string [in] Font name in the system or the name of the resource containing the font or the path to font file on the disk.
size int [in] The font size that can be set using positive and negative values. In case of positive values, the size of a displayed text does not depend on the operating system's font size settings. In case of negative values, the value is set in tenths of a point and the text size depends on the operating system settings ("standard scale" or "large scale"). See the Note below for more information about the differences between the modes.
flags uint [in] Combination of describing font style.
orientation int [in] Text's horizontal inclination to X axis, the unit of measurement is 0.1 degrees. It means that orientation=450 stands for inclination equal to 45 degrees.
Résultat bool

UninitializeReason() public méthode

Function: UninitializeReason Description: Returns the code of a URL: http://docs.mql4.com/check/uninitializereason.html
public UninitializeReason ( ) : int
Résultat int

WindowBarsPerChart() public méthode

Function: WindowBarsPerChart Description: Returns the amount of bars visible on the chart. URL: http://docs.mql4.com/chart_operations/windowbarsperchart.html
public WindowBarsPerChart ( ) : int
Résultat int

WindowExpertName() public méthode

Function: WindowExpertName Description: Returns the name of the executed Expert Advisor, script, custom indicator, or library. URL: http://docs.mql4.com/chart_operations/windowexpertname.html
public WindowExpertName ( ) : string
Résultat string

WindowFind() public méthode

Function: WindowFind Description: Returns the window index containing this specified indicator. URL: http://docs.mql4.com/chart_operations/windowfind.html
public WindowFind ( string name ) : int
name string [in] Indicator short name.
Résultat int

WindowFirstVisibleBar() public méthode

Function: WindowFirstVisibleBar Description: Returns index of the first visible bar in the current chart window. URL: http://docs.mql4.com/chart_operations/windowfirstvisiblebar.html
public WindowFirstVisibleBar ( ) : int
Résultat int

WindowHandle() public méthode

Function: WindowHandle Description: Returns the system handle of the chart window. URL: http://docs.mql4.com/chart_operations/windowhandle.html
public WindowHandle ( string symbol, int timeframe ) : int
symbol string [in] Symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
Résultat int

WindowIsVisible() public méthode

Function: WindowIsVisible Description: Returns the visibility flag of the chart subwindow. URL: http://docs.mql4.com/chart_operations/windowisvisible.html
public WindowIsVisible ( int index ) : int
index int [in] Subwindow index.
Résultat int

WindowOnDropped() public méthode

Function: WindowOnDropped Description: Returns the window index where Expert Advisor, custom indicator or script was dropped. URL: http://docs.mql4.com/chart_operations/windowondropped.html
public WindowOnDropped ( ) : int
Résultat int

WindowPriceMax() public méthode

Function: WindowPriceMax Description: Returns the maximal value of the vertical scale of the specified subwindow of the current chart. URL: http://docs.mql4.com/chart_operations/windowpricemax.html
public WindowPriceMax ( int index ) : int
index int [in] Chart subwindow index (0 - main chart window).
Résultat int

WindowPriceMin() public méthode

Function: WindowPriceMin Description: Returns the minimal value of the vertical scale of the specified subwindow of the current chart. URL: http://docs.mql4.com/chart_operations/windowpricemin.html
public WindowPriceMin ( int index ) : int
index int [in] Chart subwindow index (0 - main chart window).
Résultat int

WindowPriceOnDropped() public méthode

Function: WindowPriceOnDropped Description: Returns the price of the chart point where Expert Advisor or script was dropped. URL: http://docs.mql4.com/chart_operations/windowpriceondropped.html
public WindowPriceOnDropped ( ) : double
Résultat double

WindowRedraw() public méthode

Function: WindowRedraw Description: Redraws the current chart forcedly. URL: http://docs.mql4.com/chart_operations/windowredraw.html
public WindowRedraw ( ) : void
Résultat void

WindowScreenShot() public méthode

Function: WindowScreenShot Description: Saves current chart screen shot as a GIF file. URL: http://docs.mql4.com/chart_operations/windowscreenshot.html
public WindowScreenShot ( string filename, int size_x, int size_y, int start_bar, int chart_scale, int chart_mode ) : bool
filename string [in] Screen shot file name. Screenshot is saved to \Files folder.
size_x int [in] Screen shot width in pixels.
size_y int [in] Screen shot height in pixels.
start_bar int [in] Index of the first visible bar in the screen shot. If 0 value is set, the current first visible bar will be shot. If no value or negative value has been set, the end-of-chart screen shot will be produced, indent being taken into consideration.
chart_scale int [in] Horizontal chart scale for screen shot. Can be in the range from 0 to 5. If no value or negative value has been set, the current chart scale will be used.
chart_mode int [in] Chart displaying mode. It can take the following values: CHART_BAR (0 is a sequence of bars), CHART_CANDLE (1 is a sequence of candlesticks), CHART_LINE (2 is a close prices line). If no value or negative value has been set, the chart will be shown in its current mode.
Résultat bool

WindowTimeOnDropped() public méthode

Function: WindowTimeOnDropped Description: Returns the time of the chart point where Expert Advisor or script was dropped. URL: http://docs.mql4.com/chart_operations/windowtimeondropped.html
public WindowTimeOnDropped ( ) : System.DateTime
Résultat System.DateTime

WindowXOnDropped() public méthode

Function: WindowXOnDropped Description: Returns the value at X axis in pixels for the chart window client area point at which the Expert Advisor or script was dropped. URL: http://docs.mql4.com/chart_operations/windowxondropped.html
public WindowXOnDropped ( ) : int
Résultat int

WindowYOnDropped() public méthode

Function: WindowYOnDropped Description: Returns the value at Y axis in pixels for the chart window client area point at which the Expert Advisor or script was dropped. URL: http://docs.mql4.com/chart_operations/windowyondropped.html
public WindowYOnDropped ( ) : int
Résultat int

WindowsTotal() public méthode

Function: WindowsTotal Description: Returns total number of indicator windows on the chart. URL: http://docs.mql4.com/chart_operations/windowstotal.html
public WindowsTotal ( ) : int
Résultat int

iAC() public méthode

Function: iAC Description: Calculates the Bill Williams' Accelerator/Decelerator oscillator and returns its value. URL: http://docs.mql4.com/indicators/iac.html
public iAC ( string symbol, int timeframe, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iAD() public méthode

Function: iAD Description: Calculates the Accumulation/Distribution indicator and returns its value. URL: http://docs.mql4.com/indicators/iad.html
public iAD ( string symbol, int timeframe, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iADX() public méthode

Function: iADX Description: Calculates the Average Directional Movement Index indicator and returns its value. URL: http://docs.mql4.com/indicators/iadx.html
public iADX ( string symbol, int timeframe, int period, int applied_price, int mode, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
period int [in] Averaging period for calculation.
applied_price int [in] Applied price. It can be any of enumeration values.
mode int [in] Indicator line index. It can be any of the enumeration value. (0 - MODE_MAIN, 1 - MODE_PLUSDI, 2 - MODE_MINUSDI).
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iAO() public méthode

Function: iAO Description: Calculates the Awesome oscillator and returns its value. URL: http://docs.mql4.com/indicators/iao.html
public iAO ( string symbol, int timeframe, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iATR() public méthode

Function: iATR Description: Calculates the Average True Range indicator and returns its value. URL: http://docs.mql4.com/indicators/iatr.html
public iATR ( string symbol, int timeframe, int period, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
period int [in] Averaging period.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iAlligator() public méthode

Function: iAlligator Description: Calculates the Alligator indicator and returns its value. URL: http://docs.mql4.com/indicators/ialligator.html
public iAlligator ( string symbol, int timeframe, int jaw_period, int jaw_shift, int teeth_period, int teeth_shift, int lips_period, int lips_shift, int ma_method, int applied_price, int mode, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
jaw_period int [in] Blue line averaging period (Alligator's Jaw).
jaw_shift int [in] Blue line shift relative to the chart.
teeth_period int [in] Red line averaging period (Alligator's Teeth).
teeth_shift int [in] Red line shift relative to the chart.
lips_period int [in] Green line averaging period (Alligator's Lips).
lips_shift int [in] Green line shift relative to the chart.
ma_method int [in] MA method. It can be any of Moving Average methods. It can be any of enumeration values.
applied_price int [in] Applied price. It can be any of enumeration values.
mode int [in] Data source, identifier of the . It can be any of the following values:
shift int MODE_GATORJAW - Gator Jaw (blue) balance line,MODE_GATORTEETH - Gator Teeth (red) balance line,MODE_GATORLIPS - Gator Lips (green) balance line.
Résultat double

iBWMFI() public méthode

Function: iBWMFI Description: Calculates the Market Facilitation Index indicator and returns its value. URL: http://docs.mql4.com/indicators/ibwmfi.html
public iBWMFI ( string symbol, int timeframe, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iBands() public méthode

Function: iBands Description: Calculates the Bollinger Bands indicator and returns its value. URL: http://docs.mql4.com/indicators/ibands.html
public iBands ( string symbol, int timeframe, int period, double deviation, int bands_shift, int applied_price, int mode, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
period int [in] Averaging period to calculate the main line.
deviation double [in] Number of standard deviations from the main line.
bands_shift int [in] The indicator shift relative to the chart.
applied_price int [in] Applied price. It can be any of enumeration values.
mode int [in] Indicator line index. It can be any of the enumeration value (0 - MODE_MAIN, 1 - MODE_UPPER, 2 - MODE_LOWER).
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iBarShift() public méthode

Function: iBarShift Description: Search for a bar by its time. The function returns the index of the bar which covers the specified time. URL: http://docs.mql4.com/series/ibarshift.html
public iBarShift ( string symbol, int timeframe, System.DateTime time, bool exact ) : int
symbol string [in] Symbol name. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
time System.DateTime [in] Time value for searching.
exact bool [in] Return mode when the bar is not found (false - iBarShift returns the nearest, true - iBarShift returns -1).
Résultat int

iBars() public méthode

Function: iBars Description: Returns the number of bars on the specified chart. URL: http://docs.mql4.com/series/ibars.html
public iBars ( string symbol, int timeframe ) : int
symbol string [in] Symbol the data of which should be used to calculate indicator. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
Résultat int

iBearsPower() public méthode

Function: iBearsPower Description: Calculates the Bears Power indicator and returns its value. URL: http://docs.mql4.com/indicators/ibearspower.html
public iBearsPower ( string symbol, int timeframe, int period, int applied_price, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
period int [in] Averaging period.
applied_price int [in] Applied price. It can be any of enumeration values.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iBullsPower() public méthode

Function: iBullsPower Description: Calculates the Bulls Power indicator and returns its value. URL: http://docs.mql4.com/indicators/ibullspower.html
public iBullsPower ( string symbol, int timeframe, int period, int applied_price, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
period int [in] Averaging period for calculation.
applied_price int [in] Applied price. It can be any of enumeration values.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iCCI() public méthode

Function: iCCI Description: Calculates the Commodity Channel Index indicator and returns its value. URL: http://docs.mql4.com/indicators/icci.html
public iCCI ( string symbol, int timeframe, int period, int applied_price, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
period int [in] Averaging period for calculation.
applied_price int [in] Applied price. It can be any of enumeration values.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iClose() public méthode

Function: iClose Description: Returns Close price value for the bar of specified symbol with timeframe and shift. URL: http://docs.mql4.com/series/iclose.html
public iClose ( string symbol, int timeframe, int shift ) : double
symbol string [in] Symbol name. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iDeMarker() public méthode

Function: iDeMarker Description: Calculates the DeMarker indicator and returns its value. URL: http://docs.mql4.com/indicators/idemarker.html
public iDeMarker ( string symbol, int timeframe, int period, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
period int [in] Averaging period for calculation.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iEnvelopes() public méthode

Function: iEnvelopes Description: Calculates the Envelopes indicator and returns its value. URL: http://docs.mql4.com/indicators/ienvelopes.html
public iEnvelopes ( string symbol, int timeframe, int ma_period, int ma_method, int ma_shift, int applied_price, double deviation, int mode, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
ma_period int [in] Averaging period for calculation of the main line.
ma_method int [in] Moving Average method. It can be any of enumeration values.
ma_shift int [in] MA shift. Indicator line offset relate to the chart by timeframe.
applied_price int [in] Applied price. It can be any of enumeration values.
deviation double [in] Percent deviation from the main line.
mode int [in] Indicator line index. It can be any of enumeration value (0 - MODE_MAIN, 1 - MODE_UPPER, 2 - MODE_LOWER).
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iForce() public méthode

Function: iForce Description: Calculates the Force Index indicator and returns its value. URL: http://docs.mql4.com/indicators/iforce.html
public iForce ( string symbol, int timeframe, int period, int ma_method, int applied_price, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
period int [in] Averaging period for calculation.
ma_method int [in] Moving Average method. It can be any of enumeration values.
applied_price int [in] Applied price. It can be any of enumeration values.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iFractals() public méthode

Function: iFractals Description: Calculates the Fractals indicator and returns its value. URL: http://docs.mql4.com/indicators/ifractals.html
public iFractals ( string symbol, int timeframe, int mode, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
mode int [in] Indicator line index. It can be any of the enumeration value.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iGator() public méthode

Function: iGator Description: Calculates the Gator oscillator and returns its value. URL: http://docs.mql4.com/indicators/igator.html
public iGator ( string symbol, int timeframe, int jaw_period, int jaw_shift, int teeth_period, int teeth_shift, int lips_period, int lips_shift, int ma_method, int applied_price, int mode, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
jaw_period int [in] Blue line averaging period (Alligator's Jaw).
jaw_shift int [in] Blue line shift relative to the chart.
teeth_period int [in] Red line averaging period (Alligator's Teeth).
teeth_shift int [in] Red line shift relative to the chart.
lips_period int [in] Green line averaging period (Alligator's Lips).
lips_shift int [in] Green line shift relative to the chart.
ma_method int [in] MA method. It can be any of enumeration value.
applied_price int [in] Applied price. It can be any of enumeration values.
mode int [in] Indicator line index. It can be any of enumeration value.
shift int MODE_GATORJAW - blue line (Jaw line),MODE_GATORTEETH - red line (Teeth line),MODE_GATORLIPS - green line (Lips line).
Résultat double

iHigh() public méthode

Function: iHigh Description: Returns High price value for the bar of specified symbol with timeframe and shift. URL: http://docs.mql4.com/series/ihigh.html
public iHigh ( string symbol, int timeframe, int shift ) : double
symbol string [in] Symbol name. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iHighest() public méthode

Function: iHighest Description: Returns the shift of the maximum value over a specific number of bars depending on type. URL: http://docs.mql4.com/series/ihighest.html
public iHighest ( string symbol, int timeframe, int type, int count, int start ) : int
symbol string [in] Symbol the data of which should be used for search. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
type int [in] Series array identifier. It can be any of the enumeration values.
count int [in] Number of bars (in direction from the start bar to the back one) on which the search is carried out.
start int [in] Shift showing the bar, relative to the current bar, that the data should be taken from.
Résultat int

iIchimoku() public méthode

Function: iIchimoku Description: Calculates the Ichimoku Kinko Hyo indicator and returns its value. URL: http://docs.mql4.com/indicators/iichimoku.html
public iIchimoku ( string symbol, int timeframe, int tenkan_sen, int kijun_sen, int senkou_span_b, int mode, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
tenkan_sen int [in] Tenkan Sen averaging period.
kijun_sen int [in] Kijun Sen averaging period.
senkou_span_b int [in] Senkou SpanB averaging period.
mode int [in] Source of data. It can be one of the enumeration (1 - MODE_TENKANSEN, 2 - MODE_KIJUNSEN, 3 - MODE_SENKOUSPANA, 4 - MODE_SENKOUSPANB, 5 - MODE_CHIKOUSPAN).
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iLow() public méthode

Function: iLow Description: Returns Low price value for the bar of indicated symbol with timeframe and shift. URL: http://docs.mql4.com/series/ilow.html
public iLow ( string symbol, int timeframe, int shift ) : double
symbol string [in] Symbol name. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iLowest() public méthode

Function: iLowest Description: Returns the shift of the lowest value over a specific number of bars depending on type. URL: http://docs.mql4.com/series/ilowest.html
public iLowest ( string symbol, int timeframe, int type, int count, int start ) : int
symbol string [in] Symbol name. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
type int [in] Series array identifier. It can be any of the enumeration values.
count int [in] Number of bars (in direction from the start bar to the back one) on which the search is carried out.
start int [in] Shift showing the bar, relative to the current bar, that the data should be taken from.
Résultat int

iMA() public méthode

Function: iMA Description: Calculates the Moving Average indicator and returns its value. URL: http://docs.mql4.com/indicators/ima.html
public iMA ( string symbol, int timeframe, int ma_period, int ma_shift, int ma_method, int applied_price, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
ma_period int [in] Averaging period for calculation.
ma_shift int [in] MA shift. Indicators line offset relate to the chart by timeframe.
ma_method int [in] Moving Average method. It can be any of enumeration values.
applied_price int [in] Applied price. It can be any of enumeration values.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iMACD() public méthode

Function: iMACD Description: Calculates the Moving Averages Convergence/Divergence indicator and returns its value. URL: http://docs.mql4.com/indicators/imacd.html
public iMACD ( string symbol, int timeframe, int fast_ema_period, int slow_ema_period, int signal_period, int applied_price, int mode, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
fast_ema_period int [in] Fast EMA averaging period.
slow_ema_period int [in] Slow EMA averaging period.
signal_period int [in] Signal line averaging period.
applied_price int [in] Applied price. It can be any of enumeration values.
mode int [in] Indicator line index. It can be one of the enumeration values (0-MODE_MAIN, 1-MODE_SIGNAL).
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iMFI() public méthode

Function: iMFI Description: Calculates the Money Flow Index indicator and returns its value. URL: http://docs.mql4.com/indicators/imfi.html
public iMFI ( string symbol, int timeframe, int period, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
period int [in] Period (amount of bars) for calculation of the indicator.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iMomentum() public méthode

Function: iMomentum Description: Calculates the Momentum indicator and returns its value. URL: http://docs.mql4.com/indicators/imomentum.html
public iMomentum ( string symbol, int timeframe, int period, int applied_price, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
period int [in] Averaging period (amount of bars) for calculation of price changes.
applied_price int [in] Applied price. It can be any of enumeration values.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iOBV() public méthode

Function: iOBV Description: Calculates the On Balance Volume indicator and returns its value. URL: http://docs.mql4.com/indicators/iobv.html
public iOBV ( string symbol, int timeframe, int applied_price, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
applied_price int [in] Applied price. It can be any of enumeration values.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iOpen() public méthode

Function: iOpen Description: Returns Open price value for the bar of specified symbol with timeframe and shift. URL: http://docs.mql4.com/series/iopen.html
public iOpen ( string symbol, int timeframe, int shift ) : double
symbol string [in] Symbol name. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iOsMA() public méthode

Function: iOsMA Description: iOsMA URL: http://docs.mql4.com/indicators/iosma.html
public iOsMA ( string symbol, int timeframe, int fast_ema_period, int slow_ema_period, int signal_period, int applied_price, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
fast_ema_period int [in] Fast EMA averaging period.
slow_ema_period int [in] Slow EMA averaging period.
signal_period int [in] Signal line averaging period.
applied_price int [in] Applied price. It can be any of enumeration values.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iRSI() public méthode

Function: iRSI Description: Calculates the Relative Strength Index indicator and returns its value. URL: http://docs.mql4.com/indicators/irsi.html
public iRSI ( string symbol, int timeframe, int period, int applied_price, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
period int [in] Averaging period for calculation.
applied_price int [in] Applied price. It can be any of enumeration values.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iRVI() public méthode

Function: iRVI Description: Calculates the Relative Vigor Index indicator and returns its value. URL: http://docs.mql4.com/indicators/irvi.html
public iRVI ( string symbol, int timeframe, int period, int mode, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
period int [in] Averaging period for calculation.
mode int [in] Indicator line index. It can be any of enumeration value.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iSAR() public méthode

Function: iSAR Description: Calculates the Parabolic Stop and Reverse system indicator and returns its value. URL: http://docs.mql4.com/indicators/isar.html
public iSAR ( string symbol, int timeframe, double step, double maximum, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
step double [in] The step of price increment, usually 0.02.
maximum double [in] The maximum step, usually 0.2.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iStdDev() public méthode

Function: iStdDev Description: Calculates the Standard Deviation indicator and returns its value. URL: http://docs.mql4.com/indicators/istddev.html
public iStdDev ( string symbol, int timeframe, int ma_period, int ma_shift, int ma_method, int applied_price, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
ma_period int [in] Moving Average period.
ma_shift int [in] Moving Average shift.
ma_method int [in] Moving Average method. It can be any of enumeration values.
applied_price int [in] Applied price. It can be any of enumeration values.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iStochastic() public méthode

Function: iStochastic Description: Calculates the Stochastic Oscillator and returns its value. URL: http://docs.mql4.com/indicators/istochastic.html
public iStochastic ( string symbol, int timeframe, int Kperiod, int Dperiod, int slowing, int method, int price_field, int mode, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
Kperiod int [in] Period of the %K line.
Dperiod int [in] Period of the %D line.
slowing int [in] Slowing value.
method int [in] Moving Average method. It can be any of enumeration values.
price_field int [in] Price field parameter. Can be one of this values: 0 - Low/High or 1 - Close/Close.
mode int [in] Indicator line index. It can be any of the enumeration value (0 - MODE_MAIN, 1 - MODE_SIGNAL).
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

iTime() public méthode

Function: iTime Description: Returns Time value for the bar of specified symbol with timeframe and shift. URL: http://docs.mql4.com/series/itime.html
public iTime ( string symbol, int timeframe, int shift ) : DateTime
symbol string [in] Symbol name. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat DateTime

iVolume() public méthode

Function: iVolume Description: Returns Tick Volume value for the bar of specified symbol with timeframe and shift. URL: http://docs.mql4.com/series/ivolume.html
public iVolume ( string symbol, int timeframe, int shift ) : long
symbol string [in] Symbol name. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat long

iWPR() public méthode

Function: iWPR Description: Calculates the Larry Williams' Percent Range and returns its value. URL: http://docs.mql4.com/indicators/iwpr.html
public iWPR ( string symbol, int timeframe, int period, int shift ) : double
symbol string [in] Symbol name on the data of which the indicator will be calculated. means the current symbol.
timeframe int [in] Timeframe. It can be any of enumeration values. 0 means the current chart timeframe.
period int [in] Averaging period for calculation.
shift int [in] Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
Résultat double

Property Details

LOG public_oe static_oe property

public static ILog,log4net LOG
Résultat log4net.ILog