软件名称:[B]布林主图+红绿持股线+自动画线[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:解密版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2009-08-10 12:44:29
软件简介:
布林主图+红绿持股线+自动画线:
input:N(20,1,100);
趋势: MA(CLOSE,N),coloryellow,LINEDOT;
上轨:趋势+STD(CLOSE,N),colorgray,LINETHICK1;
下轨:趋势-STD(CLOSE,N),colorgray,LINETHICK1;
上极:趋势+2*STD(CLOSE,N),colorcyan,LINETHICK1;
下极:趋势-2*STD(CLOSE,N),colorcyan,LINETHICK1;
上界:趋势+3*STD(CLOSE,N),colorBLUE,LINETHICK0;
下界:趋势-3*STD(CLOSE,N),colorBLUE,LINETHICK0;
DIFF:=(EMA(C,26)-EMA(C,52));
DEA:=EMA(DIFF,52);
MACD:=(2*(DIFF-DEA));
DIF:=(EMA(C,26)-EMA(C,52));
ESS:=EMA(C,26);
EGG:=EMA(C,52);
持股线:(((((((((52-1)*(26+1))*EGG)*1)-((((52+1)*(26-1))*ESS)*1))+(((26+1)*(52+1))*DIF))*1)/((2*52)-(2*26)))*1);
PARTLINE(持股线>=REF(持股线,1),持股线),colorRED,LINETHICK2;
PARTLINE(持股线<REF(持股线,1),持股线),colorGREEN,LINETHICK2;
KLINE(OPEN,HIGH,LOW,CLOSE,0);
HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;
AA:=REF(HIGH,HIGHN)=HHV(HIGH,2*HIGHN+1);
QY:=BACKSET(AA,HIGHN+1);
CC:=FILTER(QY,HIGHN) AND HIGH=HHV(HIGH,HIGHN+1);
DRAWICON(CC,HIGH*1.02,2);
DDD:=BARSLAST(CC);
GDTS:=IF(CC,SYSPARAM(3)-BARPOS+1,0);
DINGBU:=IF(DDD,REF(HIGH,DDD),HIGH);{顶部}
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DINGBU1:=REF(DINGBU,DDD+1);
GDCS1:=REFX(DINGBUTS,SYSPARAM(3)-BARPOS+1);
DINGBUTS1:=REF(DINGBUTS,DDD+1);
GDCS2:=REFX(DINGBUTS1,SYSPARAM(3)-BARPOS+1);
DINGBU2:=REF(DINGBU1,DDD+1);
MM:=IF(SYSPARAM(3)-BARPOS+1>GDCS2,0,1);
高点压力:LINEVALUE(SYSPARAM(3)-BARPOS+1=GDCS2,HIGH,SYSPARAM(3)-BARPOS+1=GDCS1,HIGH,0,1);
DRAWLINE(SYSPARAM(3)-BARPOS+1=GDCS2,HIGH,SYSPARAM(3)-BARPOS+1=GDCS1,HIGH,1) COLORGREEN,LINETHICK2;
DRAWLINE(SYSPARAM(3)-BARPOS+1=GDCS2,HIGH,ISLASTBAR,REF(HIGH,GDCS2-1),1),COLOR0055FF,POINTDOT;
DRAWLINE(SYSPARAM(3)-BARPOS+1=GDCS1,HIGH,ISLASTBAR,REF(HIGH,GDCS1-1),1),COLORYELLOW,POINTDOT;
AA1:=REF(LOW,LOWN)=LLV(LOW,2*LOWN+1);
QY1:=BACKSET(AA1,LOWN+1);
CC1:=FILTER(QY1,LOWN) AND LOW=LLV(LOW,LOWN+1);
DRAWICON(CC1,LOW*0.98,1);
DD1:=BARSLAST(CC1);
DDTS:=IF(CC1,SYSPARAM(3)-BARPOS+1,0);
YDB:=IF(DD1,REF(LOW,DD1),LOW);{底部}
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
DDCS1:=REFX(DDTS1,SYSPARAM(3)-BARPOS+1);
ZDB:=REF(YDB,DD1+1);
DDTS2:=REF(DDTS1,DD1+1);
DDCS2:=REFX(DDTS2,SYSPARAM(3)-BARPOS+1);
低点支撑:LINEVALUE(SYSPARAM(3)-BARPOS+1=DDCS2,LOW,SYSPARAM(3)-BARPOS+1=DDCS1,LOW,0,1);
DRAWLINE(SYSPARAM(3)-BARPOS+1=DDCS2,LOW,SYSPARAM(3)-BARPOS+1=DDCS1,LOW,1) COLORRED,LINETHICK2;
ZGSTAR:(高点压力+低点支撑)/2;
ZGEND:=REFX((高点压力+低点支撑)/2,SYSPARAM(3)-BARPOS+1);
STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);
中轨:LINEVALUE(SYSPARAM(3)-BARPOS+1=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,0,1);
DRAWLINE(SYSPARAM(3)-BARPOS+1=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55BB,LINETHICK2;
DRAWLINE(SYSPARAM(3)-BARPOS+1=DDCS1,LOW,ISLASTBAR,REF(LOW,DDCS1-1),1),COLORMAGENTA,POINTDOT;
DRAWLINE(SYSPARAM(3)-BARPOS+1=DDCS2,LOW,ISLASTBAR,REF(LOW,DDCS2-1),1),COLORCYAN,POINTDOT;
[url=http://www.70822.com/soft/sort013/sort02/down-11622.html]布林主图+红绿持股线+自动画线[/url]