GBS黑马
2014-11-16 22:04:59点击:
V1:EMA(CLOSE,27),colorred;
V2:EMA(EMA(CLOSE,150)*1.0026,10),LINETHICK2,coloryellow;
DRAWICON(CROSS(V1,V2),V2,1);
X:=(CROSS(V1,V2));
DRAWTEXT(CROSS(V1,V2),V1+0.5,'黑马'),colorred;
BBI:(MA(CLOSE,15)+MA(CLOSE,50)+MA(CLOSE,60)+MA(CLOSE,120))/4,colorwhite;
VAR1:=IF(DATE<1500830 AND DATE>900101,1,0);VAR2:=LLV(LOW,10);
AK1:=EMA((((CLOSE - VAR1) / (VAR2
- VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) *
50),13);AB:=CROSS(AK1,AK);
QY1:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
QY2:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
QY3:=QY1<REF(QY2,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(QY3 AND COUNT(QY3,30)=1 AND V1>BBI AND V1<V2,L+9,'抄底'),colormagenta;
DRAWTEXT(CROSS(V1,BBI) AND V1<V2,V1+0.5,'关注'),colorred;
DRAWTEXT(CROSS(BBI,V1),V1+0.5,'警惕'),colorgreen;
DRAWTEXT(CROSS(BBI,V2),V2,'放心持有'),colorred;
DRAWTEXT(CROSS(V2,V1),V2,'平仓'),colorblue;
DRAWTEXT(QY3 AND COUNT(QY3,30)=1 AND V1>BBI AND V1>V2,L+9,'放心抄底'),colorred;
DRAWTEXT(CROSS(V1,BBI) AND V1>V2,V1+0.5,'闭着眼睛买'),colorred;