雷达预警
2014-11-15 13:09:42点击:
雷达一:(EMA(CLOSE,10)-EMA(CLOSE,20))*0.7,LINETHICK1,colorred;
牛:EMA(雷达一,8),LINETHICK1,coloryellow;
MACD1:=(雷达一-牛),COLORSTICK;
DRAWBAND(雷达一,RGB(250,255,0),牛,RGB(0,0,0));
SHORT:=5;
LONG:=26;
MID:=2;
雷达二:(EMA(CLOSE,SHORT)-EMA(CLOSE,LONG)),LINETHICK1,COLOR0000FF;
雷达三:EMA(雷达二,MID);
DRAWBAND(雷达二,RGB(255,0,0),雷达三,RGB(0,0,255));
MACD:=(雷达二-雷达三)*2,COLORSTICK;
向下:=IF(雷达二<REF(雷达二,1),雷达二,DRAWNULL),colorgreen,LINETHICK2;
DRAWICON(CROSS(雷达二,雷达三) AND 雷达二>REF(雷达二,1) AND 雷达三<0,雷达二,1);
分界:0;