软件名称:[B]必进清仓[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2018-11-21 01:43:47
软件简介:
//#@Fname=必进清仓
//#@comment=必进清仓指标:该指标综合了1.必进清仓指标2.威廉指标3.kqy买卖指标4.均线指标5.鬼谷神算指标.
//#@control=
//#@FuncType=
//#@style=CLOSE_1:Line0,,1,0,1,5,16777215;MA5:Line0,,1,0,1,5,65535;M5:Line0,,1,0,1,5,65535;CLOSE1:Line0,,1,0,1,5,16777215;LOW144:Line0,,1,0,1,5,65535;LOW144_1:Line0,,1,0,1,5,65535;
//#@availperiod=2147430400
//#@param=M1=10.0000000001,0.0000000001,10.0000000001,1;M2=80.0000000001,0.0000000001,80.0000000001,1;M3=0.0000000001,0.0000000001,20.0000000001,1;M=5.0000000001,0.0000000001,5.0000000001,1;
//#@isDrawCurve=1
//#@Fdesc=综合指标
//#@defaultperiod=16384
//#@coord=D
//#@ordinate=0,0.000000;0,0.000000;0,0.000000;0,0.000000;0,0.000000;0;0,0.000000
//#@@FUNCSPEC@=source
//必进清仓
ema1:=EMA(CLOSE,13);
ema2:=EMA(CLOSE,34),colorred;
ema3:=EMA(CLOSE,55),colorcyan;
var11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
var12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
var13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
var14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
var15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
var16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
var17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
var18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
买:=(var11+var13+var15+var17);
卖:=(var12+var14+var16+var18);
//威廉指标
WR:=100*(HHV(HIGH,M1)-CLOSE)/(HHV(HIGH,M1)-LLV(LOW,M1));
B:=CROSS(M2,WR);
S:=(CROSS(WR,M2)) OR (CROSS(WR,M3));
bm:=BARSLAST(b);
sm:=BARSLAST(s);
bm1:=IF(bm[1]=-1 AND b,1,IF(bm[1]!=-1 AND sm[1]!=-1 AND bm[1]>sm[1] AND b AND b[1]=0,1,0));
sm1:=IF(sm[1]=-1 AND bm[1]!=-1 AND s,1,IF( sm[1]!=-1 AND bm[1]!=-1 AND sm[1]>bm[1] AND s AND s[1]=0,1,0));
//大盘金叉
D1:=CROSS(INDEXC,MA(INDEXC,5));
//KQY指标
V1:=MA(C,3)=HHV(MA(C,3),7);
V2:=MA(C,3)>MA(C,5);
V3:=MA(V,5)>MA(V,10)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
LC20:=REF(CLOSE,1);
RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;
VAR3A:=3;
VAR2A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
加仓:=IF(FILTER(YXF=1,5),5,0),colorliblue,LINETHICK1;
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
FY:=EMA(A51,5);
A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;
kqy1:=(EMA(VAR1,3))*2;
kqy2:=MA(kqy1,3);
买2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2),colorred,LINETHICK2;
卖2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),colorwhite,LINETHICK1;
//股票均线金叉
JC:=CROSS(CLOSE,MA(CLOSE,MA(CLOSE,5)));
CLOSE_1:CLOSE,colorwhite;
MA5:MA(CLOSE,5),coloryellow;
M5:MA(CLOSE,M),coloryellow;//
M10:=MA(CLOSE,10),colormagenta;//
CLOSE1:CLOSE,colorwhite;
LOW1:=LOW,colorwhite;
LOW144:LLV(LOW,144),coloryellow;
LOW144_1:LOW144*0.95,coloryellow;
STICKLINE(INDEXC>INDEXO,LOW144_1,LOW144,1,0),colorred;//柱线
STICKLINE(INDEXC<INDEXO,LOW144_1,LOW144,1,0),colorgreen;//柱线
STICKLINE(CROSS(INDEXC,MA(INDEXC,5)),LOW144_1,LOW144,8,0),colorred;//柱线
STICKLINE(CROSS(MA(INDEXC,5),INDEXC),LOW144_1,LOW144,8,0),colorgreen;//柱线
STICKLINE(CLOSE>=M5,C,M5,2,0),colorred;//柱线
STICKLINE(CLOSE<M5,C,M5,2,0),colorcyan;//柱线
DRAWICON(买>0,C,5);
DRAWICON((bm1>0 AND 买>0) OR (D1 AND 买>0) OR (买2=1 AND 买>0) OR (JC AND 买>0),MA5,1);
DRAWNUMBER((bm1>0 AND 买>0) OR (D1 AND 买>0) OR (买2=1 AND 买>0) OR (JC AND 买>0),LOW144_1*0.95,TOSTRING(L,2));
DRAWICON(卖>0,C,6);
DRAWICON(卖>0,C*0.95,2);
DRAWNUMBER(卖>0,C*1.05,TOSTRING(H,2));
//鬼谷神算简化的公式:
BB:=ZIG(3,50/5)*100,coloryellow;
GG:=MA(BB,2),colorred;
DD:=CROSS(BB,GG)*1000,colorred;
WW:=CROSS(GG,BB)*1000,colorblue;
DRAWTEXT(DD=1000,LOW144_1*0.9,'建仓'),colorred;
DRAWTEXT(WW=1000,HIGH*1.07,'清仓' ),colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-130763.html]必进清仓[/url]