通達(dá)信副圖DDX大單動(dòng)向指標(biāo)JJ:=(OPEN+HIGH+LOW+CLOSE)/4; AA:=IF(BETWEEN(C,JJ,H) OR C=O,VOL,0); BB:=IF(BETWEEN(C,JJ,L),VOL,0); CC:=IF(AA AND BB,0,VOL/3); DDX:10*(AA-(BB+CC))/IF(CAPITAL<> STICKLINE(DDX>0,0,DDX,3,0 ),COLOR0022FF; STICKLINE(DDX>0,0,DDX,2,0 ),COLORBB22CC; STICKLINE(DDX<0,0,ddx,3,0>0,0,ddx,3,0> DDX1:EMA(DDX,60)*60,COLOR00FFFF; DDX2:MA(DDX1,5),COLORFF00FF; DDX3:MA(DDX2,10),COLOR00FF00; 預(yù)警:DDX>0 AND CROSS(DDX1,DDX2) AND (CLOSE/REF(CLOSE,1)-1)*100>=3,LINETHICK0; DRAWTEXT(預(yù)警,0,'★'),LINETHICK3,COLOR00FFFF; {DRAWTEXT(C,1,'大單動(dòng)向'),COLORFFFFFF;} 大單動(dòng)向:0.5.POINTDOT,COLORBLUE;. 通達(dá)信立樁量4指標(biāo)公式VAR81:=1; VAR82:=((((2*CLOSE)+HIGH)+LOW) / 4); 低金叉進(jìn):=20,COLORYELLOW,LINETHICK2; 高死叉出:=90,COLORGREEN,LINETHICK3; VAR84:=LLV(LOW,5); VAR85:=HHV(HIGH,4); C1:=(EMA((((VAR82-VAR84)/(VAR85-VAR84))*100),4)*VAR81),COLORFF00FF,LINETHICK2; C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR81),COLORFFFFFF,LINETHICK2; 條件:=CROSS(C1,C2) AND C1<> 條件0:=CROSS(C2,C1) AND C1>90; TJ1:=CROSS(C1,C2); TJ2:=CROSS(C2,C1); TJ3:=CROSS(C1,C2) AND REF(C1,1)<> TJ4:=CROSS(C2,C1) AND REF(C1,1)>80; DRAWTEXT(條件0,H*1.02,'S'),COLORBLUE; {DRAWTEXT(CROSS(C1,75),H*1.013,'險(xiǎn)區(qū)'),COLORGREEN;} DRAWTEXT(TJ3,L*0.98,'買底'),COLORFF00FF; DRAWTEXT(TJ4,H*1.02,'逃頂'),COLORGREEN; |
|