同花顺猎庄敢死队副图指标
源码
//VERTLINE((HHV(HIGH,5) >= REF(HHV(HIGH,5),1)),0),color808080;
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
//猎庄敢死队→:STICKLINE(1,50,50,1,0),POINTDOT,LINETHICK3,colorFF0000;
//NHSH_短线操盘系统:STICKLINE(1,50,50,1,0),POINTDOT,LINETHICK3,color00FF00;
//K:SMA(RSV,3,1);
//D:SMA(K,3,1);
RSV1:=(HHV(HIGH,9.8) - CLOSE) / (HHV(HIGH,9.8) - LLV(LOW,9.8)) * 101;
KK:=SMA(RSV1,3,1);
DD:=SMA(KK,3,1);
JJ:=3*KK-2*DD;
WWQQ:=IF((JJ >= 100),100,IF((JJ <= 0),0,JJ));
//J:WWQQ;
WW:=(((((MA(CLOSE,1) + MA(CLOSE,3)) + MA(CLOSE,5)) + MA(CLOSE,7)) + MA(CLOSE,9)) / 5);
A:=(((((MA(CLOSE,2) + MA(CLOSE,4)) + MA(CLOSE,6)) + MA(CLOSE,8)) + MA(CLOSE,10)) / 5);
B:=EMA(WW,3);
VAR1:=EMA(A,10);
AA:=((EMA(AMOUNT,1) / EMA(VOL,1)) / 100);
BB:=IF(1,DMA(B,AA),0);
VAR29:=IF(1,DMA(VAR1,AA),0);
VAR29A:=((2 * (BB - VAR29)) * 100);
BB:=EMA(VAR29A,2);
DDSS:=(MAX((2 * (BB - VAR29)),0) * 100);
VAR25:=IF(CLOSE<800,EMA(VAR29A,2),IF(CLOSE>800,EMA(VAR29A,2)/100,0));
强弱等级:IF(VAR25 >= 100,6,IF((VAR25>=80 AND VAR25<100),5,IF(VAR25>=60 AND VAR25<80,4,IF(VAR25>=40 AND VAR25<60,3,IF(VAR25>=20 AND VAR25<40,2,IF(VAR25>=0 AND VAR25<20,1,IF(VAR25<0 AND VAR25>=(-30),-1,IF(VAR25<(-30) AND VAR25>(-60),-2,IF(VAR25<(-60) AND VAR25>(-100),-3,IF(VAR25<(-100),-4,0)))))))))),LINETHICK0;
强弱:VAR25,LINETHICK0;
MA强弱5:MA(VAR25,5),LINETHICK0;
MA强弱13:MA(VAR25,13),LINETHICK0;