通达信短线航标主图指标 源码 贴图 STZF:=(1-REF(C,3)/C)*100; VAR1:=(3*C+H+L+O)/6; VAR2:=7*REF(VAR1,1); VAR3:=6*REF(VAR1,2); VAR4:=5*REF(VAR1,3); VAR5:=4*REF(VAR1,4); VAR6:=3*REF(VAR1,5); VAR7:=2*REF(VAR1,6); VAR8:=REF(VAR1,8); VAR9:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; VAR10:=SMA(VAR9,2,1); VAR11:=SMA(VAR10,2,1); VAR12:=3*VAR10-2*VAR11; VARA:=CROSS(VAR12,0)AND(H>=(1-9/100)*MA(C,10)); 顶天立地:(1-9/100)*MA(C,10),COLORYELLOW,LINETHICK3; 短线航标:(8*VAR1+VAR2+VAR3+VAR4+VAR5+VAR6+VAR7+VAR8)/36,LINETHICK3,COLORRED; NOTEXT1:IF((短线航标<=REF(短线航标,1)),短线航标,DRAWNULL),COLORGREEN,LINETHICK2; NOTEXT2:IF((短线航标>=REF(短线航标,1)),短线航标,DRAWNULL),COLORLIMAGENTA,LINETHICK3; VAR13:=LLV(DMA(CLOSE,VOL/CAPITAL),120); 龙抬头:=100*(CLOSE-VAR13)/VAR13,COLORWHITE,LINETHICK1; VAR14:=0.01*EMA(AMOUNT,13)/EMA(VOL,13); 拉升线:=(CLOSE-VAR14)/VAR14*1000,COLORRED; DRAWICON(ZF>2 AND VARA AND (龙抬头>5 OR 拉升线>60 OR 拉升线-REF(拉升线,1)>70),L*0.99,9); DRAWICON(ZF>9 AND STZF< 18 AND 短线航标>=REF(短线航标,1) AND (拉升线-REF(拉升线,1)>70) AND REF(拉升线,1)< 50,短线航标,25);
|