//+------------------------------------------------------------------+
//| MaCross.mq4 |
//| Copyright ?2007, 520FX Corp. |
//+------------------------------------------------------------------+
#property copyright \"Copyright ?2007, 520FX Corp.\"
#property link \"
#define Magic 12345
extern int Ma1=10;
extern int Ma2=30;
extern int Slip=3;
int HoldingOrderType;
int Ser;
int start()
{
//----
int Cnt=GetHoldingOrderCnt();
if (Cnt