通达信适时出击副图指标
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100;
VAR3:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10);
VAR4:=HIGH-REF(HIGH,1);
VAR5:=REF(LOW,1)-LOW;
VAR6:=SUM(IF(VAR4 > 0 AND VAR4 > VAR5,VAR4,0),10);
VAR7:=SUM(IF(VAR5 > 0 AND VAR5 > VAR4,VAR5,0),10);
VAR8:=VAR6*100/VAR3;
VAR9:=VAR7*100/VAR3;
VAR10:=MA(ABS(VAR9-VAR8)/(VAR9+VAR8)*100,5);
VAR11:=VAR2+VAR10;
VAR12:=(VAR10+REF(VAR10,5))/2+VAR2;
VAR13:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
VAR14:=VAR2-VAR13;
VAR15:=VAR11+VAR14;
VAR16:=LLV(VAR15,1);
VAR17:=LLV(LOW,9);
VAR18:=HHV(HIGH,9);
VAR19:=EMA((CLOSE-VAR17)/(VAR18-VAR17)*100,3);
0,COLORMAGENTA;
STICKLINE(VAR15 < 0,0,(-10),0.8,1),COLORYELLOW,LINETHICK6;
STICKLINE(CROSS(VAR15,0),0,(-10),0.8,1),COLORRED,LINETHICK6;
STICKLINE(VAR16 > 230,100,90,0.3,1),COLORGREEN,LINETHICK6;
K:EMA(VAR19,3);
D:MA(K,3);
STICKLINE(K > D,K,D,2.5,0),COLORRED,LINETHICK2;
STICKLINE(D > K,K,D,2.5,0),COLORGREEN,LINETHICK2;
逃顶线:80,COLORGREEN;
中轴线:50,COLORRED;
抄底线:20,COLORGREEN;
DRAWICON(CROSS(K,D),12,1),COLORRED;
DRAWICON(CROSS(D,K),88,2),COLORGREEN;
警戒:VAR15 < 0,COLORYELLOW,LINETHICK0;
出击:CROSS(VAR15,0),COLORRED,LINETHICK0;
{买好股公式网WWW.BUYHAOGU.COM};