原专吸庄血只有买入指标,没有卖出指标,猎庄敢死队买入卖出信号太滞后,我在专吸庄血加入卖出信号,与猎庄敢死队组合使用,另加使用说明。
专吸庄血修改版原码如下:
n:=5;
var1:4*SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1),3.2,1),COLORYELLOW,linethick0;
var2:8,colorgreen,linethick0;
上升在即: IF(CROSS(var1,var2),50,0),stick,COLOR0000cc,linethick2;
专吸庄血: IF(var1<=8,25,0),stick,COLORwhite,linethick2;
DRAWICON(CROSS(var1,var2),8,1);
Varo5:=LLV(LOW,27);
Varo6:=HHV(HIGH,34);
Varo7:=EMA((CLOSE-Varo5)/(Varo6-Varo5)*4,4)*25;
建仓区: IF((Varo7<10),80,100) ,color00ccff,linethick1;
0,linethick2 ,colorffcc00;
DRAWICON(CROSS(var1,100),100,2);
DRAWICON((100-var1<3 and 100-var1>0),100,2);
DRAWTEXT(cross(85,var1),85,'▼'),colorgreen;
DRAWTEXT(CROSS(var1,35),35,'▲'),colorred;
猎庄敢死队原码如下:
B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;
B2:=SMA(B1,9,1)+100;
B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
B7:IF(B6>60,B6-60,0);
持有:STICKLINE(REF(B7,1)<B7,B7,REF(B7,1),5,0),colorred;
A:0,pointdot,colorred,Linethick3;
用法说明:
1、第一次出现哭脸后,可以卖出,但猎庄敢死队指标中同时出现红色方块(注意是第一块出现,或后一天出现)或VAR1线趋势继续向上可继续持股,等红色方块消失或变极小后一定卖出。
2、出现哭脸后,如果股价只是在小幅度范围内波动,同时VAR1线在100与第一条虚线(图中共有二条虚线,上面的为第一条)之间运行时,也可以继续持股,前题是猎庄敢死队指标中红色方块没有消失,如消失即可卖出,但有风险。(出现笑脸的股票那么多,就不要在此浪费时间,何必在一颗树上掉死)
3、如果买入信号在建仓区之前出现,应提前出局;如同时出现,应以观望为主。
4、建仓区域频繁出现时应以观望为主。
5、只要没有未来函数,所有指标都不可能很准,指标只能作为参考,具体情况可根据自已的经验和大盘走势进行研判。
修改后的
专吸庄血
n:=5;
var1:4*SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,n))/(HHV(HIGH,n)-LLV(LOW,n))*100,5,1),3.2,1),COLORYELLOW,linethick0;
var2:8,colorgreen,linethick0;
上升在即: IF(CROSS(var1,var2),50,0),stick,COLOR0000cc,linethick2;
专吸庄血: IF(var1<=8,25,0),stick,COLORwhite,linethick2;
DRAWICON(CROSS(var1,var2),8,1);
Varo5:=LLV(LOW,27);
Varo6:=HHV(HIGH,34);
Varo7:=EMA((CLOSE-Varo5)/(Varo6-Varo5)*4,4)*25;
建仓区: IF((Varo7<10),80,100) ,color00ccff,linethick1;
0,linethick2 ,colorffcc00;
DRAWICON(CROSS(100,var1),100,2);
DRAWICON((100-var1<3 and 100-var1>0),100,2);
DRAWTEXT(cross(85,var1),85,'▼'),colorgreen;
DRAWTEXT(CROSS(var1,35),35,'▲'),colorred;
DRAWTEXT(CROSS(var1,104),104,'◆'),colorblue;
DRAWTEXT(CROSS(var1,110) or CROSS(var1,120),115,'○'),colorwhite;
强弱分界线:55,colorred;
Y:=if((55-var1)>=0,-1,1),colorgreen;
持有:Y=1,colorred;
观望:Y=-1,colorgreen;
|