今天受台风影响,不用上班,抽了个时间做了个反转指标.初步测试感觉还可以,但还有不足的地方.所以把源码放上供大家一起研究;
该指标一共两个公式:副图预警和选股公式,为了节省大家的共享币,就放在了一起了.下载安装即可.
提示:所有的指标都不是万能的,只能做来参考;当出现信号时,还要看个人的选股能力;
用法:
为了方便节省更多的窗口,本指标特意放到了量能图上.
当量能图上出现黄色的量柱时,即是预警信号;
{猎手VOL量能--底反转副图}
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME 0.5,TOTAL,MTIME);
VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8) 1),VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8) 1),VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,5);
MAVOL2:MA(VOLUME,10);
HLC:=REF(MA((HIGH+LOW+CLOSE)/3,10),1);
HV:=EMA(HHV(HIGH,10),3);
TJ01:=EMA(HLC*2-HV,3);
VAR1:=MA(C,5);
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(VAR3*10,3);
VAR5:=LLV(LOW,13);
VAR6:=HHV(VAR4,13);
VAR7:=EMA(IF(LOW =VAR5,(VAR4+VAR6*2)/2,0),3)/618;
VAR8:=IF(VAR7 500,500,VAR7);
TJ02:=C VAR1 AND VAR8
TJ03:= KDJ.J REF( KDJ.J ,1) AND REF( KDJ.J ,1) REF( KDJ.J ,2);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
TJ04:=DIF-REF(DIF,1) 0.01;
XG:=TJ01 AND TJ02 AND TJ03 AND TJ04;
STICKLINE(XG,0,V,2,0)COLORYELLOW;
{猎手底反转选股公式}
HLC:=REF(MA((HIGH+LOW+CLOSE)/3,10),1);
HV:=EMA(HHV(HIGH,10),3);
TJ01:=EMA(HLC*2-HV,3);
VAR1:=MA(C,5);
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(VAR3*10,3);
VAR5:=LLV(LOW,13);
VAR6:=HHV(VAR4,13);
VAR7:=EMA(IF(LOW =VAR5,(VAR4+VAR6*2)/2,0),3)/618;
VAR8:=IF(VAR7 500,500,VAR7);
TJ02:=C VAR1 AND VAR8
TJ03:= KDJ.J REF( KDJ.J ,1) AND REF( KDJ.J ,1) REF( KDJ.J ,2);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
TJ04:=DIF-REF(DIF,1) 0.01;
XG:TJ01 AND TJ02 AND TJ03 AND TJ04;