自己用模板编了个QQE的EA,请高手看看
//+------------------------------------------------------------------+//| QQE Sample.mq4 |
//| Copyright ?2005, MetaQuotes Software Corp. |
//| http://www.metaquotes.net/ |
//+------------------------------------------------------------------+
extern double StopLoss = 100;
extern double TakeProfit = 100;
extern double Lots = 0.1;
extern double TrailingStop = 0;
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
int start()
{
double QQECurrent, QQEPrevious;
int cnt, ticket, total;
// initial data checks
// it is important to make sure that the expert works with a normal
// chart and the user did not make any mistakes setting external
// variables (Lots, StopLoss, TakeProfit,
// TrailingStop) in our case, we check TakeProfit
// on a chart of less than 100 bars
if(Bars(Ask+Point*TrailingStop)) || (OrderStopLoss()==0))
{
OrderModify(OrderTicket(),OrderOpenPrice(),Ask+Point*TrailingStop,OrderTakeProfit(),0,Red);
return(0);
}
}
}
}
}
}
return(0);
}
// the end. ding 支持 我感觉雷雨趋势不错,挺好的ea! 做一个,做好了,请看 呵呵 那就好好玩吧~~~~ 不会用…………………… 顶一下…………………… 多谢分享 看看是什么 看看什么EA,,,