软件名称:[B]K线附图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2017-02-07 02:47:24
软件简介:
// ZIG(3,5);
IF(STRFIND(PERIODNAME,'分钟',2)){
VERLINE(DATE<>REF(DATE,1),1),colorgray;
}ELSE{
VERLINE(YEAR<>REF(YEAR,1),1),colorgray;
}
DRAWKLINE(H,O,L,C);
名: STKNAME,colorwhite,nodraw;
MA5:MA(C,5),colorwhite;
MA10:MA(C,10),coloryellow;
MA20:MA(C,20),colormagenta;
MA30:MA(C,30),colorgreen;
低:L,nodraw,colorwhite;
高:H,nodraw,colorwhite;
开:O,nodraw,colorwhite;
收:C,colorred,nodraw;
IF(抄底) { // 参考 kle 指标
N:=118;比例:=25;
LONGMA:=SMA(O,N,1)*0.9+SMA(O,227,1)*0.1;// sma(x,n,1)=ema(x,2*n-1)
R:=IF(LONGMA>0,比例-LN(LONGMA),REVERSE(比例));// LN函数的应用,目的是减少卖出的点位;REVERSE确保 发财线 为负数时,建仓线 在 发财线 下方
jian:=(1-R/100)*LONGMA;// 建仓线
DD:= L <= (LONGMA*R/100*0.01+jian);// 最低价接近 建仓线
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);//www.70822.com
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);
}
[url=http://www.70822.com/soft/sort013/sort036/down-108118.html]K线附图[/url]