上分界:=EMA(COST(98),10){,PRECISION2,LINEDOT},COLORGREEN,DOTLINE;
下分界:=EMA(COST(85),10){,PRECISION2,LINEDOT},COLORRED,DOTLINE;
调整分界:=上分界;{九毛八公式指标网www.9m8.cn}
DRAWBAND(下分界,RGB(80,00,20),调整分界,RGB(0,0,220));
VAR1:=HHV(HHV(LOW,14),240);
VAR2:=CLOSE*VOL;
VAR3:=EMA((EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,6)/EMA(VOL,6)+EMA(VAR2,12)/EMA(VOL,12)+EMA(VAR2,24)/EMA(VOL,24))/4,13);
VAR4:=EMA(CLOSE,9);
VAR5:=1.06*VAR3,LINETHICK1,COLORWHITE;
VAR6:=DMA((H + L + C * 2) / 4,0.9);
VAR7:=EMA(VAR6,5),LINETHICK1;
DRAWBAND(VAR5,RGB(80,80,80),VAR7,RGB(255,20,147));
UPSD:=调整分界 REF(调整分界,1) AND 下分界 REF(下分界,1);
TJRED:IF(UPSD,调整分界,下分界);
DRAWBAND(TJRED,RGB(180,180,0),下分界,RGB(220,220,0));
下分界,COLORBLACK,LINETHICK1;
LT:=LLVBARS(L,60);
LTT:=BARSLAST(CURRBARSCOUNT=CONST(LT)+1);
HT:=FINDHIGHBARS(H,LT+1,60,1);
牛线:DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORGRAY,DOTLINE;
压力:=REF(HHV(HIGH,60),BARSLASTCOUNT(CLOSE REF(CLOSE,3))),COLORMAGENTA,LINETHICK1;
顶线:CONST(HHV(L,177)),COLORGRAY,DOTLINE;
VAR31:=HHV(HHV(LOW,14),240);
龙骨线:EMA(EMA(VAR31,14)+2*STD(VAR31,14),8),COLORGREEN,LINETHICK2;
Z:=EMA(EMA(C,1),5),COLOR00FFFF,LINETHICK3;
BB:=EMA(HHV(Z,5),1),COLORMAGENTA,LINETHICK3;
J:=EMA(HHV(BB,21),1),COLOR0089FF,LINETHICK2;
W:=EMA(HHV(J,21),2),COLORDB89FF,COLOR00FF00,LINETHICK2;
T:=EMA(HHV(W,21),3),COLOR8916FF,LINETHICK2;
S:=EMA(HHV(T,21),4),COLORFFCC62,LINETHICK2;
JJ:=EMA(HHV(S,21),5),COLORFF9D52,LINETHICK2;
龙骨线M:EMA(HHV(JJ,21),6),COLORGREEN,LINETHICK1{,CROSSDOT};
DRAWKLINE(H,O,L,C);
初强:=(CROSS(C,VAR7) AND CROSS(C,VAR5)) OR CROSS(C,VAR5);
强:=CROSS(VAR7,VAR5);
STICKLINE(初强,O,C,3,0),COLORMAGENTA;
STICKLINE(强,O,C,3,0),COLORRED;
总量:=AMOUNT,VOLSTICK;
量比:=V/REF(MA(V,5),1),COLORBROWN,NODRAW;
几倍:=1.9;
倍量量王:= 总量 =REF(总量,1)*几倍 AND (IF(C O,C REF(C,1),1)),COLORYELLOW,NODRAW;
天量:=总量=HHV(总量,120), COLORRED;
量王:=天量&&倍量量王 2&&(BARSCOUNT(C)+1) 120,COLORGREEN;
STICKLINE(量王,C,O,0.1,0),COLORGREEN;
DRAWTEXT(量王,L*0.95,'量王'),COLORGREEN;
DIF41:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA41:=EMA(DIF41,9);
ZTB1:=C INTPART(REF(C,1)*(1+10/100)/0.01+0.5)*0.01-0.006 AND C=H;
启动版1:=DIF41 -0.2 AND DIF41 0.35 AND ZTB1 AND REF(ZTB1,1) 1 AND COUNT(DIF41 =-0.01,5)=5;
LS:=C/REF(C,1) 1.03 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
YZB:=C/REF(C,1) 1.0991 AND O=H AND C=H;
XG9:=FILTER(LS,28) AND NOT(YZB) ;
启动版8:=启动版1 AND XG9;
DRAWTEXT(启动版1,H*1.02,'启动'),COLORYELLOW;
DRAWTEXT(启动版8,H*1.1,'启动8'),COLORYELLOW;
ZTTJ:=(FINANCE(3)=4 OR (DATE 1200822 && FINANCE(3)=3));
ZTJ:=IF(ZTTJ,ZTPRICE(REF(CLOSE,1),0.2),ZTPRICE(REF(CLOSE,1),0.1));
涨停:=(CLOSE =ZTJ) AND NOT(INBLOCK('科创板'));
打板:=FILTER(C =HHV(HIGH,200),200) AND COUNT(涨停,5) 3 AND COUNT(CLOSE/OPEN =1-6/100,5)=0;
DRAWTEXT(打板,L*0.98,'打板'),COLORWHITE;
N:=CURRBARSCOUNT;
S9:=C REF(C,4);
TJ9:=N =1 AND COUNT(S9,9)=9 AND REF(S9,9)=0;
DRAWNUMBER(TJ9,H*1.001,9),COLORYELLOW;
TJ9DAY:=BARSLAST(TJ9);
BK9:=BARSLAST(CURRBARSCOUNT=CONST(TJ9DAY+1));
J9:REF(H,BK9),COLORYELLOW,LINETHICK1;
SS:=DRAWNUMBER(N =1 AND COUNT(S9,9)=9 AND REF(S9,9)=0,MACD,9),COLORYELLOW;
DRAWTEXT(SS=1,H*1.04,'金9'),COLORYELLOW;
D9:=REF(SS,4)=1 OR REF(SS,12)=1;
DRAWTEXT(D9,L*0.97,'9底'),COLORYELLOW;