通达信北狼绝谷指标公式

通达信背离对比指标公式

通达信北狼绝谷指标公式:
N:=89;

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);

M:=EMA((CLOSE-VAR10)/(VAR13-VAR10)*4,4)*25,COLORYELLOW,LINETHICK2;

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

Lwr1:100-SMA(RSV10,3,1),COLORRED,LINETHICK0;

LWR2:SMA(LWR1,3,1),COLORWHITE,LINETHICK0;

DRAWBAND(LWR1,RGB(200,0,200),LWR2,RGB(200,200,200));

STICKLINE(LWR1>80 AND crOSS(LWR2,LWR1),100,80,1,0),COLOR00FFFF;

LC:=REF(CLOSE,1);

rsi:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;

很准:CROSS(RSI,11)*45,COLOR00FFFF,LINETHICK2;

DRAWTEXT(CROSS(RSI,11),47,'准'),COLOR66FFCC;

AA:=LLV(LOW,34);

BB:=HHV(HIGH,30);

DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);

绝谷:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);

杀入:IF(CROSS(绝谷,90) AND (DD<40),40,0),COLORFFFF00,LINETHICK2;

DRAWTEXT(CROSS(绝谷,90) AND (DD<40),42,'杀入'),COLOR66FFCC,LINETHICK2;

通达信不一样的止损止盈主图指标公式