【第五课】: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了 |