软件名称:[B]虚拟涨幅价格主图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2019-06-22 09:18:20
软件简介:
通达信公式虚拟涨幅价咯主图
XK:=30;
显示:=0;
{虚拟涨幅价咯}
HH:=IF(BETWEEN(DATE,1150601,1150630),H,-999);
T:=HHVBARS(HH,0);
TT:=BARSLAST(L=LLV(L,T+1));
T1:=BARSLAST(CURRBARSCOUNT=CONST(TT)+1);
XL:=REFX(MIN(C,O),BARSNEXT(T1=0));
DRAWICON(MIN(C,O)=XL,L,1);
ZTKX:=IF(ISLASTBAR,REF(XL,T)*(1+XK/100),DRAWNULL),NODRAW;
STICKLINE(ISLASTBAR,ZTKX,MAX(OPEN,CLOSE),0,-1),COLORLIGRAY;
ZF:=(CONST(ZTKX)/REF(XL,T)-1)*100;{涨幅}
JG:=REF(XL,T)*(1+XK/100);
DRAWTEXT(CURRBARSCOUNT=4,JG,VARCAT(VARCAT("价咯:",VAR2STR(CONST(ZTKX),2)),"元")),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=10,JG,VARCAT(VARCAT("涨幅:",VAR2STR(ZF,2)),"%")),COLORYELLOW;
{停复牌}{分析家公式网www.70822.com}
复牌:=DAY-IF(WEEKOFYEAR=REF(WEEKOFYEAR,1),1,3)>REF(DAY,1) OR WEEKOFYEAR-1>REF(WEEKOFYEAR,1);
停牌:=REFX(复牌,1);
DRAWTEXT(停牌,L*0.99,"停"),COLORWHITE;
DRAWTEXT(复牌,L*0.99,"复"),COLORWHITE;
{均线}
NOTEXTM5:IF(显示=1,MA(C,5),DRAWNULL),COLORWHITE;
NOTEXTM10:IF(显示=1,MA(C,10),DRAWNULL),COLORYELLOW;
NOTEXTM20:IF(显示=1,MA(C,20),DRAWNULL),COLORMAGENTA;
NOTEXTM60:IF(显示=1,MA(C,60),DRAWNULL),COLORGREEN;
{ENE};
NOTEXT上:IF(显示=2,(1+11/100)*MA(CLOSE,9),DRAWNULL),COLORWHITE;
NOTEXT下:IF(显示=2,(1-9/100)*MA(CLOSE,9),DRAWNULL),COLORYELLOW;
NOTEXT中:IF(显示=2,(NOTEXT上+NOTEXT下)/2,DRAWNULL),COLORMAGENTA;
{EXPMA}
NOTEXTEXP1:IF(显示=3,EMA(CLOSE,12),DRAWNULL),COLORWHITE;
NOTEXTEXP2:IF(显示=3,EMA(CLOSE,50),DRAWNULL),COLORYELLOW;
[url=http://www.70822.com/soft/sort013/sort05/down-137974.html]虚拟涨幅价格主图[/url]