您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:压力支撑价位自动画线(源码)

压力支撑价位自动画线(源码)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:4.00 KB
更新时间:2010-08-09 10:04:00
公式简介:

市场成本:DMA(AMOUNT/V/100,V/CAPITAL),COLORWHITE,NODRAW;
中:=EMA((HHV(H,20/2)+LLV(L,20/2))/2,20/3),COLORMAGENTA;
预测:IF((H+L+C+O)/4>=中,FORCAST(H,5),FORCAST(L,5)),COLORYELLOW,NODRAW;
心:=(HIGH + LOW + CLOSE+OPEN)/4;
阻:2*心-LOW,COLORMAGENTA,NODRAW;
阻Ⅰ:L+(心-L)+(H-L),COLORGREEN,NODRAW;
阻Ⅱ:H+(心-L)+(C-L),COLORLIRED,NODRAW;
撑:L+(C-心),COLORLIGREEN,NODRAW;
撑Ⅰ:2*心-HIGH,COLORLIMAGENTA,NODRAW;
撑Ⅱ:心-(H-L)COLORRED,NODRAW;

H1:=REFDATE(市场成本,DATE);
H2:=REFDATE(预测,DATE);
H3:=REFDATE(阻,DATE);
H4:=REFDATE(阻Ⅰ,DATE);
H5:=REFDATE(阻Ⅱ,DATE);
H6:=REFDATE(撑,DATE);
H7:=REFDATE(撑Ⅰ,DATE);
H8:=REFDATE(撑Ⅱ,DATE);

STICKLINE(CURRBARSCOUNT=1,H1,H1,10,-2),COLORWHITE,LINETHICK2;
STICKLINE(CURRBARSCOUNT=1,H2,H2,10,-2),COLORYELLOW,LINETHICK2;
STICKLINE(CURRBARSCOUNT=1,H3,H3,10,-2),COLORMAGENTA,LINETHICK2;
STICKLINE(CURRBARSCOUNT=1,H4,H4,10,-2),COLORGREEN,LINETHICK2;
STICKLINE(CURRBARSCOUNT=1,H5,H5,10,-2),COLORLIRED,LINETHICK2;
STICKLINE(CURRBARSCOUNT=1,H6,H6,10,-2),COLORLIGREEN,LINETHICK2;
STICKLINE(CURRBARSCOUNT=1,H7,H7,10,-2),COLORLIMAGENTA,LINETHICK2;
STICKLINE(CURRBARSCOUNT=1,H8,H8,10,-2),COLORRED,LINETHICK2;
 


[url=http://www.goodgupiao.com/gupiaogongshi/9074.html][B]压力支撑价位自动画线(源码)[/B][/url]