通达信慢速LW%R指标公式:
N:=9;
M1:=3;
M2:=3;
M4:=1;
REFLINE:0,20,50,80,100;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),COLORWHITE,LINETHICK3;
D:SMA(K,M2,1),COLORYELLOW,LINETHICK2;
J:MA(3*D-2*K,M4),COLORMAGENTA,LINETHICK1;
VARL:=TROUGHBARS(3,15,1)<10;
VARK:=PEAKBARS(3,15,1)<10;
VARJ:=IF(VARL=1,50,0);
VARH:=IF(VARK=1,50,0);
底部S:=IF(VARJ=50,10,0);
多头能量:0,COLORWHITE,LINETHICK0;
神仙脚买入:IF(底部S=10 AND REF(底部S,1)=10 AND REF(底部S,2)=0,50,0),COLORFFFF00,LINETHICK4;
DRAWTEXT(底部S=10 AND REF(底部S,1)=10 AND REF(底部S,2)=0,52,'神仙脚买入')COLORYELLOW;
买入延迟线:底部S,LINETHICK3 ,COLOR00CCFF;
VARQ:=LLV(LOW,3)<=LLV(LOW,240);
VARW:= C>O AND (C/O>1.08 OR C>=1.08*REF(C,1));
绝地反击:IF(VARQ AND VARW,40,0),COLOR1472FF,LINETHICK3;
BDGD:=HHV(J,2)=HHV(J,8) AND J>80;
小心逃顶吧:IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),70,100),COLOREE82EE,LINETHICK3;
通达信慢速LW%R指标公式