庆双节特发珍藏指标 十全十美(副图 说明 源码 贴图)
本指标细心观察 你会受益无穷
线:=SMA(C,8,1);
STICKLINE(C,0,100,4,0),COLOR003300;
STICKLINE(线>=SMA(线,4,1) AND 线>REF(线,1) AND REF(线,1)>REF(线,2),0,50,4,0),COLOR73599D;
VAR01:=VOL/SUM(VOL,13);
VAR02:=DMA(CLOSE,VAR01);
豫狐狩猎:=(CLOSE-VAR02)/VAR02*100;
狩猎:=MA(豫狐狩猎,10),COLOR00287D;
STICKLINE(狩猎>=EMA(狩猎,3) AND 狩猎>REF(狩猎,1),50,100,4,0),COLOR00287D;
VAR11:=HHV(HIGH,9)-LLV(LOW,9);
VAR22:=HHV(HIGH,9)-CLOSE;
VAR33:=CLOSE-LLV(LOW,9);
VAR44:=((VAR22)/(VAR11))*(100);
VAR66:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR7:=SMA(((VAR33)/(VAR11))*(100),3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR44,9,1);
VAR10:=IF((VAR9>100),VAR9-100,0);
VAR110:=HHV(HIGH,34);
B1:=EMA(((VAR66-VAR8)/(VAR110-VAR8))*(100),8);
领先:=EMA(B1,5),COLORCYAN;
DRAWBAND(领先,RGB(252,0,252),EMA(领先,4),RGB(147,234,249));
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
STICKLINE(DIF>DEA,100,100.5,3,0),COLORRED,LINETHICK1;
MCDA金叉:DIF>DEA,COLORRED,NODRAW;
DRAWTEXT(ISLASTBAR=1,104,'.MACD'),COLORFFFFFF;
RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
STICKLINE(K>D,90,90.5,3,0),COLORRED;
KDJ金叉:K>D,COLORRED,NODRAW;
DRAWTEXT(CURRBARSCOUNT=60,94,'.KDJ'),COLORFFFFFF;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),9,1))/(SMA(ABS(CLOSE-LC),9,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),26,1))/(SMA(ABS(CLOSE-LC),26,1))*100;
STICKLINE(RSI1>RSI2,80,80.5,3,0),COLOR6633CC;
RSI金叉:RSI1>RSI2,COLOR0080FF,NODRAW;
DRAWTEXT(CURRBARSCOUNT=60,84,'.RSI'),COLORFFFFFF;
VARA1:=LLV(LOW,10);
VARA2:=HHV(HIGH,25);
趋势:= EMA((CLOSE-VARA1)/(VARA2-VARA1)*110,4),COLORFF00FF,LINETHICK5;
STICKLINE(趋势>=REF(趋势,1),70,70.5,3,0),COLOR9933FF;
顶底:趋势>=REF(趋势,1),COLOR9933FF,NODRAW;
DRAWTEXT(CURRBARSCOUNT=60,74,'.顶底'),COLORFFFFFF;
BBI:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;
STICKLINE(CLOSE>BBI,60,60.5,3,0),COLORCC66FF;
BBI金叉:CLOSE>BBI,COLORC080FF,NODRAW;
DRAWTEXT(CURRBARSCOUNT=60,64,'.BBI'),COLORFFFFFF;
VAR1:=1;
VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1);
C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1);
AA:=C1>=C2 ;
BB:=C2>C1 ;
STICKLINE(AA,50,50.5,3,0),COLOR0088FF;
抢反弹:C1>=C2,COLORC080FF,NODRAW;
DRAWTEXT(CURRBARSCOUNT=60,54,'.抢反弹'),COLORFFFFFF;
VOLUME:=VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
STICKLINE(MAVOL1>=MAVOL2,40,40.5,3,0),COLOR8080FF;
成交量:MAVOL1>MAVOL2,COLOR8080FF,POINTDOT,NODRAW;
DRAWTEXT(CURRBARSCOUNT=60,44,'.成交量'),COLORFFFFFF;
周K:=MA("KDJ.K"(45,3,3) ,5);
周D:=MA("KDJ.D"(45,3,3) ,5);
周J:=MA("KDJ.J"(45,3,3) ,5);
STICKLINE(周K>=周D,30,30.5,3,0),COLORFF00FF;
周KD金叉:周K>= 周D,COLORFF00FF,NODRAW;
DRAWTEXT(CURRBARSCOUNT=60,34,'.周KD金叉'),COLORFFFFFF;
STICKLINE(周K>=REF(周K,1),20,20.5,3,0),COLORFF00FF;
周K拐点:周K>=REF(周K,1),COLORFF00FF,NODRAW;
DRAWTEXT(CURRBARSCOUNT=60,24,'.周K拐点'),COLORFFFFFF;
STICKLINE(周J>=REF(周J,1),10,10.5,3,0),COLORFF00FF;
周J拐点:周J>=REF(周J,1) POINTDOT,NODRAW;
DRAWTEXT(CURRBARSCOUNT=60,14,'.周J拐点'),COLORFFFFFF;
STICKLINE (周K拐点 AND 周J拐点 AND 周KD金叉 AND MCDA金叉 AND KDJ金叉
AND RSI金叉 AND 顶底 AND BBI金叉 AND 抢反弹 AND 成交量,0,5,3,0),COLORYELLOW;
猎狼指导线:=(MCDA金叉+KDJ金叉+RSI金叉+顶底+BBI金叉+抢反弹+成交量+周KD金叉
+周K拐点+周J拐点)*11,LINETHICK2,COLOR0080FF;
决策曲线:MA(猎狼指导线,5),COLOR0080FF;
决策带:=MA(猎狼指导线,9),COLORRED,NODRAW;
DRAWBAND(决策带,RGB(200,50,50),EMA(决策带,3),RGB(0,159,0));
DRAWTEXT(CURRBARSCOUNT=40,75,'狩猎区'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=40,25,'加持仓'),COLORFFFFFF;