软件名称:[B]牛熊线(主图 源码)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:9.00 KB
官方主页:Home Page
更新时间:2011-06-25 14:22:45
软件简介:
牛熊线
A线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORFF00FF,LINETHICK2;
B线:MA(A线,5),coloryellow,LINETHICK2;
牛熊线:MA(A线,54),POINTDOT,linethick5,COLORGRAY;
DRAWTEXT(cross(A线,B线*0.99),low-0.25,'★买啊!'),COLORYELLOW;
DRAWICON(CROSS(B线,A线*0.977),H*1.02,2);
{今日支撑}
gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100);
明日阻力:=l+(gj-l)+(c-l);
明日支撑:=l+(c-gj);
今日阻力:=REF(明日阻力 , 1);
今日支撑:=REF(明日支撑 , 1);
STICKLINE(DISPSTATUS=2 and c>=今日阻力,今日阻力,今日阻力,20,0),Color0000FF;
STICKLINE(DISPSTATUS=2 and c<今日阻力,今日阻力,今日阻力,20,0),Color00FF00;
STICKLINE(DISPSTATUS=2 and c>=今日支撑,今日支撑,今日支撑,20,0),ColorFF00FF;
STICKLINE(DISPSTATUS=2 and c<今日支撑,今日支撑,今日支撑,20,0),ColorFF9900;
保护价:=(REF(C,2)+REF(C,1)+O)/3;
{抄底}
VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR22:=SMA(VAR21,3,1);
VAR23:=SMA(VAR22,3,1);
VAR24:=SMA(VAR23,3,1);
VAR25:=CROSS(VAR23,VAR24) AND VAR23<20;
DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.8,'←抄底'),COLORRED;
{量柱}
TJ:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
K1:=SUMBARS(TJ,1);
STICKLINE(K1,REF(C,K1-1),REF(C,K1-1),6,0),ColorAFFF00;
VL:=REF(LOW,1);
VAR12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;
VAR14:=MA(VAR12,13);
VAR15:=LLV(LOW,34);
VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);
VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);
VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR110*10.9;
T:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),20);
DRAWTEXT(T,LOW-0.4,'←洗盘结束'),COLORFF00FF;
DRAWTEXT(T,LOW-0.2,'|'),COLORFF00FF;
VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR22:=SMA(VAR21,3,1);
VAR23:=SMA(VAR22,3,1);
VAR24:=SMA(VAR23,3,1);
VAR29:=CROSS(VAR24,VAR23) AND VAR23>80;
DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.4,'←逃顶'),COLORGREEN;
DRAWTEXTREL(0,20,'■所属板块:'+BKNAME),COLORGREEN;
DD:=FINANCE2(35);SS:=FINANCE2(37);
DRAWTEXTREL(0,80,'■总股本:'+NUMTOSTRN(DD,0)+'万' +' 流通A股:'+NUMTOSTRN(SS,0)+'万'),COLORRED;
DRAWTEXTREL(0,140,'■今日阻力:'+NUMTOSTRN(今日阻力 ,2 )+' 今日支撑:'+NUMTOSTRN(今日支撑 ,2 )+' 今日保护价:'+NUMTOSTRN(保护价,3)),Coloryellow;
W:=BARSLAST(DISPSTATUS=1);
P:=BACKSET(DISPSTATUS=2,W/2+1);
K:=BARSLAST(CROSS(P,0.5));
KJ:=HHVALL(HIGH)-LLVALL(LOW);
平衡:=LLVALL(LOW)+KJ/2;
压力:=IF(K>=0,HHVALL(HIGH)-KJ*0.191,平衡);
支撑:=IF(K>=0,LLVALL(LOW)+KJ*0.191,平衡);
低吸:=K>=0 and CROSS(平衡,LOW);
低涨:=(C/LLV(LOW,W)-1)*100;
天:=BARSLAST(L=LLV(LOW,W));
DRAWTEXTREL(0,200,'■低点至今上涨:'+NUMTOSTRN(低涨,2)+'% '+NUMTOSTRN(天,0)+'天'),COLORYELLOW;
DRAWTEXTREL(0,260,'■目前可见K线:'+NUMTOSTRN(W+1,0)+'天'),COLOR00FF00;
[url=http://www.70822.com/soft/sort013/sort03/down-35380.html]牛熊线(主图 源码)[/url]