没有合适的资源?快使用搜索试试~ 我知道了~
首页MQL5编程语言参考手册
MQL5编程语言参考手册
需积分: 10 1 下载量 174 浏览量
更新于2024-07-24
收藏 17.62MB PDF 举报
MQL5语言参考手册
MQL5语言是MetaTrader 5客户端终端的编程语言,用于创建技术指标、自动交易系统、分析工具和信息交易系统。以下是MQL5语言的重要知识点:
**语言基础**
* Syntax:MQL5语言的语法结构,包括标识符、保留字、数据类型、变量声明、赋值操作符、控制结构、函数调用等。
* Comments:MQL5语言的注释方式,包括单行注释、多行注释、注释符号等。
* Identifiers:MQL5语言的标识符,包括变量名、函数名、数组名等。
* Reserved Words:MQL5语言的保留字,包括关键字、函数名、变量名等。
**数据类型**
* Integer Types:MQL5语言的整数类型,包括int、short、long、char等。
* Real Types:MQL5语言的实数类型,包括float、double等。
* StringType:MQL5语言的字符串类型,包括字符串声明、字符串操作等。
* Datetime Type:MQL5语言的日期时间类型,包括日期时间声明、日期时间操作等。
* Color Type:MQL5语言的颜色类型,包括颜色声明、颜色操作等。
* Bool Type:MQL5语言的布尔类型,包括布尔声明、布尔操作等。
* Enumerations:MQL5语言的枚举类型,包括枚举声明、枚举操作等。
**操作和表达式**
* Operations:MQL5语言的操作符,包括算术操作符、赋值操作符、比较操作符、逻辑操作符等。
* Expressions:MQL5语言的表达式,包括算术表达式、赋值表达式、逻辑表达式等。
* Arithmetical Operations:MQL5语言的算术操作,包括加法、减法、乘法、除法等。
* Assignment Operations:MQL5语言的赋值操作,包括简单赋值、复杂赋值等。
**函数和数组**
* Functions:MQL5语言的函数,包括函数声明、函数调用、函数参数等。
* Arrays:MQL5语言的数组,包括数组声明、数组操作、数组函数等。
* Dynamic Array Object:MQL5语言的动态数组对象,包括动态数组声明、动态数组操作等。
**指标和自动交易**
* Technical Indicators:MQL5语言的技术指标,包括指标声明、指标计算、指标应用等。
* Automated Trading Systems:MQL5语言的自动交易系统,包括自动交易策略、自动交易执行、自动交易监控等。
**对象和指针**
* Object Pointers:MQL5语言的对象指针,包括对象指针声明、对象指针操作等。
* References:MQL5语言的引用,包括引用声明、引用操作等。
**其他知识点**
* Typecasting:MQL5语言的类型转换,包括隐式类型转换、显式类型转换等。
* Void Type and NULL Constant:MQL5语言的void类型和NULL常量,包括void类型声明、void类型操作等。
* Structures and Classes:MQL5语言的结构体和类,包括结构体声明、类声明、结构体操作、类操作等。
MQL5语言是MetaTrader 5客户端终端的强大编程语言,具有许多功能强大且灵活的特性,能够满足各种金融市场的需求。
Content16
© 2000-2014, MetaQuotes Software Corp.
................................................................................................................ 1972InsertSort
................................................................................................................ 1973Search
................................................................................................................ 1974SearchGreat
................................................................................................................ 1975SearchLess
................................................................................................................ 1976SearchGreatOrEqual
................................................................................................................ 1977SearchLessOrEqual
................................................................................................................ 1978SearchFirst
................................................................................................................ 1979SearchLast
................................................................................................................ 1980SearchLinear
................................................................................................................ 1981Save
................................................................................................................ 1983Load
................................................................................................................ 1985Type
......................................................................................................................... 1986CArrayString
................................................................................................................ 1988Reserve
................................................................................................................ 1989Resize
................................................................................................................ 1990Shutdown
................................................................................................................ 1991Add
................................................................................................................ 1992AddArray
................................................................................................................ 1993AddArray
................................................................................................................ 1995Insert
................................................................................................................ 1996InsertArray
................................................................................................................ 1997InsertArray
................................................................................................................ 1999AssignArray
................................................................................................................ 2000AssignArray
................................................................................................................ 2002Update
................................................................................................................ 2003Shift
................................................................................................................ 2004Delete
................................................................................................................ 2005DeleteRange
................................................................................................................ 2006At
................................................................................................................ 2008CompareArray
................................................................................................................ 2009CompareArray
................................................................................................................ 2010InsertSort
................................................................................................................ 2011Search
................................................................................................................ 2012SearchGreat
................................................................................................................ 2013SearchLess
................................................................................................................ 2014SearchGreatOrEqual
................................................................................................................ 2015SearchLessOrEqual
................................................................................................................ 2016SearchFirst
................................................................................................................ 2017SearchLast
................................................................................................................ 2018SearchLinear
................................................................................................................ 2019Save
................................................................................................................ 2021Load
................................................................................................................ 2023Type
......................................................................................................................... 2024CArrayObj
................................................................................................................ 2029FreeMode
................................................................................................................ 2030FreeMode
................................................................................................................ 2032Reserve
................................................................................................................ 2033Resize
................................................................................................................ 2035Clear
................................................................................................................ 2036Shutdown
................................................................................................................ 2037CreateElement
................................................................................................................ 2039Add
................................................................................................................ 2040AddArray
................................................................................................................ 2043Insert
................................................................................................................ 2045InsertArray
................................................................................................................ 2047AssignArray
................................................................................................................ 2049Update
................................................................................................................ 2050Shift
Content17
© 2000-2014, MetaQuotes Software Corp.
................................................................................................................ 2051Detach
................................................................................................................ 2052Delete
................................................................................................................ 2053DeleteRange
................................................................................................................ 2054At
................................................................................................................ 2055CompareArray
................................................................................................................ 2056InsertSort
................................................................................................................ 2057Search
................................................................................................................ 2058SearchGreat
................................................................................................................ 2059SearchLess
................................................................................................................ 2060SearchGreatOrEqual
................................................................................................................ 2061SearchLessOrEqual
................................................................................................................ 2062SearchFirst
................................................................................................................ 2063SearchLast
................................................................................................................ 2064Save
................................................................................................................ 2065Load
................................................................................................................ 2067Type
......................................................................................................................... 2068CList
................................................................................................................ 2070FreeMode
................................................................................................................ 2071FreeMode
................................................................................................................ 2073Total
................................................................................................................ 2074IsSorted
................................................................................................................ 2075SortMode
................................................................................................................ 2076CreateElement
................................................................................................................ 2077Add
................................................................................................................ 2078Insert
................................................................................................................ 2080DetachCurrent
................................................................................................................ 2081DeleteCurrent
................................................................................................................ 2082Delete
................................................................................................................ 2083Clear
................................................................................................................ 2084IndexOf
................................................................................................................ 2085GetNodeAtIndex
................................................................................................................ 2086GetFirstNode
................................................................................................................ 2087GetPrevNode
................................................................................................................ 2088GetCurrentNode
................................................................................................................ 2089GetNextNode
................................................................................................................ 2090GetLastNode
................................................................................................................ 2091Sort
................................................................................................................ 2092MoveToIndex
................................................................................................................ 2093Exchange
................................................................................................................ 2094CompareList
................................................................................................................ 2095Search
................................................................................................................ 2096Save
................................................................................................................ 2098Load
................................................................................................................ 2100Type
......................................................................................................................... 2101CTreeNode
................................................................................................................ 2106Owner
................................................................................................................ 2107Left
................................................................................................................ 2108Right
................................................................................................................ 2109Balance
................................................................................................................ 2110BalanceL
................................................................................................................ 2111BalanceR
................................................................................................................ 2112CreateSample
................................................................................................................ 2113RefreshBalance
................................................................................................................ 2114GetNext
................................................................................................................ 2115SaveNode
................................................................................................................ 2116LoadNode
................................................................................................................ 2117Type
......................................................................................................................... 2118CTree
Content18
© 2000-2014, MetaQuotes Software Corp.
................................................................................................................ 2123Root
................................................................................................................ 2124CreateElement
................................................................................................................ 2125Insert
................................................................................................................ 2126Detach
................................................................................................................ 2127Delete
................................................................................................................ 2128Clear
................................................................................................................ 2129Find
................................................................................................................ 2130Save
................................................................................................................ 2131Load
................................................................................................................ 2132Type
............................................................................................................................2133
Classes for Graphic Objects
......................................................................................................................... 2134CChartObject
................................................................................................................ 2137ChartId
................................................................................................................ 2138Window
................................................................................................................ 2139Name
................................................................................................................ 2140NumPoints
................................................................................................................ 2141Attach
................................................................................................................ 2142SetPoint
................................................................................................................ 2143Delete
................................................................................................................ 2144Detach
................................................................................................................ 2145ShiftObject
................................................................................................................ 2146ShiftPoint
................................................................................................................ 2147Time
................................................................................................................ 2149Price
................................................................................................................ 2151Color
................................................................................................................ 2152Style
................................................................................................................ 2153Width
................................................................................................................ 2154Background
................................................................................................................ 2155Selected
................................................................................................................ 2156Selectable
................................................................................................................ 2157Description
................................................................................................................ 2158Tooltip
................................................................................................................ 2159Timeframes
................................................................................................................ 2160Z_Order
................................................................................................................ 2161CreateTime
................................................................................................................ 2162LevelsCount
................................................................................................................ 2163LevelColor
................................................................................................................ 2165LevelStyle
................................................................................................................ 2167LevelWidth
................................................................................................................ 2169LevelValue
................................................................................................................ 2171LevelDescription
................................................................................................................ 2173GetInteger
................................................................................................................ 2175SetInteger
................................................................................................................ 2177GetDouble
................................................................................................................ 2179SetDouble
................................................................................................................ 2181GetString
................................................................................................................ 2183SetString
................................................................................................................ 2185Save
................................................................................................................ 2186Load
................................................................................................................ 2187Type
......................................................................................................................... 2188Objects Lines
................................................................................................................ 2189CChartObjectVLine
........................................................................................................... 2190Create
........................................................................................................... 2191Type
................................................................................................................ 2192CChartObjectHLine
........................................................................................................... 2193Create
........................................................................................................... 2194Type
................................................................................................................ 2195CChartObjectTrend
Content19
© 2000-2014, MetaQuotes Software Corp.
........................................................................................................... 2196Create
........................................................................................................... 2197RayLeft
........................................................................................................... 2198RayRight
........................................................................................................... 2199Save
........................................................................................................... 2200Load
........................................................................................................... 2201Type
................................................................................................................ 2202CChartObjectTrendByAngle
........................................................................................................... 2203Create
........................................................................................................... 2204Angle
........................................................................................................... 2205Type
................................................................................................................ 2206CChartObjectCycles
........................................................................................................... 2207Create
........................................................................................................... 2208Type
......................................................................................................................... 2209Objects Channels
................................................................................................................ 2210CChartObjectChannel
........................................................................................................... 2211Create
........................................................................................................... 2212Type
................................................................................................................ 2213CChartObjectRegression
........................................................................................................... 2214Create
........................................................................................................... 2215Type
................................................................................................................ 2216CChartObjectStdDevChannel
........................................................................................................... 2217Create
........................................................................................................... 2218Deviations
........................................................................................................... 2219Save
........................................................................................................... 2220Load
........................................................................................................... 2221Type
................................................................................................................ 2222CChartObjectPitchfork
........................................................................................................... 2223Create
........................................................................................................... 2224Type
......................................................................................................................... 2225Gann Tools
................................................................................................................ 2226CChartObjectGannLine
........................................................................................................... 2227Create
........................................................................................................... 2228PipsPerBar
........................................................................................................... 2229Save
........................................................................................................... 2230Load
........................................................................................................... 2231Type
................................................................................................................ 2232CChartObjectGannFan
........................................................................................................... 2233Create
........................................................................................................... 2234PipsPerBar
........................................................................................................... 2235Downtrend
........................................................................................................... 2236Save
........................................................................................................... 2237Load
........................................................................................................... 2238Type
................................................................................................................ 2239CChartObjectGannGrid
........................................................................................................... 2240Create
........................................................................................................... 2241PipsPerBar
........................................................................................................... 2242Downtrend
........................................................................................................... 2243Save
........................................................................................................... 2244Load
........................................................................................................... 2245Type
......................................................................................................................... 2246Fibonacci Tools
................................................................................................................ 2247CChartObjectFibo
........................................................................................................... 2248Create
........................................................................................................... 2249Type
................................................................................................................ 2250CChartObjectFiboTimes
........................................................................................................... 2251Create
........................................................................................................... 2252Type
................................................................................................................ 2253CChartObjectFiboFan
Content20
© 2000-2014, MetaQuotes Software Corp.
........................................................................................................... 2254Create
........................................................................................................... 2255Type
................................................................................................................ 2256CChartObjectFiboArc
........................................................................................................... 2257Create
........................................................................................................... 2258Scale
........................................................................................................... 2259Ellipse
........................................................................................................... 2260Save
........................................................................................................... 2261Load
........................................................................................................... 2262Type
................................................................................................................ 2263CChartObjectFiboChannel
........................................................................................................... 2264Create
........................................................................................................... 2265Type
................................................................................................................ 2266CChartObjectFiboExpansion
........................................................................................................... 2267Create
........................................................................................................... 2268Type
......................................................................................................................... 2269Elliott Tools
................................................................................................................ 2270CChartObjectElliottWave3
........................................................................................................... 2271Create
........................................................................................................... 2272Degree
........................................................................................................... 2273Lines
........................................................................................................... 2274Save
........................................................................................................... 2275Load
........................................................................................................... 2276Type
................................................................................................................ 2277CChartObjectElliottWave5
........................................................................................................... 2278Create
........................................................................................................... 2280Type
......................................................................................................................... 2281Objects Shapes
................................................................................................................ 2282CChartObjectRectangle
........................................................................................................... 2283Create
........................................................................................................... 2284Type
................................................................................................................ 2285CChartObjectTriangle
........................................................................................................... 2286Create
........................................................................................................... 2287Type
................................................................................................................ 2288CChartObjectEllipse
........................................................................................................... 2289Create
........................................................................................................... 2290Type
......................................................................................................................... 2291Objects Arrows
................................................................................................................ 2292CChartObjectArrow
........................................................................................................... 2293Create
........................................................................................................... 2295ArrowCode
........................................................................................................... 2297Anchor
........................................................................................................... 2299Save
........................................................................................................... 2300Load
........................................................................................................... 2301Type
................................................................................................................ 2302Arrows with fixed code
........................................................................................................... 2304Create
........................................................................................................... 2306ArrowCode
........................................................................................................... 2307Type
......................................................................................................................... 2308Objects Controls
................................................................................................................ 2309CChartObjectText
........................................................................................................... 2310Create
........................................................................................................... 2311Angle
........................................................................................................... 2312Font
........................................................................................................... 2313FontSize
........................................................................................................... 2314Anchor
........................................................................................................... 2315Save
........................................................................................................... 2316Load
........................................................................................................... 2317Type
剩余4077页未读,继续阅读
2018-08-22 上传
2013-04-28 上传
2018-12-26 上传
2011-11-23 上传
2020-02-28 上传
2021-09-10 上传
ldkcumt
- 粉丝: 50
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- snake-js:带有Javascript和HTML5的Snake
- badges-and-schedules:熨斗学校实验室
- ArtCenterGame
- mywonkysounds:SoundManger 2 音板! 我的声音!
- birdinginvermont.com
- Usso:sso统一登录系统
- Design-Algorithm-Homework
- MonadicRP:GHC Haskell中的相对论编程
- monolithic-sample
- vue-shop:Vue + Element UI电商后台管理系统演示
- Neurotypical-mode:一种Chrome扩展程序,可关闭除Microsoft Stream或Manaba之外的所有选项卡
- observ-conference:实验
- module-blog-graph-ql:Magento 2 Blog GraphQL扩展。 为Magefan博客模块提供GraphQL端点
- Excel模板00现金日记账.zip
- Naive-Bayes-Classifier
- SmartFactory
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功