1、通达信指标公式大全SZ3天地人天: IF(HHVBARS(V ,60) ,REF(C ,HHVBARS(V ,60) ) ,C ),COLORLIBLUE,POINTDOT;地: IF(LLVBARS(V,5), REF (C,LLVBARS(V,5),C),COLORYELLOW,POINTDOT;人: IF(LLVBARS(V,13), REF (C,LLVBARS(V,13),C),COLORMAGENTA,POINTDOT;MA3:MA(C,3);MA13:MA(C,13);主力成本:COST(5),POINTDOT;获利了结: COST(98),POINTDOT;ZLX:STICKL
2、INE(CREF(O,1),REF(C,1),REF(C,1)*0.995,4,0),COLOR00FF00;SZ1交易量WOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORBLUE;VOLUME:VOL,VOLSTICK;V5:MA(VOLUME,5);V10:MA(VOLUME,10);V20:MA(VOLUME,20);V60:MA(VOLUME,60);VAR1:=VOL/(HIGH-LO
3、W)*2-ABS(CLOSE-OPEN);主买:IF(CLOSEOPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*(HIGH-CLOSE)+(OPEN-LOW),IF(CLOSEOPEN,VAR1*(HIGH-LOW),VOL/2)COLORRED,POINTDOT;SZ2短期:100*(C-LLV(L,5)/(HHV(C,5)-LLV(L,5),COLORWHITE;中期:100*(C-LLV(L,10)/(HHV(C,10)-LLV(L,10),COLORYELLOW;中长期:100*(C-LLV(L,20)/(HHV(C,20)-LLV(L,20),COLOR
4、MAGENTA; 长期:100*(C-LLV(L,30)/(HHV(C,30)-LLV(L,30),COLORRED,LINETHICK2;高浪日:=REF(短期,1)2 AND REF(中期,1)2 AND REF(中长期,1)2 AND REF(长期,1)1.03;B:=V/REF(V,1)=0.8;D:=H=HHV(H,3); A AND B AND D;SZ仙人LC:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4)/2.382,COLORWHITE,LINETHICK1;GAO:=HHV(C,60)-LLV(
5、C,60);RSI:=SMA(MAX(LC-REF(LC,1),0),5,1)/SMA(ABS(LC-REF(LC,1),5,1);仙人:LC+GAO*(RSI-0.5),COLORFF3399,LINETHICK1;STICKLINE(CROSS(RSI,0.1),仙人,REF(仙人,1),1,0),COLORYELLOW;STICKLINE(CROSS(0.9,RSI),仙人,REF(仙人,1),1,0),COLORCYAN;攻防价位:(REF(H-L)*0.618+L,1),NODRAW,COLORYELLOW;STICKLINE(ISLASTBAR,攻防价位-0.01,攻防价位,6,0
6、),COLORYELLOW;MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;多:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(
7、MID,18)+REF(MID,20)/210,COLORRED;空:MA(多,6),COLORGREEN;水平面:MA(CLOSE,60),COLORYELLOW,POINTDOT;MS:IF(多=REF(多,1),多,DRAWNULL),COLORRED,LINETHICK2;MM:IF(空=REF(空,1),空,DRAWNULL),COLORYELLOW,LINETHICK2;买:=CROSS(多,空);卖:=CROSS(空,多);DRAWICON(买,L*0.97,1);DRAWICON(卖,H*1.03,2);SZ7短线MA30:=EMA(CLOSE,30);强弱:EMA(CLOSE
8、,900);STICKLINE(MA30强弱),MA30,强弱,1,0),COLOR0000FF;STICKLINE(MA30P,1,0);STICKLINE(D2=0,OPEN,CLOSE,0.8,0),COLORBLUE;STICKLINE(D2=1,OPEN,CLOSE,0.8,0),COLORWHITE;A:=C-MA6;A1:=CROSS(A,0);A2:=CROSS(0,A);A3:=0.68*MA(FORCAST(CLOSE,2),40);A4:=IF(CA3 OR LOPEN,A5,A6);A8:=IF(OPENCLOSE,OPEN,CLOSE);DRAWICON(A1 AND
9、 REF(A1,1)=0 ,L*0.98,7);DRAWICON(A2 AND REF(A2,1)=0 ,H*1.02,8);LC:=REF(C,1);LD:=IF(CLC*0.89,1,0);LE:=COUNT(LD=1,20);LF:=COUNT(LD=1,6);LG:=MA6/4.5;RSI1:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100,NODRAW,COLORYELLOW;EE:=(CLOSE-MA(CLOSE,40)/MA(CLOSE,40)*100, ;AA:=(REF(EE,1)REF(EE,2) AND EE
10、=REF(EE,1) OR (REF(CROSS(-30,EE),1) AND CROSS(EE,-30) OR EE=-30;MJ0:=IF(AA AND LE1,1,0);VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,31)/31);VAR3:=(CLOSE-VAR1)/VAR1*100-10;VAR4:=(VAR1-VAR2)/VAR2*100CLOSE OR OPEN-0;DRAWTEXT(MJ0=1 AND MACDREF(MACD,1),L*0.95,极品底),COLORMAGENTA;DRAWTEXT(AR
11、EF(C,1)*1.1,REF(C,1)*1.1,AH)NODRAW;阻力位:IF(NH强,(强-CDP)*0.618+CDP,NH)NODRAW,COLORCYAN;M:=IF(ALREF(C,1)/1.1,REF(C,1)/1.1,AL);支撑位:IF(NLM,CDP-(CDP-M)*0.618,NL)NODRAW,COLORLIRED;RSV:=(CLOSE-LLV(LOW,9)/(HHV(HIGH,9)-LLV(LOW,9)*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;RSI:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,NODRAW,COLORYELLOW;DRAWICON(
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1