MT4编程参考手册范本

上传人:l**** 文档编号:127600134 上传时间:2020-04-03 格式:DOCX 页数:251 大小:309.98KB
返回 下载 相关 举报
MT4编程参考手册范本_第1页
第1页 / 共251页
MT4编程参考手册范本_第2页
第2页 / 共251页
MT4编程参考手册范本_第3页
第3页 / 共251页
MT4编程参考手册范本_第4页
第4页 / 共251页
MT4编程参考手册范本_第5页
第5页 / 共251页
点击查看更多>>
资源描述

《MT4编程参考手册范本》由会员分享,可在线阅读,更多相关《MT4编程参考手册范本(251页珍藏版)》请在金锄头文库上搜索。

1、MQL4 Reference(MQL4 参考) 12 1、Basics(基本原则) 121-1 、Syntax(语法) 121-1-1 、Comments(注释)131-1-2 、Identifiers (标示符)13 1-1-3、Reserved words(保留字)131-2 、Data types (数据类型)14 1-2-1、Type casting(类型扔)14 1-2-2、Integer constants(整数)14 1-2-3、Literal constants (文字)15 1-2-4、Boolean constants (布尔)15 1-2-5、Floating-point

2、 number constants (double) (浮点number)15 1-2-6、String constants(排成)16 1-2-7、Color constants (颜色)16 1-2-8、Datetime constants(注明日期)161-3 、Operations & Expressions (操作&表达)17 1-3-1、Expressions(表达式)17 1-3-2、Arithmetical operations (算术操作符)17 1-3-3、Assignment operation (分配操作符)18 1-3-4、Operations of relation

3、 (关系操作符)18 1-3-5、Boolean operations (布尔操作符)18 1-3-6、Bitwise operations ()19 1-3-7、Other operations (其他操作)19 1-3-8、Precedence rules(优先规则)201-4 、Operators (操作员)21 1-4-1、Compound operator(复合操作)21 1-4-2、Expression operator (表达式操作)21 1-4-3、Break operator (打破操作)22 1-4-4、Continue operator (继续操作)22 1-4-5、Re

4、turn operator (返回操作)22 1-4-6、Conditional operator if-else (条件操作 如果-否则)23 1-4-7、Switch operator (开关操作)24 1-4-8、Cycle operator while (周期 操作 当时)24 1-4-9、Cycle operator for(周期 操作 对于)251-5 、Functions (函数)25 1-5-1、Function call (函数之间的联系)26 1-5-2、Special functions(特殊函数)271-6 、Variables (变量)27 双精度数字 - 带有浮点双

5、精度数字。27 1-6-1、Local variables(局部变量)28 1-6-2、Formal parameters (正式 参数)281-6-3、Static variables (静态 变量)29 1-6-4、Global variables (全局 变量)29 1-6-5、Defining extern variables (定义 extern 变量)30 1-6-6、Initialization of variables (初始化变量)30 1-6-7、External functions definition(外部函数(功能)定义)301-7 、Preprocessor(预处理

6、)31 1-7-1、Constant declaration (宣告)31 1-7-2、Controlling compilation (控制 编辑)31 1-7-3、Including of files (包括文件)32 1-7-4、Importing of functions(输入功能)332、Standard constants (标准) 34 2-1、Series arrays 34 2-2、Timeframes 34 2-3、Trade operations 35 2-4、Price constants 35 2-5、MarketInfo 35 2-6、Drawing styles

7、36 2-7、Arrow codes 37 2-8、Wingdings 38 2-9、Web colors 38 2-10、Indicator lines 39 2-11、Ichimoku Kinko Hyo 40 2-12、Moving Average methods 40 2-13、MessageBox 40 2-14、Object types 42 2-15、Object properties 43 2-16、Object visibility 44 2-17、Uninitialize reason codes 44 2-18、Special constants 45 2-19、Erro

8、r codes 453、Predefined variables 483-1 、Ask 483-2 、Bars 493-3 、Bid 493-4 、Close 49 3-5、Digits 50 3-6、High 503-7 、Low 513-8 、Open 51 3-9、Point 52 3-10、Time 52 3-11、Volume 534、Program Run 54 4-1、Program Run 54 4-2、Imported functions call 54 4-3、Runtime errors 555、Account information 64 5-1、AccountBala

9、nce 64 5-2、AccountCredit 64 5-3、AccountCompany 64 5-4、AccountCurrency 64 5-5、AccountEquity 65 5-6、AccountFreeMargin 65 5-7、AccountFreeMarginCheck 65 5-8、AccountFreeMarginMode 65 5-9、AccountLeverage 66 5-10、AccountMargin 66 5-11、AccountName 66 5-12、AccountNumber 66 5-13、AccountProfit 66 5-14、AccountS

10、erver 66 5-15、AccountStopoutLevel 67 5-16、AccountStopoutMode 676、Array functions 67 6-1、ArrayBsearch 67 6-2、ArrayCopy 686-3、ArrayCopyRates 68 6-4、ArrayCopySeries 69 6-5、ArrayDimension 70 6-6、ArrayGetAsSeries 70 6-7、ArrayInitialize 71 6-8、ArrayIsSeries 71 6-9、ArrayMaximum 71 6-10、ArrayMinimum 72 6-11

11、、ArrayRange 72 6-12、ArrayResize 72 6-13、ArraySetAsSeries 72 6-14、ArraySize 73 6-15、ArraySort 73 7、Checkup 74 7-1、GetLastError 74 7-2、IsConnected 74 7-3、IsDemo 74 7-4、IsDllsAllowed 75 7-5、IsExpertEnabled 75 7-6、IsLibrariesAllowed 75 7-7、IsOptimization 76 7-8、IsStopped 76 7-9、IsTesting 76 7-10、IsTrade

12、Allowed 76 7-11、IsTradeContextBusy 77 7-12、IsVisualMode 77 7-13、UninitializeReason 778、Client terminal 77 8-1、TerminalCompany 78 8-2、TerminalName 78 8-3、TerminalPath 789、Common functions 789-1、Alert 78 9-2、Comment 79 9-3、GetTickCount 79 9-4、MarketInfo 79 9-5、MessageBox 80 9-6、PlaySound 80 9-7、Print

13、80 9-8、SendFTP 81 9-9、SendMail 81 9-10、Sleep 8110、Conversion functions 82 10-1、CharToStr 82 10-2、DoubleToStr 82 10-3、NormalizeDouble 82 10-4、StrToDouble 83 10-5、StrToInteger 83 10-6、StrToTime 83 10-7、TimeToStr 83 11、Custom indicators 84 11-1、IndicatorBuffers 84 11-2、IndicatorCounted 85 11-3、Indicato

14、rDigits 85 11-4、IndicatorShortName 86 11-5、SetIndexArrow 87 11-6、SetIndexBuffer 87 11-7、SetIndexDrawBegin 88 11-8、SetIndexEmptyValue 88 11-9、SetIndexLabel 89 11-10、SetIndexShift 90 11-11、SetIndexStyle 91 11-12、SetLevelStyle 91 11-13、SetLevelValue 9212、Date & Time functions 92 12-1、Day 92 12-2、DayOfW

15、eek 92 12-3、DayOfYear 92 12-4、Hour 93 12-5、Minute 93 12-6、Month 93 12-7、Seconds 93 12-8、TimeCurrent 93 12-9、TimeDay 94 12-10、TimeDayOfWeek 94 12-11、TimeDayOfYear 94 12-12、TimeHour 94 12-13、TimeLocal 95 12-14、TimeMinute 95 12-15、TimeMonth 95 12-16、TimeSeconds 95 12-17、TimeYear 95 12-18、Year 96 13、File functions 96 13-1、FileClose 96 13-2、FileDelete 96 13-3、FileFlush 97 13-4、FileIsEnding 97 13-5、FileIsLineEnding 98 13-6、FileOpen

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 工作范文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号