下载MetaTrader 5
要添加评论,请登录注册
追踪您个人资料中所有的付费信息。非常简单!
Rich Lin
10
Rich Lin 2014.12.19 03:26 
extern double Lots = 1.00;
extern int Periodma = 36 ;
extern int trailing = 100;
extern int StopLoss = 400;
extern int TrailingStop = 500;
extern int Dev = 2;
extern int Tick = 0;
double profit = 0;
extern int Periodma1 = 124 ;
int bars;

/////--------------------------------------------------------
//------------計算新K棒-------------------------------------------------
int Init()
  {
//---
   bars = Bars;
//---
   return(INIT_SUCCEEDED);
  }
void OnTick()
  {
  int    cnt,ticket,total;
   if(Bars<100)
     {
      Print("bars less than 100");
      return;
     }
/
要添加评论,请登录注册