VAR1:=CLOSE/REF(CLOSE,1)>1.03; VAR2:=EMA(CLOSE,9); VAR3:=EMA(VAR2*1.13,5); VAR4:=CLOSE>=OPEN; VAR5:=EMA(VAR2*1.12,5); VAR6:=EMA(VAR2*1.11,5); VAR7:=CROSS(CLOSE,VAR6); VAR8:=CROSS(CLOSE,VAR3); VAR9:=CROSS(CLOSE,VAR5); VAR10:=(VAR8 OR VAR9 OR VAR7 AND VAR4 AND VAR1); VAR11:=HHV(HHV(LOW,14),60); VAR12:=HHV(MA((L+H+C)/3,8),60),COLORFF00FF; VAR13:=EMA(EMA(VAR12,14)+2*STD(VAR11,14),4),COLORAAAAAA; 妖:=C>VAR12 AND C>VAR13 AND VAR10; 綱一:EMA(EMA(VAR11,16)-2*STD(VAR11,16),3),COLORBLUE; 綱二:EMA(EMA(VAR11,14)+2*STD(VAR11,14),8),COLORLIRED; STICKLINE(綱一>0 ,綱一 ,綱二 ,0 ,0 ),COLOR555555; 妖中妖:妖,COLORBLACK; STICKLINE(IF(妖中妖,120,0),10,0,1,0),COLORRED; STICKLINE(IF(妖中妖,120,0),10,0,0.1,0),COLORYELLOW; DRAWTEXT(妖中妖,9.0,' ★妖')COLORMAGENTA; DRAWICON(妖中妖,10.5,9); Z1:=STRCAT(HYBLOCK,' '); Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' '); LHB:SIGNALS_USER(4,1); DRAWTEXT(LHB,H,'龍虎'),COLORWHITE; AHC1:=CLOSE*VOL;AHC2:=EMA((EXPMA(AHC1,3)/EXPMA(VOL,3)+EXPMA(AHC1,6)/EXPMA(VOL,6)+EXPMA(AHC1,12)/EXPMA(VOL,12)+EXPMA(AHC1,24)/EXPMA(VOL,24))/4,13),COLORYELLOW; ZT:=REF(C,1)*1.1-C<0.01 AND H=C;頂:=1.3*AHC2;內(nèi)上:=1.06*AHC2;內(nèi)下:=AHC2*0.94;底:=AHC2*0.87,DOTLINE,COLORGREEN;IF((內(nèi)上 <= REF(內(nèi)上,1)),內(nèi)上,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2; IF((內(nèi)上 >= REF(內(nèi)上,1)),內(nèi)上,DRAWNULL),COLORMAGENTA,DOTLINE,LINETHICK2; IF((內(nèi)下 <= REF(內(nèi)下,1)),內(nèi)下,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2; IF((內(nèi)下 >= REF(內(nèi)下,1)),內(nèi)下,DRAWNULL),COLORMAGENTA,DOTLINE,LINETHICK2; 爆:=REF(O<內(nèi)上,1) AND C>內(nèi)上 AND O>內(nèi)上;牛股:=C>內(nèi)上 AND O>內(nèi)上;AR:=BARSLAST(牛股);DRAWKLINE(H,O,L,C); STICKLINE( 牛股 AND C>O,C,O,3.2,0),COLOR000066; STICKLINE(牛股 AND C>O,C,O,2.0,0),COLOR000077; STICKLINE(牛股 AND C>O,C,O,1.5,0),COLOR000099; STICKLINE(牛股 AND C>O,C,O,0.9,0),COLOR0000CC; STICKLINE(牛股 AND C>O,C,O,0.5,0),COLOR0000FF; STICKLINE(牛股 AND C>O,O,C,0,0),COLORFFFFFF;STICKLINE( 牛股 AND C<O,L,H,0,0),COLOR009900; STICKLINE( 牛股 AND C<O,C,O,3.2,0),COLOR009900; STICKLINE( 牛股 AND C<O,C,O,2.5,0),COLOR00BB00; STICKLINE(牛股 AND C<O,C,O,1.5,0),COLOR00DD00; STICKLINE(牛股 AND C<O,C,O,0.5,0),COLOR00FF00;STICKLINE(牛股 AND C<O,C,O,0,0),COLORFFFFFF;LC:=REF(CLOSE,1); 操作線:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;操作線1:=SMA(MAX(CLOSE-LC,0),20,1)/SMA(ABS(CLOSE-LC),20,1)*100;潛伏:=操作線<10 AND 內(nèi)上>=REF(內(nèi)上,1); DRAWTEXT(潛伏,L,'偽裝潛伏'),COLORYELLOW; |
|