软件名称:[B]KAN指标[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2017-03-06 01:30:14
软件简介:
kan指标:好股好价,长期投资,稳zhuan不赔.
收:收盘价.
建:接近建仓线,建仓
减:减仓线,减仓.
清:清仓线,清仓,卖光,即使继续涨,利润留给其他人.
注意:这里的"K线",不是"标准k线",因为它在负到正的比例区间里.
收:CLOSE,colorred,nodraw;
B:=1;
IF(PERIODNAME()=='60分钟'){B:=4;}ELSE IF(STRFIND(PERIODNAME(),'线',1) AND PERIODNAME()<>'日线') { B:=1/5;}
LONGMA:=SMA(O,118*B,1)*0.9+SMA(O,227*B,1)*0.1;
qsx:=((L*0.9+C*0.1)-LONGMA)/LONGMA*100;
H:=(HIGH-LONGMA)/LONGMA*100;
O:=(OPEN-LONGMA)/LONGMA*100;
L:=(LOW-LONGMA)/LONGMA*100;
C:=(CLOSE-LONGMA)/LONGMA*100;
DRAWKLINE(H,O,L,C);
IF DATE>20170411 THEN RETURN;
趋势线:MA(qsx,15*B),colorred;
R:=IF(LONGMA>0,比例-LN(LONGMA),REVERSE(比例));
jian:=-R;
qing:=2*R;
DD:= L <= (R*0.01+jian);
建:jian,colorliblue;
财:0,colormagenta;
减:R,colorgreen;
清:IF(清仓,qing,DRAWNULL),colorwhite;
时:DATE,colorgray,nodraw;
// kan指标源于kle指标(kino指标) ,维尼大师(380139552) 2017年3月5日发明
// d:=qsx>=REF(qsx,1);
// cd:= (CROSS(-R,REF(qsx,1)) AND CROSS(qsx,-R)) OR (REF(qsx,1)<-R AND REF(d,1)==0 AND d==1);
// DRAWICON(FILTER(cd,8),qsx,1);
IF(抄底) { // 参考 "顶底走势" ///资金抄底///
LC:=REF(C,1);rj:=0;
IF PERIODNAME()=='日线' THEN rj=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;//大单净量
RSI1:=SMA(MAX(C-LC,0),3,1)/SMA(ABS(C-LC),3,1)*100;
RSI2:=SMA(MAX(C-LC,0),5,1)/SMA(ABS(C-LC),5,1)*100;
RSI3:=SMA(MAX(C-LC,0),8,1)/SMA(ABS(C-LC),8,1)*100;
相对强弱:=0.5*RSI1+0.31*RSI2+0.19*RSI3;
rsv8:=100*(C-LLV(L,8))/(HHV(H,8)-LLV(L,8));
wave1:=SMA(rsv8,3,1);
wave2:=SMA(rsv8,5,1);
wave3:=SMA(rsv8,8,1);
短线波段:=0.5*wave1+0.31*wave2+0.19*wave3;
风险系数:=0.5*相对强弱+0.5*短线波段;
CD1:=IF(rj>0 AND 风险系数<20 AND C>O,1,0);//波段小于20,股价翻红;
CD2:=IF(rj>0 AND 风险系数<20 AND L>=REF(L,1) AND C>L,1,0);//波段小于20,股价未翻红,但未创新低;
CD3:=IF(REF(风险系数,1)<20 AND 风险系数>REF(风险系数,1),1,0);//前一日波段小于20,今日转向;
SIGNALBUY:=(CD1=1 OR CD2=1 OR CD3=1);
cd:=(SIGNALBUY AND COUNT(SIGNALBUY,3)=1) AND DD;
// DRAWTEXT(cd,L*0.97," "+TOSTRING(L,2)),colorred;
DRAWICON(cd,L,1);
IF 版本==1 THEN RETURN cd;
}
VERLINE(YEAR<>REF(YEAR,1),1),colorgray;
DRAWTEXT(YEAR<>REF(YEAR,1),-R,'←'+DATE),colorwhite;
IF(逃顶) {
最小值:=LLV(L,10);最大值:=HHV(H,25);
波动线:=EMA((C-最小值)/(最大值-最小值)*4,4);
平均线:=EMA(波动线,3);
IF(PERIODNAME=='日线') {
r0:=((IF(ISNULL(ZDMR[-1]),0,ZDMR)+IF(ISNULL(BDMR[-1]),0,BDMR))-(IF(ISNULL(ZDMC[-1]),0,ZDMC)+IF(ISNULL(BDMC[-1]),0,BDMC)))/SHGZG*100;
rabs:=ABS(REF(r0,1))+ABS(REF(r0,2))+ABS(REF(r0,3))+ABS(REF(r0,4))+ABS(REF(r0,5))/2;
主力攻击:=(r0-rabs>0) AND 平均线>=REF(平均线,1) AND REF(平均线,1)<REF(平均线,2);
主力撤退:=-((r0+rabs<0) AND 平均线<=REF(平均线,1) AND REF(平均线,1)>REF(平均线,2));
DRAWTEXT(主力攻击>0,L,"↖主进"),colorred;
DRAWTEXT(主力撤退<0 AND L >= 0,H*1.03,"↙主退"),colorgreen;
}
信息:=平均线>=REF(平均线,1);
d:=信息=1 AND REF(信息,1)=0 AND (REF(信息,2)+REF(信息,3)=0) AND 平均线<0.5;
dd2:=平均线>2 AND (信息=0 AND REF(信息,1)=1) AND (REF(信息,2)+REF(信息,3)=2);
DRAWTEXT(d=1 AND DD,L*0.96,'↖底'),colorred;
DRAWTEXT(dd2=1 AND H>=qing,H*1.03,'↙顶'),colorgreen;
////机构利器////
VAR8:=REF(C,2);
会员:=SMA(MAX(C-VAR8,0),7,1)/SMA(ABS(C-VAR8),7,1)*100;
逃亡:= 会员 < REF(会员,1) AND 会员>79;
DRAWTEXT(逃亡 AND H>=0,H*1.03,'↙减'),coloryellow;
}
[url=http://www.70822.com/soft/sort013/sort036/down-109221.html]KAN指标[/url]