EA编程:如何设置EA属性
在EA编程中,设置EA属性是非常基础的一个功能,这里带大家编写了第一个可以下单的EA,虽然比较简单,但是你应该充分了解了下单函数的功能。今天我们来学习EA的属性部分。
将鼠标光标放到property中间,然后按键盘功能键F1。(property英文是属性的意思。)
这是MQL4参考,关于MQL4语言所有的知识最权威的文档就是这个,我们使用MQL4语言编写程序的时候,可以经常翻阅研究这个帮助手册。以上图片显示的就是关于程序属性的全部内容,我们挑出几个常用的属性来讲解下用途。
我们按照向导创建EA程序的时候,系统会自带几个属性:
下面看下我的【漆天编程】本地跟单系统的EA属性部分源码
description为EA的描述性文字
icon为程序指定一个个性化图标,编译的时候如果文件不存在,会报错。上面代码的效果图如下:
Statement:
The content of this article does not represent the views of fxgecko website. The content is for reference only and does not constitute investment suggestions. Investment is risky, so you should be careful in your choice! If it involves content, copyright and other issues, please contact us and we will make adjustments at the first time!
Alphabet, Coca-Cola, UPS Earnings: 3 Things to Watch By
Microsoft powers up search for Chinese gaming hits in race against Sony By Reuters
Read more
