软件名称:[B]简单均线(主图 源码)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2011-03-16 03:30:35
软件简介:
自动划线判断高点压力,低点支撑,均线设置4条,用户可自行根据需要修改。
{m1,5 m2,20 m3,30 m4,60}
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
HIGHN:=5;
LOWN:=HIGHN;
AA:=REF(C,HIGHN)=HHV(C,2*HIGHN+1);
QY:=BACKSET(AA,HIGHN+1);
CC:=FILTER(QY,HIGHN) AND C=HHV(C,HIGHN+1);
DRAWICON(CC,C*1.02,2);
DDD:=BARSLAST(CC);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DINGBU:=IF(DDD,REF(C,DDD),C);{顶部}
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DINGBU1:=REF(DINGBU,DDD+1);
GDCS1:=CONST(DINGBUTS);
DINGBUTS1:=REF(DINGBUTS,DDD+1);
GDCS2:=CONST(DINGBUTS1);
DINGBU2:=REF(DINGBU1,DDD+1);
MM:=IF(CURRBARSCOUNT>GDCS2,0,1);
高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,C,CURRBARSCOUNT=GDCS1,C,1) COLORGREEN,DOTLINE;
DRAWLINE(CURRBARSCOUNT=GDCS2,C,ISLASTBAR,REF(C,GDCS2-1),1),DOTLINE,COLORBLUE;
DRAWLINE(CURRBARSCOUNT=GDCS1,C,ISLASTBAR,REF(C,GDCS1-1),1),DOTLINE,COLORCYAN;
AA1:=REF(C,LOWN)=LLV(C,2*LOWN+1);
QY1:=BACKSET(AA1,LOWN+1);
CC1:=FILTER(QY1,LOWN) AND C=LLV(C,LOWN+1);
介入:DRAWICON(CC1,C*0.98,1);
DD1:=BARSLAST(CC1);
DDTS:=IF(CC1,CURRBARSCOUNT,0);
YDB:=IF(DD1,REF(C,DD1),C);
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
DDCS1:=CONST(DDTS1);
ZDB:=REF(YDB,DD1+1);
DDTS2:=REF(DDTS1,DD1+1);
DDCS2:=CONST(DDTS2);
低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,C,CURRBARSCOUNT=DDCS1,C,1) COLORRED,DOTLINE;
DRAWLINE(CURRBARSCOUNT=DDCS1,C,ISLASTBAR,REF(C,DDCS1-1),1),DOTLINE,COLORMAGENTA;
DRAWLINE(CURRBARSCOUNT=DDCS2,C,ISLASTBAR,REF(C,DDCS2-1),1),DOTLINE,COLORYELLOW;
[url=http://www.70822.com/soft/sort013/sort05/down-31668.html]简单均线(主图 源码)[/url]