乖离通道 通达信副图指标
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2015-10-19 22:45:00
公式简介:
长乖:(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100,COLORYELLOW,STICK,LINETHICK1;
IF(长乖<=0,长乖,0),COLORWHITE,STICK,LINETHICK1;
中乖:(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100,COLORFF00FF,STICK,LINETHICK1;
IF(中乖<=0,中乖,0),COLORFFFF33,STICK,LINETHICK1;
短乖:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100,COLORRED,STICK,LINETHICK1;
IF(短乖<=0,短乖,0),COLORFF9900,STICK,LINETHICK1;
VAR2:=REF(HIGH,1)*1.1;{{昨日最高价*系数}
VAR3:=HIGH*1.1;{当日最高价*系数}
VAR4:=(VAR3*VOL+VAR2*(CAPITAL-VOL))/CAPITAL;
VAR5:=REF(LOW,1)*0.9; {昨日最低价*系数}
VAR6:=LOW*0.9;{当日最低价*系数}
VAR7:=(VAR6*VOL+VAR5*(CAPITAL-VOL))/CAPITAL;
VAR8:=EMA(VAR7,30);{求30日VAR7的移动平均}
VAR9:=EMA(VAR4,30);{求30日VAR4的移动平均}
VAR10:=VAR9-2;
VAR11:=IF(CLOSE<=VAR8,VAR10,VAR9);
VAR12:=VAR11*2.5;
VAR13:=VAR10*2.5;
STICKLINE(VAR12=VAR13,中乖,0,3,0),COLOR408000;
通道上:MA(短乖,20)+1.618*STD(长乖,20),COLOR565656,LINETHICK1;
通道下:MA(短乖,20)-1.618*STD(长乖,20),COLOR989898,LINETHICK1;
轨迹:短乖,COLOR00FF00,LINETHICK1;
[url=http://www.goodgupiao.com/gupiaogongshi/38731.html][B]乖离通道 通达信副图指标[/B][/url]