DRAWTEXT(IF(CROSS(10,操盤線1),1,0),10,'$備錢'),COLOR33FFCC; DRAWTEXT(CROSS(底部吸籌指標,(-24)),80,'抄底'),COLOR008000; STICKLINE(CROSS(底部吸籌指標,(-24)),0,40,6,0),COLOR008000; VARB1:=DMA(CLOSE,(VOL)/(SUM(VOL,21))); VARB2:=((CLOSE-VARB1)/(VARB1))*(100); VARB3:=((WINNER((CLOSE)*(1.08))-WINNER(CLOSE))*(100)<8); VARB4:=(VARB2<(-10)); VARB5:=33; VARB6:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100)<50); VARB7:=34; BBBB:=VARB3 AND VARB4 AND VARB5 AND VARB6 AND VARB7 AND (CLOSE>2.5) AND (CLOSE>(0.905)*(REF(CLOSE,1))) AND (REF(CLOSE,1)-OPEN<(0.048)*(REF(CLOSE,1))); STICKLINE(BBBB AND (REF(BBBB,1)<1),0,50,4,0),COLORFFFFFF; DRAWTEXT(BBBB AND (REF(BBBB,1)<1),62,'抄底'),COLORFFFFFF; STICKLINE((TROUGHBARS(3,18,1)=0) AND (HIGH>(LOW)*(1.04)),30,0,5,0),COLORFF00FF; STICKLINE((PEAKBARS(3,18,1)=0) AND ((HIGH)*(0.96)>LOW),100,85,5,0),COLOR00FF00; DRAWTEXT((TROUGHBARS(3,18,1)=0) AND (HIGH>(LOW)*(1.04)),40,'¥'),COLORFF00FF; VARC:=(ZIG(3,18)>REF(ZIG(3,18),1)) AND (REF(ZIG(3,18),1)<=REF(ZIG(3,18),2)); VARD:=(ZIG(3,18)<REF(ZIG(3,18),1)) AND (REF(ZIG(3,18),1)>=REF(ZIG(3,18),2)); STICKLINE((VARC=1),30,0,5,0),COLOR0000FF; DRAWTEXT((VARC=1),42,'¥'),COLOR0000FF; STICKLINE((VARD=1),100,85,5,0),COLORFF0000; DRAWTEXT((PEAKBARS(3,18,1)=0) AND ((HIGH)*(0.96)>LOW),80,'注意轉(zhuǎn)折'),COLORLIBLUE; 當天換手:=((VOL)/(CAPITAL))*(100); 五天換手:SUM(當天換手,5),POINTDOT,COLOR00FF00; 短趨勢:=((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))-50)*(1.032)+50; VARQ2:=((2)*(CLOSE)+HIGH+LOW+OPEN)/(5); VARQ3:=LLV(LOW,34); VARQ4:=HHV(HIGH,34); 長趨勢:=EMA(((VARQ2-VARQ3)/(VARQ4-VARQ3))*(100),13); 判斷底:(SQRT(SQRT(FLOOR(SQRT((MA(((1)/(WINNER(CLOSE)))*(100),4))/(10000))))))*(5),COLORFFFFFF; VARQ5:=CROSS(短趨勢,長趨勢) AND (長趨勢<25); 底部:STICKLINE((短趨勢<10) AND (判斷底>0),0,15,6,1),COLORFFFFFF; STICKLINE(VARQ5,40,65,9,0),COLOR00EE00; STICKLINE(VARQ5,45,60,5,0),COLOR0000FF; DRAWTEXT(COUNT((短趨勢<10) AND (判斷底>0),8) AND VARQ5,50,'砸鍋買入'),COLORFFFFFF; VARQ6:=CROSS(短趨勢,長趨勢) AND (長趨勢<50); DRAWTEXT(COUNT((短趨勢<30) AND (判斷底>0),5) AND VARQ6,30,'短線買'),COLORFFFFFF; V3:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)))*(100); 操盤線2:=SMA(V3,2,1); V5:=SMA(操盤線2,2,1); 抄底:IF((操盤線2>REF(操盤線2,1)) AND (REF(操盤線2,1)<REF(操盤線2,2)) AND (操盤線2<23),18,0),LINETHICK2,COLOR00FFFF; IF((操盤線2>REF(操盤線2,1)) AND CROSS(操盤線2,V5) AND (V5<50),8,0),COLOR0000FF; IF((操盤線2<REF(操盤線2,1)) AND (REF(操盤線2,1)>REF(操盤線2,2)) AND (操盤線2>77),88,100),LINETHICK2,COLOR00FF00; BIAS1:=((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100); BIAS2:=((CLOSE-MA(CLOSE,12))/(MA(CLOSE,12)))*(100); BIAS3:=((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100); BIAS:=(BIAS1+(2)*(BIAS2)+(3)*(BIAS3))/(6); 乖離:=MA(BIAS,3); 抄底1:IF((乖離<(-12)) AND (乖離>=(-18)),(-10),0),COLOR000080; STICKLINE((乖離<(-12)) AND (乖離>=(-18)),2,0,6,0),COLOR0000FF; IF((乖離<(-18)),5,0),COLOR00FFFF; STICKLINE((乖離<(-18)),4,0,6,0),COLORFF35FF; VARBB1:=DMA(CLOSE,((VOL)/(MA(VOL,4)))/(4)); VARBB2:=DMA(CLOSE,((VOL)/(MA(VOL,31)))/(31)); VARBB3:=(((CLOSE-VARBB1)/(VARBB1))*(100)<(-10)); VARBB4:=(((VARBB1-VARBB2)/(VARBB2))*(100)<(-16)); VARBB5:=(((CLOSE-MA(CLOSE,50))/(MA(CLOSE,50)))*(100)<(-23)); VARBB6:=(((SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1))/(SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)))*(100)>16); VARBB7:=((100)*(HHV(HIGH,27)-CLOSE))/(HHV(HIGH,27)-LLV(LOW,27)); VARBB8:=INDEXC; VARBB9:=MA(VARBB8,6); VARBBA:=MA(VARBB8,24); VARBBB:=MA(VARBB8,32); VARBBC:=(VARBBB>(VARBB9)*(1.11)) AND (VARBBA>(VARBB9)*(1.095)); SSS:=(((VARBB3 AND VARBB4 AND ((OPEN-REF(CLOSE,1))/(REF(CLOSE,1))>(-0.07)) OR VARBB5 AND VARBB6 AND CROSS(VARBB7,79)) OR VARBBC AND ((CLOSE)/(COST(8))<=0.8)))*(100); STICKLINE((SSS>0),0,18,6,0),COLORFFFFFF; VV1:=LLV(LOW,10); VV2:=HHV(HIGH,25); 價位線:=EMA(((CLOSE-VV1)/(VV2-VV1))*(4),4); DRAWTEXT(CROSS(3.5,價位線),88,'★'),COLOR0000FF; 拐點:=EMA((HIGH+LOW+OPEN+(CLOSE)*(2))/(5),3); GD1:=REF((COUNT((拐點<=REF(拐點,1)),4)=4),1) AND (拐點>REF(拐點,1)) AND (CLOSE>(1.02)*(REF(CLOSE,1))) AND (主力<55); DRAWICON(GD1,10,1),COLORFFFF00; 拐點1:=EMA((OPEN+CLOSE)/(2),3); GD2:=REF((COUNT((拐點1>=REF(拐點1,1)),5)=5),1) AND (拐點1<REF(拐點1,1)) AND (主力>65) AND (CLOSE<(0.97)*(REF(CLOSE,1))); DRAWICON(GD2,90,2),COLOR0000FF; 散戶:散資,LINETHICK1,COLORGREEN; 機構(gòu):主力,LINETHICK2,COLORRED; 坐莊:莊家,LINETHICK2,COLORYELLOW; |
|