发表于:2005-08-11 10:15只看该作者
2楼 
韬客社区www.talkfx.co
3楼 
//+------------------------------------------------------------------+
//|                                                         test.mq4 |
//|                       Copyright ?2005, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright ?2005, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"
//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()
  {
//---- TODO: Add your code here.
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//---- TODO: Add your code here.
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
//---- TODO: Add your code here.
   double                                 // type
   linfunc (double x, double a, double b) // function name and
                                          // parameters list
     {                                    // nested operators
      return (x+b)                   // returned value
     }
   
//----
   return(0)
  }
//+------------------------------------------------------------------+
韬客社区www.talkfx.co
发表于:2005-08-11 10:28只看该作者
4楼 
要放到整个程序的最后才行啊
韬客社区www.talkfx.co
5楼 
韬客社区www.talkfx.co











