通達信主圖K線指標公式

大家好,分享一個主圖,副圖均可用的指標

A11:=REF(C,10)=HHV(C,2*10+1);B1:=FILTER(A11,10);C1:=BACKSET(B1,10+1);HD:=FILTER(C1,10);A22:=REF(C,10)=LLV(C,2*10+1);B2:=FILTER(A22,10);C2:=BACKSET(B2,10+1);LD:=FILTER(C2,10);A:=REF(C,BARSLAST(HD));B:=REF(C,BARSLAST(LD));T1:=BARSLAST(HD)<barslast>BARSLAST(LD) AND NOT(LD);波峰:IF(T1,A,A),POINTDOT,COLORYELLOW;STICKLINE(T1,A,A,4,0),COLORYELLOW;波谷:IF(T2,B,B),POINTDOT,COLORFFC8FF;STICKLINE(T2,B,B,4,0),COLORFFC8FF;工作線14:EMA(C,14);二號線25:EMA(C,25),COLORRED;分水嶺55:EMA(C,55),COLOR00FF00;九號線99:EMA(CLOSE,99),LINETHICK2,COLOR008FFF;M120:MA(C,120),COLORWHITE,LINETHICK2;DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19));DEA:=EMA(DIFF,9);MACD:=0.90*(DIFF-DEA);TJ:=(DIFF>=DEA);TJ1:=(DIFF>=0);STICKLINE(TJ,H,L,0.5,0),COLORYELLOW;STICKLINE(TJ,O,C,4,0),COLORYELLOW;STICKLINE(TJ1 AND TJ AND C>O,H,L,0.5,0),COLORF00FF0;STICKLINE(TJ1 AND TJ AND C>O,O,C,4,0),COLORF00FF0;STICKLINE(TJ1 AND TJ AND C=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) ,L*0.99,'短線'),COLORRED;STICKLINE((CROSS(SK,SD) AND SK=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),H,L,0.5,0),COLORRED;STICKLINE((CROSS(SK,SD) AND SK=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),O,C,10,1),LINETHICK3,COLORRED;VAR4:=(LOW+HIGH+CLOSE+OPEN)/4;CB:=MA(VAR4,5);A2:=HHV(CB,60);B11:=LLV(CB,20);DRAWTEXT(FILTER((A2>REF(A2,1) AND B11>REF(B11,1)),5),H+0.1,'賣'),COLOR00FF00;/<barslast>


通達信主圖K線指標公式


分享到:


相關文章: