MA13:=MA(CLOSE,13); X1:=(C+L+H)/3; BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10; EMA8:=EMA(C,8); DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10), EMA8,'∠45爆升'),COLORWHITE; DD1:=LEE1:=VA51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1); A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
{DRAWICON(COUNT(TJ_2,PL+1)=1,HIGH*1.005,2);{//向下的箭頭表示出局點(diǎn)} {DRAWICON(BARSLAST(TJ1),REF(LOW*0.995,BARSLAST(TJ1)),1);}; VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100; VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100; VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0); VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3); VAR12:=ZIG(3,6)[=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);] VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3); VAR14:=ZIG(3,22)[=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);] VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3); VAR16:=ZIG(3,51)[=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);] VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3); VAR18:=ZIG(3,72)[=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);] VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150); 買1:=VAR10; 買2:=(VAR11+VAR13+VAR15+VAR17); 賣1:=(VAR12+VAR14+VAR16+VAR18); B:IF(買1>0 OR 買2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW; S:IF(賣1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN; VAR100:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20)))); VAR200:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20)))); VAR300:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) - LLV(LOW,5))),34)); F:IF(CROSS(VAR200,MA(VAR300,5)),LOW * 0.98,DRAWNULL),CROSSDOT,LINETHICK3,COLORFF00FF; DRAWTEXT(CROSS(S,賣1),S,'←快賣欲跌'),COLORWHITE,LINETHICK1; DRAWTEXT(CROSS(B,買1),B,'▲←啟動(dòng)大漲'),COLORRED,LINETHICK1;
X:=(3*C+L+O+H)/6; 多空線:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6) +13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12) +7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+ REF(X,20))/210,COLORFF00FF,LINETHICK2; {用法:黃托底買進(jìn),藍(lán)壓頂賣出。} DD:=多空線IF(DD,多空線,DRAWNULL),COLOR00FFFF,LINETHICK0.2;
{漲跌停顯示} 漲停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0); STICKLINE(漲停,O,C,1,0),COLORYELLOW; ZDF:=(C-REF(C,1))/REF(C,1)*100; H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1;
階段賣:=96; 趨勢:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA (SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); 底部:=10; 買入警戒:STICKLINE(趨勢<=10,HIGH,LOW,0.5,0),LINETHICK2,COLOR00FF00; {股旁網(wǎng)-股票公式網(wǎng)站 WWW.GUPANG.COM} STICKLINE(趨勢<=10,OPEN,CLOSE,5,1),LINETHICK2,COLOR00FF00; 賣出警戒:STICKLINE(趨勢>=階段賣,HIGH,LOW,0.5,0),COLORYELLOW; STICKLINE(趨勢>=階段賣,OPEN,CLOSE,6,1),LINETHICK2,COLORYELLOW; DRAWTEXT((CROSS(趨勢,底部)),(LOW * 0.96),''),COLORYELLOW;DRAWTEXT((CROSS(趨勢,底部)),(LOW * 0.99),'●'),COLOR4440FF;
B1A:=MA(C,1);{神龍起舞} B2A:=SMA(SMA(SMA(B1A,2,1),2,1),2,1); VAR6A1:=(C+H+O+L)/4; 壓:=XMA(VAR6A1,10)*(1+80/1000); 支:=XMA(VAR6A1,20)*(1-100/1000); 壓力:XMA(VAR6A1,10)*(1+80/1000),COLORFFFFFF,LINETHICK1; 支撐:XMA(VAR6A1,20)*(1-100/1000),COLORFFFFFF,LINETHICK1; {DRAWICON(COUNT(TJ_2,PL+1)=1,HIGH*1.005,2);{//向下的箭頭表示出局點(diǎn)} {DRAWICON(BARSLAST(TJ1),REF(LOW*0.995,BARSLAST(TJ1)),1);}; PC:(C+REF(C,1)+O)/3,LINETHICK1; JJ:=(CLOSE+HIGH+LOW)/3; M1:EMA(CLOSE,3),LINETHICK2; M2:EMA(CLOSE,8),LINETHICK2; M3:EMA(M2,13),LINETHICK0.2; M4:EMA(M2,55),LINETHICK2;
A1:=LLV(DCLOSE,5); A4:=MA(A3,10); A5:=H1+1/CURRBARSCOUNT*M; A6:=IF(CURRBARSCOUNT<20 AND A1>REF(A1,1),CONST(REF(A5,10)),A3); 敢死隊(duì)操作線:MA(C,24),LINETHICK2,COLORLIMAGENTA; DRAWKLINE(HIGH,OPEN,LOW,CLOSE); 爆發(fā)點(diǎn):=(DCLOSE-REF(C,1))/REF(C,1)*100; XG:=CROSS(爆發(fā)點(diǎn),20) OR CROSS(爆發(fā)點(diǎn),18); L3:IF(XG,O,L1*0.999),COLORYELLOW,LINETHICK2; STICKLINE(XG,L3,L3,100,0); DRAWTEXT(XG,L3,'起爆點(diǎn)'),COLORMAGENTA;
|