地獄底:0,COLORGRAY; 地獄線:10,COLORGRAY; 地平線:20,RGB(255,128,64); 天際線:80,RGB(0,255,255); 50,RGB(255,255,255),DOT; RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100); 神仙:SMA(RSV,7,1),COLORWHITE; 魔鬼:SMA(SMA(RSV,7,1),3,1),COLORYELLOW; 軌跡:SMA(SMA(SMA(RSV,6,1),5,1),3,1),RGB(0,255,64),LINETHICK2; 財神到:IF(CROSS(神仙,20),20,0),LINETHICK2,LINETHICK3,RGB(0,255,255); DRAWICON((CROSS(神仙,20)),5,1); LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); MRD:=CROSS(FF,MA15); DRAWTEXT(MRD ,25 ,'買' ),COLORFFFFFF; 買: IF(MRD ,10 ,0),COLORFFFFFF; 強弱分界: 50, POINTDOT; VAR2:=IF(MONTH<12,1,1); VAR3:=(2*CLOSE+HIGH+LOW)/4; VAR4:=LLV(LOW,34); VAR5:=HHV(HIGH,34); 主力:EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13)*VAR2,LINETHICK2,COLORRED; 散戶:EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK1,COLORFF9933; DRAWTEXT(CROSS(主力,散戶) AND 主力<20,20,'低點'),LINETHICK2,COLORWHITE; DRAWICON(CROSS(主力,散戶) AND 主力<20,21,1); DRAWTEXT(CROSS(主力,67) AND 散戶<主力,58,'沖高'),LINETHICK2,COLOR9966FF; DRAWICON(CROSS(主力,67) AND 散戶<主力,70,2); DRAWTEXT(CROSS(主力,76) AND 散戶<主力,68,'小心被套'),LINETHICK2,COLOR669900; DRAWICON(CROSS(主力,76) AND 散戶<主力,80,2); DRAWTEXT(CROSS(散戶,主力) AND 散戶>78,80,'賣出'),COLORWHITE; DRAWTEXT(CROSS(主力,散戶) AND 主力<16,45,'買入'),COLORFFFF00; 買入脈沖:IF(CROSS(主力,散戶) AND 主力<16,40,5),LINETHICK2,COLORYELLOW; 賣出脈沖:IF(CROSS(散戶,主力) AND 散戶>78,75,90),LINETHICK2,COLORGREEN; BB1:=WINNER(CLOSE)*100; BB2:=100-BB1; BB3:=ABS(BB1-BB2); DRAWICON(CROSS(主力,散戶),主力,4); DRAWICON(CROSSDOWN(主力,散戶),主力,5); DRAWCOLORLINE(主力>散戶,主力,COLORRED,COLORGREEN),LINETHICK2; ******************************************* 強弱分界: 50, POINTDOT; VAR2:=IF(MONTH<12,1,1); VAR3:=(2*CLOSE+HIGH+LOW)/4; VAR4:=LLV(LOW,34); VAR5:=HHV(HIGH,34); 主力:EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13)*VAR2,LINETHICK2,COLORRED; 散戶:EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK1,COLORFF9933; DRAWTEXT(CROSS(主力,散戶) AND 主力<20,20,'低點'),LINETHICK2,COLORWHITE; DRAWICON(CROSS(主力,散戶) AND 主力<20,21,1); DRAWTEXT(CROSS(主力,67) AND 散戶<主力,58,'沖高'),LINETHICK2,COLOR9966FF; DRAWICON(CROSS(主力,67) AND 散戶<主力,70,2); DRAWTEXT(CROSS(主力,76) AND 散戶<主力,68,'小心被套'),LINETHICK2,COLOR669900; DRAWICON(CROSS(主力,76) AND 散戶<主力,80,2); DRAWTEXT(CROSS(散戶,主力) AND 散戶>78,80,'賣出'),COLORWHITE; DRAWTEXT(CROSS(主力,散戶) AND 主力<16,45,'買入'),COLORFFFF00; 買入脈沖:IF(CROSS(主力,散戶) AND 主力<16,40,5),LINETHICK2,COLORYELLOW; 賣出脈沖:IF(CROSS(散戶,主力) AND 散戶>78,75,90),LINETHICK2,COLORGREEN; BB1:=WINNER(CLOSE)*100; BB2:=100-BB1; BB3:=ABS(BB1-BB2); DRAWICON(CROSS(主力,散戶),主力,4); DRAWICON(CROSSDOWN(主力,散戶),主力,5); DRAWCOLORLINE(主力>散戶,主力,COLORRED,COLORGREEN),LINETHICK2; 20,DOT,RGB(255,128,0); 80,RGB(0,255,255),DOT; 通達信
VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=SMA(VAR3,3,1); 波: VAR3,RGB(255,255,0); 段: VAR4,RGB(255,128,64),LINETHICK2; VAR5:=CROSS(VAR3,VAR4) AND VAR3<20; DRAWTEXT(FILTER(VAR5,10)=1,40,'抄底'),COLORRED; STICKLINE1(FILTER(VAR5,10)=1,0,30,10,0),COLORRED; VAR9:=CROSS(VAR4,VAR3) AND VAR3>80; STICKLINE1(FILTER(VAR9,5)=1,80,100,10,0),COLORGREEN; DRAWTEXT(FILTER(VAR9,5)=1,70,'逃頂'),COLORGREEN; VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4; STICKLINE1(VAR8,85,100,10,0),COLOR0099FF; AA:=LLV(LOW,36); BB:=HHV(HIGH,30); DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25); 股神:DD,RGB(0,128,255),LINETHICK1; 股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25); 目標出現(xiàn)B:IF(CROSS(股海,90) AND (股神<40),70,0),COLORFFFF00; 跟蹤:10,RGB(255,128,64); 目標出現(xiàn)A:IF((COUNT((股神>REF(股神,1)),1)=1) AND (REF(股神,1)<REF(REF(股神,1),1)) AND (股神<跟蹤),50,0),COLORF00FF0; DRAWCOLORLINE(股神>REF(股神,1),股神,RGB(255,0,128),RGB(0,128,255)),LINETHICK1; 100,COLORBBBBBB,LINETHICK3; 風險:80,RGB(0,255,255),DOT; 小心:87.5,COLOR00FF00; 0,LINETHICK3; |
|