查看完整版本: MT4编成学习(请英文高手翻译)

xfxyldj 2007-9-15 13:57

MT4编成学习(请英文高手翻译)

本人英语巨烂。请各位高手帮忙翻译下。
MetaQuotes Language 4 (MQL4) is a new built-in language for programming of trading strategies. This language allows to create your own Expert Advisors that make trading management automated and are perfectly suitable for implementing of one's own trade strategies. Besides, one can use MQL4 for creation of one's own Custom Indicators, Scripts, and Libraries.

A large amount of functions necessary for analysis of the current and previously income quotes, as well as basic arithmetic and logic operations are included in MQL4 structure. There are also basic indicators built in and commands of order placement and control.

The MetaEditor 4 (text editor) that highlights different constructions of MQL4 language is used for writing the program code. It helps users to orientate themselves in the expert system text quite easily. We use MetaQuotes Language Dictionary as a Help System for MQL4 language. An abridged guide contains functions divided into categories, operations, reserved words, and other language constructions and allows finding the description of every element we use.

Programs written in MetaQuotes Language 4 have different features and purposes:

Expert Advisor is a mechanical trading system (MTS) linked up to a certain chart. An Advisor starts to run with every incoming tick for a given symbol. The Advisor will not be launched for a new, tick if it is processing the previous one at this moment (i.e., the Advisor has not completed its operation yet). The Advisor can both inform you about a possibility to trade and trade at an account automatically sending orders directly to the trade server. Like most trading systems, the terminal supports testing strategies on history data with displaying trading in-and-out points in the chart.
Experts are stored in terminal_directory\experts.

Custom Indicator is a technical indicator written independently in addition to those already integrated into the client terminal. Like built-in indicators, they cannot trade automatically and are intended for implementing of analytical functions only.
Custom Indicators are stored in terminal_directory\experts\indicators.

Script is a program intended for a single execution of some actions. Unlike Expert Advisors, Scripts are not run tickwise, but on request.
Scripts are stored in terminal_dictionary\experts\scripts.

Library is a set of custom functions containing programs most frequently used. Libraries cannot start execution by itself.
Libraries are recommended to be stored in terminal_directory\experts\libraries.

Included file is a source text of the most frequently used blocks of custom programs. Such files can be included into the source texts of experts, scripts, custom indicators, and libraries at the compiling stage. The use of included files is more preferable than the use of libraries because of additional burden occurring at calling library functions.
Included files are recommended to be stored in terminal_directory\experts\include

forexii 2007-10-1 14:36

[quote]MetaQuotes Language 4 (MQL4) is a new built-in language for programming of trading strategies. This language allows to create your own Expert Advisors that make trading management automated and are perfectly suitable for implementing of one's own trade strategies. Besides, one can use MQL4 for creation of one's own Custom Indicators, Scripts, and Libraries.[/quote]
[color=Blue]MetaQuotes语言第四版(MQL4)是一种内置式的交易策略程式语言。使用这种语言我们能够创建自动交易系统(EA),他能够自动进行交易管理,致使我们的交易策略能够完美并且恰当的实现。此外您还可以适用MQL4创建自己的指标、脚本、和资料库。[/color]
[color=Red][size=7]全文翻译完毕,已经整合为一片完整的文章。详见14楼[/size][/color]

[[i] 本帖最后由 forexii 于 2007-10-3 13:09 编辑 [/i]]

forexii 2007-10-2 08:24

[quote]A large amount of functions necessary for analysis of the current and previously income quotes, as well as basic arithmetic and logic operations are included in MQL4 structure. There are also basic indicators built in and commands of order placement and control.[/quote]

[color=Blue]在MQL4系统结构中,包含有大量用于分析当前与过去收入报价和进行基本的算术、逻辑运算的函数。系统中还包含了基本的内建指示器(指标)和用来购置以及控制定单的命令。[/color]

[[i] 本帖最后由 forexii 于 2007-10-2 14:07 编辑 [/i]]

xfxyldj 2007-10-2 11:58

回复 3楼 的帖子

我想订单好些。
头寸的意思是舱位的大小。
这里的意思应该是对订单的一些修改。例如移动止赢止损、取消关闭订单等操作。

xfxyldj 2007-10-2 12:02

非常感谢您的翻译。
我用金山看着那叫一个累啊。

forexii 2007-10-2 13:36

[quote]The MetaEditor 4 (text editor) that highlights different constructions of MQL4 language is used for writing the program code. It helps users to orientate themselves in the expert system text quite easily. We use MetaQuotes Language Dictionary as a Help System for MQL4 language. An abridged guide contains functions divided into categories, operations, reserved words, and other language constructions and allows finding the description of every element we use.[/quote]
[color=Blue]用来编写程序代码的MeterEditor 4(文本编辑器)能够以高亮的方式显示不同的语法结构,它帮助用户轻松的适应这种专业、系统的文本。另外我们可以把MetaQuotes语言字典用作MQL4语言的帮助系统。附有一份简要指南,指南中包括一系列函数。这些函数可以分为以下几类:操作、保留字、和其它语言结构,以便查找我们所使用的要素之相关描述。[/color]

[[i] 本帖最后由 forexii 于 2007-10-2 14:11 编辑 [/i]]

forexii 2007-10-3 07:48

[quote]Programs written in MetaQuotes Language 4 have different features and purposes:

Expert Advisor is a mechanical trading system (MTS) linked up to a certain chart. An Advisor starts to run with every incoming tick for a given symbol. The Advisor will not be launched for a new, tick if it is processing the previous one at this moment (i.e., the Advisor has not completed its operation yet). The Advisor can both inform you about a possibility to trade and trade at an account automatically sending orders directly to the trade server. Like most trading systems, the terminal supports testing strategies on history data with displaying trading in-and-out points in the chart.
Experts are stored in terminal_directory\experts.[/quote]

[color=Blue]用MQL4编写的程序有4种不同的特征和用途:

专家顾问是一个关联到某个图标的机械式交易系统(MTS),一旦某个在某个时间点上图表中出现交易信号专家顾问就会启动,但是如果在某刻它正在处理前一项交易(比如当前的操作没有完成)EA不会执行新的信号。当EA启动的时候它会自动地以您帐户的名义向服务器发送命令与此同时EA会通知您交易的可行性。与大多数交易系统相同,终端支持专家系统策略测试,测试建立在历史数据的基础上,它在图表中显示入点和出点。
EA存储在[安装目录\experts]文件夹下。[/color]

forexii 2007-10-3 11:11

[quote]Custom Indicator is a technical indicator written independently in addition to those already integrated into the client terminal. Like built-in indicators, they cannot trade automatically and are intended for implementing of analytical functions only.
Custom Indicators are stored in terminal_directory\experts\indicators.[/quote]
[color=Blue]自定义指示器是除已整合在客户终端外的,单独编写的专门指示器。与内建指示器类似,自定义指示器也不能进行自动交易,而只能用来实现一组解析函数。
自定义指示器存储在[安装目录\experts\indicators]目录下。[/color]

[[i] 本帖最后由 forexii 于 2007-10-3 11:13 编辑 [/i]]

rsdy18418081 2007-10-3 11:27

:yct06 :yct06 :yct06 :yct06 :yct06 :yct06
谢谢!!辛苦了!!

rsdy18418081 2007-10-3 11:27

:yct06 :yct06 :yct06 :yct06 E文太厉害了!!

forexii 2007-10-3 12:55

[quote]Script is a program intended for a single execution of some actions. Unlike Expert Advisors, Scripts are not run tickwise, but on request.
Scripts are stored in terminal_dictionary\experts\scripts.[/quote]
[color=Blue]脚本是用来单独执行一些动作的程序,与EA不同,脚本不是以tickwise(按即时行情智能化)的方式运行,而是根据用户的要求。
脚本存储在[安装目录\experts\scripts]文件夹下。

[[i] 本帖最后由 forexii 于 2007-10-3 13:03 编辑 [/i]]

forexii 2007-10-3 12:56

[quote]Library is a set of custom functions containing programs most frequently used. Libraries cannot start execution by itself.
Libraries are recommended to be stored in terminal_directory\experts\libraries.[/quote]
[color=Blue]库是一套包含常用程式的自定义函数集合。库不能单独运行(必须由EA、指标和脚本调用)。
系统建议将库文件存储在[安装目录\txperts\libraries]文件夹下。[/color]

forexii 2007-10-3 12:56

[quote]Included file is a source text of the most frequently used blocks of custom programs. Such files can be included into the source texts of experts, scripts, custom indicators, and libraries at the compiling stage. The use of included files is more preferable than the use of libraries because of additional burden occurring at calling library functions.
Included files are recommended to be stored in terminal_directory\experts\include[/quote]
[color=Blue][/color]include(包含)文件是一些自定程序中常用语句块的源文本,在编译阶段这些文件可以被包含入EA、脚本、自定指标和库等程序的源文件中。与调用库函数相比,使用include文件根有优势,因为它们不会增加系统负担。
系统建议将Include文件存储在[安装目录\experts\include]文件夹下。

forexii 2007-10-3 13:05

[color=navy][font=宋体]MetaQuotes[font=宋体]语言第四版[/font](MQL4)[font=宋体]是一种内置式的交易策略程式语言。使用这种语言我们能够创建自动交易系统([/font]EA[font=宋体]),他能够自动进行交易管理,致使我们的交易策略能够完美并且恰当的实现。此外您还可以适用[/font]MQL4[font=宋体]创建自己的指标、脚本、和资料库。[/font][/font][/color]
[font=宋体][color=navy] [/color][/font]
[color=navy][font=宋体]在[/font][font=宋体]MQL4[font=宋体]系统结构中,包含有大量用于分析当前与过去收入报价和进行基本的算术、逻辑运算的函数。系统中还包含了基本的内建指示器(指标)和用来购置以及控制定单的命令。[/font][/font][/color]
[font=宋体][color=navy] [/color][/font]
[color=navy][font=宋体]用来编写程序代码的[/font][font=宋体]MeterEditor 4[font=宋体](文本编辑器)能够以高亮的方式显示不同的语法结构,它帮助用户轻松的适应这种专业、系统的文本。另外我们可以把[/font]MetaQuotes[font=宋体]语言字典用作[/font]MQL4[font=宋体]语言的帮助系统。附有一份简要指南,指南中包括一系列函数。这些函数可以分为以下几类:操作、保留字、和其它语言结构,以便查找我们所使用的要素之相关描述。[/font][/font][/color]
[font=宋体][color=navy] [/color][/font]
[color=navy][font=宋体]用[/font][font=宋体]MQL4[font=宋体]编写的程序有[/font]4[font=宋体]种不同的特征和用途:[/font][/font][/color]
[font=宋体][color=navy] [/color][/font]
[color=navy][font=宋体]专家顾问是一个关联到某个图标的机械式交易系统([/font][font=宋体]MTS[font=宋体]),一旦某个在某个时间点上图表中出现交易信号专家顾问就会启动,但是如果在某刻它正在处理前一项交易(比如当前的操作没有完成)[/font]EA[font=宋体]不会执行新的信号。当[/font]EA[font=宋体]启动的时候它会自动地以您帐户的名义向服务器发送命令与此同时[/font]EA[font=宋体]会通知您交易的可行性。与大多数交易系统相同,终端支持专家系统策略测试,测试建立在历史数据的基础上,它在图表中显示入点和出点。[/font][/font][/color]
[color=navy][font=宋体]EA[font=宋体]存储在[/font][[font=宋体]安装目录[/font]\experts][font=宋体]文件夹下。[/font][/font][/color]
[font=宋体][color=navy] [/color][/font]
[color=navy][font=宋体]自定义指示器是除已整合在客户终端外的,单独编写的专门指示器。与内建指示器类似,自定义指示器也不能进行自动交易,而只能用来实现一组解析函数。[/font][/color]
[color=navy][font=宋体]自定义指示器存储在[/font][font=宋体][[font=宋体]安装目录[/font]\experts\indicators][font=宋体]目录下。[/font][/font][/color]
[font=宋体][color=navy] [/color][/font]
[color=navy][font=宋体]脚本是用来单独执行一些动作的程序,与[/font][font=宋体]EA[font=宋体]不同,脚本不是以[/font]tickwise[font=宋体](按即时行情智能化)的方式运行,而是根据用户的要求。[/font][/font][/color]
[color=navy][font=宋体]脚本存储在[/font][font=宋体][[font=宋体]安装目录[/font]\experts\scripts][font=宋体]文件夹下。[/font][/font][/color]
[font=宋体][color=navy] [/color][/font]
[color=navy][font=宋体]库是一套包含常用程式的自定义函数集合。库不能单独运行(必须由[/font][font=宋体]EA[font=宋体]、指标和脚本调用)。[/font][/font][/color]
[color=navy][font=宋体]系统建议将库文件存储在[/font][font=宋体][[font=宋体]安装目录[/font]\txperts\libraries][font=宋体]文件夹下。[/font][/font][/color]
[font=宋体][color=navy] [/color][/font]
[color=navy][font=宋体]include[font=宋体](包含)文件是一些自定程序中常用语句块的源文本,在编译阶段这些文件可以被包含入[/font]EA[font=宋体]、脚本、自定指标和库等程序的源文件中。与调用库函数相比,使用[/font]include[font=宋体]文件根有优势,因为它们不会增加系统负担。[/font][/font][/color]
[color=navy][font=宋体]系统建议将[/font][font=宋体]Include[font=宋体]文件存储在[/font][[font=宋体]安装目录[/font]\experts\include][font=宋体]文件夹下。[/font][/font][/color]

xfxyldj 2007-10-3 15:37

回复 14楼 的帖子

太好了。
十分感谢。
论坛邀请你做版顾太明智了。
期待经常在论坛里看到你的发言。
页: [1]
查看完整版本: MT4编成学习(请英文高手翻译)