通达信精品顶底指标公式

通达信买卖顶底指标公式

通达信精品顶底指标公式:

N:=88;

抄底:=6;

高:=1;

底:=1;

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

底部雷达:IF(D<25 AND crOSS(K,D),16,0),COLOR0000FF;

顶部雷达:IF(D>75 AND CROSS(D,K),16,0),COLOR00FF00;

VAR1:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

VAR2:=(CLOSE-MA(CLOSE,26))/MA(CLOSE,21)*100;

VAR3:=(CLOSE-MA(CLOSE,90))/MA(CLOSE,34)*100;

VAR4:=(VAR1+3*VAR2+9*VAR3)/13;

VAR5:=(100-Abs(VAR4));

VAR6:=ABS((COst(40)-CLOSE)/CLOSE*100);

VAR10:=LLV(LOW,10);

VAR13:=HHV(HIGH,25);

红线:EMA((CLOSE-VAR10)/(VAR13-VAR10)*4,4)*25,COLOR0000FF,LINETHICK2;

RSV10:=(HHV(HIGH,11)-CLOSE)/(HHV(HIGH,11)-LLV(LOW,11))*100;

绿线:SMA(RSV10,3,1),COLORGREEN,LINETHICK2;

白线:SMA(绿线,3,1),COLORWHITE;

P:=((2)*(CLOSE) + HIGH + LOW + OPEN)/(5);

BB:=MA(P,3);

CC:=(SUM(IF((P > REF(P,1)),(P)*(vol),0),4))/(SUM(IF((P < REF(P,1)),(P)*(VOL),0),4));

DD:=REF(100 - (100)/(1 + CC),1);

A1:=HHV(P,15);

A2:=LLV(P,15);

A3:=A1 - A2;

A4:=(EMA((P - A2)/(A3),2))*(100);

B1:=HHV(P,60);

B2:=LLV(P,60);

B3:=B1 - B2;

B4:=(EMA((P - B2)/(B3),2))*(100);

C1:=HHV(P,240);

C2:=LLV(P,240);

C3:=C1 - C2;

C4:=(EMA((P - C2)/(C3),2))*(100);

中风险:=B4,COLORAA7755;

VAR4A:=LLV(LOW,5);

VAR5A:=HHV(HIGH,4);

VAR6A:=((HHV(HIGH,4) - P)/(HHV(HIGH,4) - LLV(LOW,4)))*(100) - 72;

VAR7A:=((P - LLV(LOW,4))/(HHV(HIGH,4) - LLV(LOW,4)))*(100);

VAR8A:=SMA(VAR7A,2,1);

cci:=((P - MA(P,14))*(100))/((1.5)*(AVEDEV(P,14)))*高;

rsi1:=(((SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),6,1)))*(100))*底;

STICKLINE((CCI > 100),106,100,3,0),COLORLICYAN;

顶部:(CCI > 100),COLORCYAN,NODRAW;

STICKLINE((RSI1 > 80),105,102,3,0),COLORCYAN;

STICKLINE((CCI < (-100)),(-6),0,3,0),COLORMAGENTA;

底部:(CCI < -100),COLORMAGENTA;

STICKLINE((RSI1 < 25),(-6),(-2),3,0),COLORLIMAGENTA;

顶线:IF(FILTER((中风险 < REF(中风险,1)) AND (中风险 > 90) AND (BB < REF(BB,1)),5),90,100),LINETHICK3,COLORGREEN;

底线:IF(FILTER((中风险 > REF(中风险,1)) AND (中风险 < 5) AND (CLOSE > REF(CLOSE,1)),5),10,0),LINETHICK4,COLORLIMAGENTA;

短线:A4,COLOR888888,LINETHICK2;

DRAWTEXT(ISLASTBAR,短线,'←短线'),COLOR888888;

90,COLORDCDCDC;

50,POINTDOT,COLORFFFFFF;

10,COLORYELLOW;

通达信抄盘新手福音主图指标公式