量价共振 副图源码 说明
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-06-28 08:33:00
公式简介:
20,COLORMAGENTA,LINEDASHDOT;-20,COLORCYAN,LINEDASHDOT;
M1:=2;m2:=60;
均价:=(C+(H+l)/2*0.382+(c+O)/2*0.618)/2;
差价:=((c-REF(c,1))*0.382+(C-O)*0.618)*0.382;
乖离率:=(SMA(均价,M1,1)-MA(SMA(均价,2,1),M2))/MA(SMA(均价,2,1),M2)*100,COLORWHITE;
MID:乖离率,COLORWHITE;
MA1:ema(eMA(MID,4)-EMA(差价,246)/4,2),COLORRED;
MA2:EMA(MA1,5),COLORYELLOW;
PARTLINE(MA1<=REF(MA1,1) ,MA1),COLOR22FF22,COLOR00bb00;
PARTLINE(MA2<=REF(MA2,1),MA2),COLORFFCC66;
PARTLINE(乖离率<=MA1 ,乖离率),COLORGRAY;
QJ:=ema(eMA(均价,4)-EMA(差价,246)/4,2);
J1:=IF(CLOSE>QJ,VOL,0);
J2:=IF(CLOSE<QJ,VOL,0);
量能:MA(SUM(J1-J2,15),4)/100000,COLORMAGENTA;
趋势:EMA(量能,3),COLORGREEN;
VAR3:(量能-趋势),LINETHICK;
共振点:=CROSS(MID,mA1)AND VAR3>ref(VAR3,1)AND (-15>ref(MA1,1) OR (MA1>-5 ));
XG:IF(共振点,15,0),COLOR00AA99;
[url=http://www.goodgupiao.com/gupiaogongshi/21263.html][B]量价共振 副图源码 说明[/B][/url]