有哪位高手帮忙在这个EA里面添加追踪止盈的程序,我弄了好久都没有弄好,我把源码发出来,请高手帮忙看看怎么添加进去,十分感谢!
extern double 手数=0.1;
extern int 止损点数=20;
extern int 止盈点数=150;
extern int 图=5;
int 周期数=0;
double CrossUp[];
double CrossDown[];
extern int FasterEMA = 5;
extern int SlowerEMA = 85;
double alert;
extern int magic=1567;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start() {
int num1=0;int num2=0;int lasttime;int num3=0;int num4=0;
for(int a213=0;a213