C01:=(H+L+C)/3;
C11:=HHV(C01,16*15);C21:=LLV(C01,16*15);C31:=C11-C21;
C41:=EMA((C01-C21)/C31,11)*230+190;
茂榮趨勢(shì)線:C41,colorblue,linethick2;
C02:=(H+L+C)/3;
C12:=HHV(C02,16*15);C22:=LLV(C02,16*15);C32:=C12-C22;
C42:=EMA((C02-C22)/C32,12)*200+200;
茂榮分界線:C42,colormagenta,LINETHICK2;
V3:=100-(100-3*SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))
*168,48,2)+3*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*168,48,2),15,1))+300;
茂榮操作線:=V3;
C04:=(INDEXH+INDEXL+INDEXC)/3;
C14:=HHV(C04,16*15);C24:=LLV(C04,16*15);C34:=C14-C24;
C44:=EMA((C04-C24)/C34,11)*230+190;
大盤(pán)趨勢(shì)線:C44,COLOR00FF00,linethick2;
C03:=(H+L+C)/3;
a13:=HHV(C03,5);a23:=LLV(C03,5);a33:=a13-a23;
a43:=EMA((C03-a23)/a33,2)*200+200;
b13:=HHV(C03,4*10);b23:=LLV(C03,4*10);b33:=b13-b23;
b43:=EMA((C03-b23)/b33,6)*200+200;
茂榮中期價(jià)位:b43,color6699ff;
短價(jià):=a43;
Var1m:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*200;
Var2m:=SMA(Var1m,2,1);
Var3m:=SMA(Var2m,3,1);
Var4m:=SMA(Var3m,3,1);
波: Var3m+200,linethick2,colorred;
段: Var4m+200,linethick2,coloryellow;
Var5m:=CROSS(Var2m,Var3m) AND Var3m<45;
STICKLINE(Var5m,200,Var3m+5+200,1,1),linethick2,colorred;
Var6m:=CROSS(Var3m,Var4m) AND Var3m<45;
Var7m:=Var6m AND VOL>REF(VOL,3)*2 AND VOL>REF(MA(VOL,12),1)*2;
STICKLINE(Var6m,200,Var3m+5+200,1,1),linethick2,colorwhite;
DRAWTEXT(Var6m AND COUNT(Var6m,10)=1,Var3m+15+200,'抄底'),linethick1,colorwhite;
STICKLINE(Var7m,200,Var3m+5+225,1,1),linethick4,colorred;
DRAWTEXT(Var7m AND COUNT(Var7m,10)=1,Var3m+5+230,'放量'),linethick1,colorred;
Var8m:=CROSS(Var2m,Var3m) AND Var3m>155 AND Var3m>Var4m AND 段>355;
STICKLINE(Var8m AND COUNT(Var8m,5)=1,Var3m-5+200,100+300,1,1),linethick2,colorgreen;
Var9m:=CROSS(Var4m,Var3m) AND Var3m>155;
STICKLINE(Var9m,Var3m-5+200,100+300,1,1),linethick2,coloryellow;
DRAWTEXT(Var9m AND COUNT(Var9m,10)=1,Var3m-15+250,'逃頂'),linethick1,coloryellow;
VarE:=MA(WINNER(CLOSE),36)*100;
STICKLINE(CROSS(VarE,2.5)*(60),60,0,24,0),coloryellow;
STICKLINE(CROSS(VarE,2.5)*(60),60,0,8,0),colorred;
中短期底部:=(CROSS(VarE,2.5)*(60));
DRAWTEXT(中短期底部 ,80,'★中短期底部莊家吸籌'),colorred;
DRAWTEXT(中短期底部 ,65,'★越跌越買(mǎi)耐心持股'),colorred;
VarEy:=MA(WINNER(CLOSE),144)*80;
買(mǎi)入飛彈:=CROSS(VarEy,2.5)*(60);
趨勢(shì)線1:=(MA(CLOSE,36)-MA(CLOSE,480))/MA(CLOSE,480)*100;
DRAWGBK(((REF(VarEy,0.1)<REF(VarEy,14)) AND 茂榮趨勢(shì)線<250 AND 趨勢(shì)線1<-5 OR 茂榮趨勢(shì)線<220),STRIP(RGB(0,0,0),RGB(0,0,95),100));
獲利籌碼:EMA(WINNER(C)*70,5),colorred;
動(dòng)態(tài)底部:EMA(IF(L<= LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),30,1),0),3)*10;
STICKLINE(動(dòng)態(tài)底部>0,0,動(dòng)態(tài)底部,7,0),coloryellow;
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
STICKLINE(((CLOSE > 0) AND DAY=2),20,121,40,1),colorFFFFFF;
STICKLINE(((SAT <= 5) AND DAY=2),21,(20 + SAT),35,0),colorFFFFFF;
STICKLINE((((SAT > 5) AND (SAT <= 20)) AND DAY=2),21,(20 + SAT),35,0),colorCCFF88;
STICKLINE((((SAT > 20) AND (SAT <= 40)) AND DAY=2),21,(20 + SAT),35,0),colorFF00FF;
STICKLINE(((SAT > 40) AND DAY=2),21,(20 + SAT),35,0),color0000FF;
虧損籌碼:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),Colorf0ff00;
STICKLINE(虧損籌碼>0,0,虧損籌碼,5,0),COLOR66FF00;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.9,5,0),COLOR66EE00;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.85,5,0),COLOR66DD00;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.8,5,0),COLOR66CC00;
STICKLINE(虧損籌碼>0,0,虧損籌碼*0.75,5,0),COLOR66BB00;
主力控籌:IF(獲利籌碼>虧損籌碼,獲利籌碼*2,獲利籌碼),colorred;
STICKLINE(主力控籌>0,0,主力控籌,5,0),COLORFFFFFF;
STICKLINE(獲利籌碼>0,0,獲利籌碼,5,0),COLORFFFFFF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.9,5,0),COLOREEEEFF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.85,5,0),COLORDDDDFF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.8,5,0),COLORCCCCFF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.75,5,0),COLORBBBBFF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.7,5,0),COLORAAAAFF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.65,5,0),COLOR9999FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.6,5,0),COLOR8888FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.55,5,0),COLOR7777FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.5,5,0),COLOR6666FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.45,5,0),COLOR5555FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.4,5,0),COLOR4444FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.35,5,0),COLOR3333FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.3,5,0),COLOR2222FF;
STICKLINE(獲利籌碼>0,0,獲利籌碼*0.25,5,0),COLOR1111FF;
VarzE:=REF(LOW,1)*0.9;
VarzF:=LOW*0.9;
Varz10:=(VarzF*VOL+VarzE*(CAPITAL-VOL))/CAPITAL;
Varz11:=EMA(Varz10,30);
Varz12:=CLOSE-REF(CLOSE,1);
Varz13:=MAX(Varz12,0);
Varz14:=ABS(Varz12);
Varz15:=SMA(Varz13,7,1)/SMA(Varz14,7,1)*100;
Varz16:=SMA(Varz13,13,1)/SMA(Varz14,13,1)*100;
Varz17:=BARSCOUNT(CLOSE);
Varz18:=SMA(MAX(Varz12,0),6,1)/SMA(ABS(Varz12),6,1)*100;
Varz19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
Varz1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
Varz1B:=SMA((SMA(Varz1A,4,1)-50)*2,3,1);
Varz1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
Varz1D:=SMA(Varz1C,4,1);
Varz1E:=SMA(Varz1D,3,1);
Varz1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
Varz20:=Varz18<=25 AND Varz19<-95 AND Varz1F>20 AND Varz1B<-30 AND Varz1E<30 AND Varz11-CLOSE>=-0.25 AND Varz15<22 AND
Varz16<28 AND Varz17>50;STICKLINE(Varz20,0,100,10,0),color436010,linethick2;
DRAWTEXT(Varz20 AND COUNT(Varz20,30)=1,85,'百萬(wàn)導(dǎo)彈!'),COLORFFFFFF;
Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
Var2:=2*ABS(Var1);
Var3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
Var5:=(HIGH+LOW+CLOSE)/3;
Var6:=(Var5-MA(Var5,14))/(0.015*AVEDEV(Var5,14));
Var7:=(Var5-MA(Var5,70))/(0.015*AVEDEV(Var5,70));
Var8:=IF(Var6>=150 AND Var6<200 AND Var7>=150 AND Var7<200,10,0);
Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8);
VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VarB:=100-ABS(VarA);
預(yù)警系統(tǒng): IF(Var7>=200 AND Var6>=150,15,IF(Var7<=-200 AND Var6<=-150,-15,Var9))+140,COLOR00FF00;
Var23:=IF(Var1>0,Var1,0)>50 AND 預(yù)警系統(tǒng)>150 AND IF(VarB<90,VarB,100)=100;
Var25:=IF(Var1<0,Var2,0)>38 AND 預(yù)警系統(tǒng)<130;
DRAWTEXT(Var23 AND COUNT(Var23,30)=1,160,'上漲過(guò)急 '),COLORFFFFFF;
DRAWTEXT(Var25 AND COUNT(Var25,30)=1,135,'不必殺跌!'),COLORFFFFFF;
Var100:=(短價(jià)<205 AND 茂榮中期價(jià)位<210 AND 茂榮操作線>茂榮分界線 AND 茂榮分界線<茂榮趨勢(shì)線 AND 茂榮分界線<270 AND 大盤(pán)趨勢(shì)線<250);
籌碼進(jìn)場(chǎng):IF(Var100>REF(Var100,1),10,0),colorblue;
Var101:=(短價(jià)<205 AND 茂榮中期價(jià)位<210 AND 茂榮操作線>茂榮分界線 AND 茂榮分界線<茂榮趨勢(shì)線 AND 茂榮分界線<230 AND 茂榮趨勢(shì)線<250 AND 大盤(pán)趨勢(shì)線<240);
籌碼加倉(cāng):IF(Var101>REF(Var101,1),10,0),colorff00ff;
Var102:=(短價(jià)<205 AND 茂榮中期價(jià)位<210 AND 茂榮趨勢(shì)線<215 AND 大盤(pán)趨勢(shì)線<230);
籌碼抄底:IF(Var102>REF(Var102,1),10,0),colorred;
Var103:=(短價(jià)>395 AND 茂榮中期價(jià)位>390 AND 茂榮操作線<茂榮分界線 AND 茂榮分界線>茂榮趨勢(shì)線 AND 茂榮操作線>300 AND 茂榮分界線>370);
籌碼出場(chǎng):IF(Var103>REF(Var103,1),10,0),coloryellow;
Var104:=(短價(jià)>395 AND 茂榮中期價(jià)位>390 AND 茂榮趨勢(shì)線>380);
籌碼清倉(cāng):IF(Var104>REF(Var104,1),10,0),colorcyan;
Var105:=(短價(jià)>395 AND 茂榮中期價(jià)位>390 AND 茂榮趨勢(shì)線>380 AND 茂榮分界線>390);
籌碼逃頂:IF(Var105>REF(Var105,1),10,0),COLOR00FF00;