文档介绍:MQL4 Reference(MQL4 参考) 12 1、Basics(基本原则) 12
、Syntax(语法) 12
、Comments(注释) 13
、Identifiers (标示符) 13 1-1-3、Reserved words(保留字) 13
、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 number constants (double) (浮点number) 15 1-2-6、String constants(排成) 16 1-2-7、Color constants (颜色) 16 1-2-8、Datetime constants(注明日期) 16
、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 (关系操作符) 18 1-3-5、Boolean operations (布尔操作符) 18 1-3-6、Bitwise operations () 19 1-3-7、Other operations (其他操作) 19 1-3-8、Precedence rules(优先规则) 20
、Operators (操作员) 21 1-4-pound operator(复合操作) 21 1-4-2、Expression operator (表达式操作) 21 1-4-3、Break operator (打破操作) 22 1-4-4、Continue operator (继续操作) 22 1-4-5、Return 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(周期操作对于) 25
、Functions (函数) 25 1-5-1、Function call (函数之间的联系) 26 1-5-2、Special functions(特殊函数) 27
、Variables (变量) 27 双精度数字- 带有浮点双精度数字。 27 1-6-1、Local variables(局部变量) 28 1-6-2、Formal parameters (正式参数) 28
1-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(外部函数(功能)定义) 30
、Preprocessor(预处理) 31 1-7-1、Constant declaration (宣告) 31 1-7-2、pilation (控制编辑) 31 1-7-3、Including of files (包括文件) 32 1-7-4、Importing of functions(输入功能) 33
2、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 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 properti