以下是同花顺GBS黑马源码
看看你的股票是黑马吗?GBS绝版!1111111111111
V1:EMA(CLOSE,120),colorred,LINETHICK4;
V2:EMA(EMA(CLOSE,510)*1.00035,5),LINETHICK5,colorblue;
DRAWICON(CROSS(V1,V2),V2,1);
X:=(CROSS(V1,V2));
DRAWTEXT(CROSS(V1,V2),V1-3,’黑马<85>’),colorred;
BBI:(MA(CLOSE,205)+MA(CLOSE,235)+MA(CLOSE,265)+MA(CLOSE,295))/4,colorgreen,LINETHICK3;
QY1:=100-3*SMA((CLOSE-LLV(LOW,150))/(HHV(HIGH,180)-LLV(LOW,150))*100,60,1)+2*SMA(SMA((CLOSE-LLV(LOW,150))/(HHV(HIGH,180)-LLV(LOW,150))*100,42,1),60,1);
QY2:=100-3*SMA((OPEN-LLV(LOW,150))/(HHV(HIGH,180)-LLV(LOW,150))*100,60,1)+2*SMA(SMA
((OPEN-LLV(LOW,150))/(HHV(HIGH,180)-LLV(LOW,180))*100,42,1),60,1);
QY3:=QY1<REF(QY2,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3));
VARD:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)>=REF(ZIG(3,5),3));
STICKLINE((VARC=1) AND V1>BBI,V1,V2,6,0),coloryellow;
DRAWTEXT((VARC=1) AND V1>BBI,BBI,’必买’),colorred;
STICKLINE((VARD=1) AND V1<BBI,V2,V1,6,0),colorwhite;
DRAWTEXT((VARD=1) AND V1<BBI,V1,’必卖’),colorgreen;
V高宝生:=MA(CLOSE,30);
底: V高宝生-2*STD(CLOSE,60),colorcyan,LINETHICK1;
平: MA(CLOSE,60),coloryellow,LINETHICK1;
天: V高宝生+2*STD(CLOSE,60),colorwhite,LINETHICK2;
DRAWTEXT(CROSS(ZIG(3,5),REF(ZIG(3,5),1)) AND 天>BBI AND 底<V1,LOW*0.9985,’买’),COLOR00FFFF;
DRAWTEXT(CROSS(平,V1) AND V2<V1 AND V1>BBI,底,’牛牛牛’),colorred;
DRAWTEXT(CROSS(平,V1) AND V2>V1 AND V1>BBI,底,’涨涨涨’),colorred;
DRAWTEXT(CROSS(平,V1) AND V1<BBI AND BBI<V1 AND 底>V2,底,’建仓’),colorred;
DRAWTEXT(CROSS(V1,平) AND V2<BBI AND V1<V2,天,’跑跑跑’),colorgreen;
DRAWTEXT(CROSS(BBI,底) AND V1>BBI AND 平<V1,天,’逃命’),colorgreen;
DRAWTEXT(CROSS(天,V2) AND V2>BBI,V2,’正反转‘),colorred;
DRAWTEXT(CROSS(V2,天) AND V2>BBI AND 平<V1,V2,’付反转’),colorgreen;
DRAWTEXT(CROSS(V2,天) AND 平>V1,V2,’小心小心’),colorgreen;
DRAWTEXT(CROSS(平,V2) AND 天>V2 AND V1>BBI AND V1<V2,天,’左侧不见蓝绿牛’),colorred;
DRAWTEXT(CROSS(V2,天) AND V2<BBI,V2,’小心小心’),colorcyan;
DRAWTEXT(CROSS(V1,BBI) AND 平>V1 AND 天>V1,V1-3,’金叉低买’),colormagenta;
DRAWTEXT(CROSS(BBI,V1) AND 平<V1 AND 天<V1,V1+1,’死叉不买’),coloryellow;
DRAWTEXT(CROSS(BBI,V2) AND V1>V2 AND 平>V1,V2,’放心持有’),colorred;
DRAWTEXT(CROSS(V2,V1) AND BBI<V2+2,V2,’黑马跑了’),colorwhite;
DRAWTEXT(CROSS(V2,底) AND V1>V2 AND 天<BBI,V2-5,’别抱幻想跑’),colorgreen;
DRAWTEXT(CROSS(V1,BBI) AND BBI>V2 AND 平>V1,V1-6,’绝对放心’),colorred;
DRAWTEXT(CROSS(天,V1) AND BBI>V1 AND V2>BBI,天+2,’建仓建仓’),colormagenta;
DRAWTEXT(CROSS(BBI,天) AND BBI>V1 AND V2>BBI,天-2,’警惕警惕’),colorblue;
评论(0)