1、明均低买,波段抄底逃顶就是这么简单上市日期:FINANCE(42)/100, NODRAW ;高:=REF(HHV(H,N),M);低:=REF(LLV(L,N),M);顶点:REFDATE(高,DATE),COLORWHITE;低点:REFDATE(低,DATE),COLORWHITE;DRAWTEXT(ISLASTBAR,顶点,顶点),COLORWHITE;DRAWTEXT(ISLASTBAR,低点,低点),COLORWHITE;MA05:=MA(C,5);MA10:=MA(C,10);MA30:=MA(C,30);五日乖离率:=(C-MA05)/MA05*100;BB05:=ATAN(M
2、A05/REF(MA05,1)-1)*100)*180/3.1416;BB10:=ATAN(MA10/REF(MA10,1)-1)*100)*180/3.1416;三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;清仓:=FILTER(COUNT(CROSS(30,BB05),5)=1 AND (CMA30 OR OMA30) AND MA05REF(MA05,1) AND 三拾日乖离率REF(三拾日乖离率,1) AND MA10REF(MA10,1),10);JC:=CROSS(0,五日乖离率) AND 三拾日乖离率REF(MA10,1) ;减仓:=FILTER(JC,10)
3、;DRAWTEXT(减仓,HIGH*1.02,风险),COLORCYAN;DRAWTEXT(清仓 ,HIGH*1.00,清仓),COLORGREEN;DRAWTEXT(CROSS(-6,(CLOSE-MA(CLOSE,12)/MA(CLOSE,12)*100),(LOW * 0.96),明均低买),COLORRED;A:=(3*CLOSE+LOW+OPEN+HIGH)/6;D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF
4、(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20)/211;D2:=EMA(D1,2);D3:=EMA(D2,2);K1:=EMA(D3,2);DRAWTEXT(CROSS(D1,K1),L,),COLOR0099FF;多方趋势:=7*SMA(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*30,4,1)-3*SMA(SMA(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*30,4,1),3,1)-SMA(SMA(SMA(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*30,4,1),3,1),2,1);天线:=78.89;STICKLINE(CROSS(天线,多方趋势),H*1.02,H*1.00,6,0),COLOR00FF00;DRAWTEXT(CROSS(天线,多方趋势),H*1.04,逃顶),COLOR00FF00;