您需要 登录 才可以下载或查看,没有帐号?注册
div >
//| Changkangwei |
//+------------------------------------------------------------------+
#property copyright changkangwei
#property link
#define MAGICMA 20090101
extern double Lots=0.1;
extern double Slip=5;
extern double TP=100;
extern double SL=40;
int start()
{
double MA1,MA2,MA3,MA4;
MA1 = iMA(NULL,0,144,0,MODE_SMA,PRICE_CLOSE,1); MA2 = iMA(NULL,0,169,0,MODE_SMA,PRICE_CLOSE,1);
MA3 = iMA(NULL,0,144,0,MODE_SMA,PRICE_CLOSE,2); MA4 = iMA(NULL,0,169,0,MODE_SMA,PRICE_CLOSE,2);
if( MA1 MA2 MA30)
{
if(OrderSelect(TicketA,SELECT_BY_TICKET,MODE_TRADES))
Print( Buy: ,OrderOpenPrice());
return;
}
}
//+第一次锁仓+
for(cnt=0;cnt
外汇交易有很大的风险性,本站所有资源均来自网络,请选择使用,如若出现亏损,本站不承担任何责任!