【第五课】:EA模式结构
打开你的metaeditor copy & press 下面的ea结构 然后save 一个名字 比如:my1ea001 //+------------------------------------------------------------------+ //| my1ea001.mq4 | //| Copyright ?2009, metaQuotes Software Corp. | //| http://www.metaquotes.net | //+------------------------------------------------------------------+ #property copyright "Copyright ?2009, metaQuotes Software Corp." #property link "http://www.metaquotes.net" //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ int init() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| expert deinitialization function | //+------------------------------------------------------------------+ int deinit() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| expert start function | //+------------------------------------------------------------------+ int start() { //---- //---- return(0); } //+------------------------------------------------------------------+ 这个是个《空》的ea 所以应该是:0错误 0警告 再save as 另外一个名字 比如:my1ea002 我们就可以开始编写ea了 |
打赏
最新创建圈子
- 新闻EA运行效果图圈 2019-05-05
圈主:admin 帖子:1