EMA6:MA(C,6),COLORRED LINETHICK2;
EMA18:MA(C,18),COLORYELLOW;
EMA55:MA(C,55),COLORFF00FF;
EMA144:MA(C,144),COLORGREEN;
EMA250:MA(C,250),COLORRED;
EMA288:MA(C,288),COLORBLUE;
中线【买入】:=COUNT(CLOSE CLOSE/EMA18>1.004 AND CROSS(CLOSE,EMA18) AND EMA18>= REF(EMA18,1),LINETHICK,COLORRED; DRAWTEXT(中线【买入】,LOW*0.95,' 中线【买入】'),COLORRED; VL:=REF(LOW,1); VAR12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100; VAR14:=MA(VAR12,13); VAR15:=LLV(LOW,34); VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3); VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1); VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR110*10.9; T:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),20); DRAWTEXT(T,LOW-0.4,'←洗盘结束'),COLORFF00FF; DRAWTEXT(T,LOW-0.2,'|'),COLORFF00FF; VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; VAR22:=SMA(VAR21,3,1); VAR23:=SMA(VAR22,3,1); VAR24:=SMA(VAR23,3,1); VAR25:=CROSS(VAR23,VAR24) AND VAR23<20; DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.4,'←抄底'),COLORRED; DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.2,'|'),COLORRED; VAR29:=CROSS(VAR24,VAR23) AND VAR23>80; DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.4,'←逃顶'),COLORBLUE; DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.2,'|'),COLORBLUE; 六、“决策天机”指标源码(选股): VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; VAR22:=SMA(VAR21,3,1); VAR23:=SMA(VAR22,3,1); VAR24:=SMA(VAR23,3,1); VAR25:=CROSS(VAR23,VAR24) AND VAR23<20; FILTER(VAR25,10)=1; 七、“二十日战法”指标源码(简洁版主图): 买线:=EMA(C,4); 卖线:=EMA(SLOPE(C,20)*10+C,35); DRAWTEXT(CROSS(买线,卖线),LOW*1.00,'←买'),COLORRED,LINETHICK2; DRAWTEXT(CROSS(卖线,买线),HIGH*1.01,'←卖'),COLORGREEN; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT(CROSS(90,RSI) , HIGH*1.01,'←逢高出局!'),COLOR00FF00 ; A:=(3*C+L+O+H)/6; X:=(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(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))/210; 主力成本:EMA(X,13),COLORFF00FF,LINETHICK0; ZZ:=(O+H+L)/3; YC:=(H+L)/2; YCHJX:=(EMA(ZZ,4))+(YC-REF(ZZ,3))/4; 今日买点:EMA(ZZ,3),COLORYELLOW,LINETHICK0; 明日买点:YCHJX,LINETHICK0; 昨测今日买点:REF(YCHJX,1),LINETHICK0; FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'←拐点卖'),COLOR00FF00; DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'←拐点买'),COLOR00FFFF; 八、“二十日战法”指标源码(拐点买选股): FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); 拐点买:CROSS(FF,MA15);
有话要说...