黄金EA的魅力
int fastMA_handle = iMA(NULL,0,FastMA_Period,0,MODE_SMA,PRICE_CLOSE);
int slowMA_handle = iMA(NULL,0,SlowMA_Period,0,MODE_SMA,PRICE_CLOSE);
int fastMA = iMAOnArray(NULL,0,FastMA_Period,0,MODE_SMA,PRICE_CLOSE,0);
int slowMA = iMAOnArray(NULL,0,SlowMA_Period,0,MODE_SMA,PRICE_CLOSE,0);
if(fastMA > slowMA) |