通道主图 源码
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2013-02-15 10:26:00
公式简介:
N:=13;N1:=102;M:=7;
VAR2:=CLOSE*VOL;
VAR3:=EMA((EXPMA(VAR2,3)/EXPMA(VOL,3)+EXPMA(VAR2,6)/EXPMA(VOL,6)
+EXPMA(VAR2,12)/EXPMA(VOL,12)+EXPMA(VAR2,24)/EXPMA(VOL,24))/4,N);
SUP:1.06*VAR3,COLORLIGREEN;
SDN:VAR3*0.94,COLORLIGREEN;
VAR4:=EXPMA(CLOSE,9);
LUP:EXPMA(VAR4*1.14,5),COLORBLUE;
LDN:EXPMA(VAR4*0.86,5),COLORBLUE;
DRAWBAND(LUP,RGB(15,15,158),LDN,RGB(15,15,158));
DRAWBAND(SUP,RGB(46,99,46),SDN,RGB(46,99,46));
AAX:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:AAX*N1/100,LINETHICK2,COLORYELLOW;
通道2:AAX*(200-N1)/100,LINETHICK2,COLORYELLOW;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:(1+M/100)*DD,LINETHICK2,COLORMAGENTA;
通道4:(1-M/100)*DD,LINETHICK2,COLORMAGENTA;
DRAWICON(L<=SDN AND L<=LDN AND L<=通道2 AND L<=通道4 AND O<=C,L*0.97,1);
DRAWICON(H>=SUP AND H>=LUP AND H>=通道1 AND H>=通道3,H*1.03,2);
STICKLINE(C>=O,H,L,0,1),COLOR0000FF;
STICKLINE(C>=O,C,O,2.8,0),COLOR0000BB;
STICKLINE(C>=O,C,O,2,0),COLOR0000DD;
STICKLINE(C>=O,C,O,1.2,0),COLOR0000EE;
STICKLINE(C>=O,C,O,0.4,0),COLOR0000FF;
STICKLINE(C<O,H,L,0,1),COLORFFFF00;
STICKLINE(C<O,C,O,2.8,0),COLOR999900;
STICKLINE(C<O,C,O,2,0),COLORBBBB00;
STICKLINE(C<O,C,O,1.2,0),COLORDDDD00;
STICKLINE(C<O,C,O,0.4,0),COLORFFFF00;
[url=http://www.goodgupiao.com/gupiaogongshi/25903.html][B]通道主图 源码[/B][/url]