有关ECN平台不能开单时直接设止损止盈的问题--引用牛版的EA
牛版的EA :http://bbs.520fx.com/viewthread.php?tid=165&highlight=chimoku 此EA在ECN平台不能运行,是因为此类平台不能开单进直接设止损止盈,我改了下,能开单,第一单可以高止损止盈,第二单就不行了,请高手帮助看下。下划线是我改动为0;红色是我加的(就是选择定单,加止损止盈,)哪里出错了???谢谢//+------------------------------------------------------------------+
//| Copyright 2005,bobammax |
//| |
//+------------------------------------------------------------------+
#property copyright \"Copyright 2005, bobammax aka foreverold\"
#property link \"\"
#define MAGIC 85718
extern double lStopLoss = 370;
extern double sStopLoss = 350;
extern double lTakeProfit = 800;
extern double sTakeProfit = 750;
extern double lTrailingStop = 200;
extern double sTrailingStop = 200;
extern color clOpenBuy = Blue;
extern color clCloseBuy = Aqua;
extern color clOpenSell = Red;
extern color clCloseSell = Violet;
extern color clModiBuy = Blue;
extern color clModiSell = Red;
extern string Name_Expert = \"Ichimoku\";
extern int Slippage = 4;
extern bool UseSound = True;
extern string NameFileSound = \"alert.wav\";
extern double Lots = 1.00;
void deinit() {
Comment(\"\");
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
int start(){
if(Bars 应该加分 太棒了! 回帖是种美德. 不看白不看,看也不白看 你好!我想编写一平仓条件,可一直不成功。当下单成功后赢利超过7点之后赢利又小于6点平仓。就这个平仓条件能辛苦帮我写一下吗?这样能保住赢利不会变亏损。先行谢谢了!!!~~~ EA见识的多了,没见过能有一个稳定盈利的 感谢分享 想学EA,拜师,谁收了我吧 回复看看