<<贼兔预警>> 指标
简要说明:(注 该指标只做为技术交流,不作任何投资依据)用法:趋势预警 详可见图
指标镶入步骤:
工具→公式管理→常用→技术指标(或预警)→新建→名称(贼兔预警)和描述→粘贴指标源码→确定OK!
贼兔预警 指标
源码:
LC:=REF(CLOSE,1);
WRSI:=SUM(MAX(CLOSE-LC,0),6)/SUM(ABS(CLOSE-LC),6)*100;
AA:=CROSS(WRSI,20);
VAR1:=(CLOSE+HIGH+LOW+OPEN)/4;
VAR2:=SUMBARS(VOL,CAPITAL);
VAR3:=HHV(VAR1,VAR2);
VAR4:=LLV(VAR1,VAR2);
VAR5:=(VAR1-VAR4)/(VAR3-VAR4);
A:=IF(VAR1<=VAR4,(2*VAR1-VAR4-REF(VAR4,1))/(VAR3-VAR4),VAR5);
BB:=A<0;
贼兔预警:AA AND BB,colorB469FF,LINETHICK5;
预警(贼兔)源码:
LC:=REF(CLOSE,1);
WRSI:=SUM(MAX(CLOSE-LC,0),6)/SUM(ABS(CLOSE-LC),6)*100;
AA:=CROSS(WRSI,20);
VAR1:=(CLOSE+HIGH+LOW+OPEN)/4;
VAR2:=SUMBARS(VOL,CAPITAL);
VAR3:=HHV(VAR1,VAR2);
VAR4:=LLV(VAR1,VAR2);
VAR5:=(VAR1-VAR4)/(VAR3-VAR4);
A:=IF(VAR1<=VAR4,(2*VAR1-VAR4-REF(VAR4,1))/(VAR3-VAR4),VAR5);
BB:=A<0;
XG:AA AND BB;