以下是大智慧敢死预警副图指标

大智慧敢死预警副图指标

源码

DRAWGBKLAST(v>1,STRIP(RGB(0,0,0),RGB(90,90,90),0));

r1:=150*WINNER(CLOSE*0.95);
Var3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
Var4:=(CLOSE-LLV(CLOSE,126))/(HHV(CLOSE,126)-LLV(CLOSE,126))*100;
Var5:=EMA(CLOSE,2)-EMA(CLOSE,120);
Var6:=EMA(Var5,68);
Var7:=(Var5+Var6);
敢死:POW(Var7,3)*0.1+POW(Var7,1),linethick0 ;
核心:MA(敢死,30),colorred,linethick0 ;
涨停:=DYNAINFO(31)+DYNAINFO(32)+DYNAINFO(33)=0 AND DYNAINFO(25)>0;
警:涨停*核心/5;
Y:MA(警,6),linethick2;
PARTLINE(Y,Y<REF(Y,1),RGB(0,0,255),Y>REF(Y,1),RGB(255,0,0)),linethick2;
Y1:警-Y;
IF BARSTATUS=2 and (Y1) THEN BEGIN DRAWTEXTREL(0,0,’预警:’+NUMTOSTRN(Y1,2)),LINETHICK6,COLORccffcc;end;
PARTLINE(警,警<REF(警,1),RGB(0,0,255),警>REF(警,1),RGB(255,0,0)),linethick2;
STICKLINE(CROSS(ma(警,1),ma(警,2)),ma(警,1)-0.5,ma(警,2)+0.5,10,0), colorwhite,linethick2;
g:=c>=INTPART(REF(c ,1 )*1.08*100+0.5)/100 or ((STRCMP(STRLEFT(STKNAME,2),’ST’)=0 or STRCMP( STRLEFT(STKNAME,3),’*ST’)=0) and c>=INTPART(REF(c ,1 )*1.05*100+0.5)/100);
g1:=g*核心/5;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=(SMA(RSV,3,1));
D:=(SMA(K,3,1));
KK:=INTPART(SMA(RSV,3,1));
DD:=INTPART(SMA(K,3,1));
N:KK+DD,COLORff00ff,LINETHICK0;
涨停信号:(10000*(C-REF(C,1))/REF(C,1)>995)*g1;
促击:filter(backset(涨停信号,2),2)*g1,colorgreen;
预涨停:IF(CROSS(N,100),警,0),coloryellow;
DRAWTEXT((CROSS(预涨停,0)),预涨停+0.2,’预’),ALIGN1,colorcyan,LINETHICK2;
DRAWTEXT((CROSS(促击,0)),促击+0.8,’停’),ALIGN1,colorcyan,LINETHICK3;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。