月50倍系统
http://www.21/thread-16888-1-1.html..这里看见的..复制过来总是有乱码,不得已把网站复制过来了..那位高手会编啊..这是指标还是什么啊
发表于:2007-01-09 15:28只看该作者
2楼
这么厉害啊,你贴的网址打不开
3楼
//+------------------------------------------------------------------+
//| MACD Sample.mq4 |
//| Copyright ?2005, MetaQuotes Software Corp. |
//| http://www.metaquotes.net/
extern double LONG= 50;
extern double SHORT=26;
extern double MID=9;
extern double TrailingStop = 1;
extern double StopLoss = 50;
extern double SH=1;
int start()
{
double MacdCurrent, MacdPrevious, SignalCurrent;
double SignalPrevious, Lots;
int cnt, ticket, total;
MacdCurrent=iMACD(NULL,0,SHORT,LONG,MID,PRICE_CLOSE,MODE_MAIN,0);
MacdPrevious=iMACD(NULL,0,SHORT,LONG,MID,PRICE_CLOSE,MODE_MAIN,SH);
SignalCurrent=iMACD(NULL,0,SHORT,LONG,MID,PRICE_CLOSE,MODE_SIGNAL,0);
SignalPrevious=iMACD(NULL,0,SHORT,LONG,MID,PRICE_CLOSE,MODE_SIGNAL,SH);
//Lots=NormalizeDouble(AccountFreeMargin()/3000.0,0);
Lots=0.1;
total=OrdersTotal();
if(total<1)
{
if(MacdCurrent>SignalCurrent && MacdPrevious0)
{
if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES)) Print("BUY order opened : ",OrderOpenPrice());
}
else Print("Error opening BUY order : ",GetLastError());
return(0);
}
if( MacdCurrentSignalPrevious )
{
ticket=OrderSend(Symbol(),OP_SELL,Lots,Bid,3,Bid+StopLoss*Point,0,"macd EA",16384,0,Green);
if(ticket>0)
{
if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES)) Print("SELL order opened : ",OrderOpenPrice());
}
else Print("Error opening SELL order : ",GetLastError());
return(0);
}
return(0);
}
for(cnt=0;cnt
http://www.talkforex.com/blog/?23518
4楼
kan 看不明白
http://www.talkforex.com/blog/?23518
发表于:2007-01-11 07:25只看该作者
5楼
代码不全!:L
发表于:2007-01-11 23:40只看该作者
7楼
原帖由 风精灵 于 2007-1-9 23:28 发表 你贴的网址打不开
.. 21是这个论坛的屏蔽代码之一:lol ;P
南无阿弥陀佛 南无观世音菩萨
发表于:2007-10-05 14:10只看该作者
8楼
真希望有人能编圆满了。。。。
韬客社区www.talkfx.co
发表于:2007-10-06 11:26只看该作者
9楼
月50倍 我算算算不出来
韬客社区www.talkfx.co
发表于:2007-10-07 08:30只看该作者
10楼
韬客社区www.talkfx.co