分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册
当前位置:分析家公式网股票公式通达信公式 → 一键转帖:背离指标

软件名称:[B]背离指标[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2008-10-24 08:15:39
软件简介:

背离指标(通达信)

{背离指标(通达信)}
LC:=REF(C,1);
UP:=(C>O OR C>LC) AND V>REF(V,1);
VAR1:=IF(MA(C,5)/MA(MA(C,9),16)<=0.85 AND C/LC>0.9015 AND C/LC<1.05 AND V/CAPITAL*100<5,50,0);
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:3*K-2*D,COLORCCCC00;
RSV34:=100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)),COLORCCCC00;
K34:SMA(RSV34,3,1),COLOR00CC00;
BIAS34:=((C-MA(C,34))/MA(C,34)*100+10)*5;
BIAS70:=((C-MA(C,70))/MA(C,70)*100+10)*5;
KB34:(K34+BIAS34)/4+10,COLOR0099CC;
KBB34:(KB34+ABS(BIAS34-BIAS70))/2-5,COLORCCCC00;
VARF:=IF(VAR1>0 AND KBB34<0,200,0);
VAR10:=IF(KBB34<0 AND C=LLV(C,10) AND C/LC>0.9015 AND C/LC<1.05 AND V/CAPITAL*100<5 AND V<HHV(V,10),-5,0);
VAR11:=IF(KBB34<0 AND VAR10<0,100,0);
VAR15:=MIN(REF(C,2)*0.86,REF(C,13)*0.77);
VAR18:=IF((C-VAR15)/C<0.019 AND SUM(100*V/CAPITAL,5)/5<1.8,1,0);
底:IF((VAR10<0 OR VAR1>0) AND VAR18>0 AND V<HHV(V,10),100,0),LINETHICK2,COLORCC00FF;
XX:=VARF>0 AND VAR10<0 AND VAR11>0 AND VAR18>0 AND SUM(V/CAPITAL*100,5)/5<1;
底2:IF(XX,90,0) AND V<HHV(V,10),LINETHICK2,COLOR00CCCC;
底3:IF((((KB34<-8 OR (J<-12 AND KB34<15)) AND C=LLV(C,10) AND L=LLV(L,10)) OR KBB34<-3) AND C<L*1.045 AND V<HHV(V,10) AND C>LC*0.9015,70,0),LINETHICK2,COLOR0066FF;
BB:=IF((K34<10 OR (K34<15 AND HHV(H,5)/LLV(C,5)>1.15)) AND KB34<=-0.5,1,0);
抢反弹:IF(BB=1 AND C=LLV(C,10) AND C<L*1.045 AND V<HHV(V,10) AND C>LC*0.9015,60,0),LINETHICK2,COLORCCCCCC;
       {MKR3背离8}
DI:=(EMA(C,12)-EMA(C,26))/C*500,LINETHICK2,COLORFFCC00;
DE:=EMA(DI,9),LINETHICK1,COLORFFFFFF;
MACD1:=(DI-DE)*2,COLORSTICK,COLORFF99FF;
NM:=CROSS(DI,DE);
RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORCCCCCC;
A2:=BARSLAST(REF(J=LLV(J,10) AND C=LLV(C,10) AND L=LLV(L,10),1));
B2:=REF(C,A2+1)>C AND REF(J,A2+1)<J AND C=LLV(C,10) AND L=LLV(L,10) AND C>LC*0.9015;
KDJ底背:DRAWTEXT(B2>0 AND V<HHV(V,10),80,'K底'),COLORFF33FF;
A3:=BARSLAST(REF(RSI6=LLV(RSI6,10) AND C=LLV(C,10) AND L=LLV(L,10),1));
B3:=REF(C,A3+1)>C AND REF(RSI6,A3+1)<RSI6 AND C=LLV(C,10) AND L=LLV(L,10);
RSI底背:DRAWTEXT(B3>0 AND V<HHV(V,10),65,'R底'),COLORFF33FF;
A4:=BARSLAST(REF(MACD1=LLV(MACD1,10) AND C=LLV(C,10) AND L=LLV(L,10),1));
B4:=REF(C,A4+1)>C AND REF(MACD1,A4+1)<MACD1 AND C=LLV(C,10) AND L=LLV(L,10);
MACD1底背:DRAWTEXT(B4>0 AND V<HHV(V,10),50,'M底'),COLORFF33FF;
C1:=BARSLAST(REF(MACD1=HHV(MACD1,10) AND C=HHV(C,10) AND H=HHV(H,10),1));
D1:=REF(C,C1+1)<C AND REF(MACD1,C1+1)>MACD1 AND C=HHV(C,10) AND H=HHV(H,10);
C2:=BARSLAST(REF(J=HHV(J,10) AND C=HHV(C,10) AND H=HHV(H,10),1));
D2:=REF(C,C2+1)<C AND REF(J,C2+1)>J AND C=HHV(C,10) AND H=HHV(H,10);
C3:=BARSLAST(REF(RSI6=HHV(RSI6,10) AND C=HHV(C,10) AND H=HHV(H,10),1));
D3:=REF(C,C3+1)<C AND REF(RSI6,C3+1)>RSI6 AND C=HHV(C,10) AND H=HHV(H,10);
KDJ顶背:DRAWTEXT(D2>0,50,'K顶'),COLOR00FF00;
MACD顶背:DRAWTEXT(D1>0,20,'M顶'),COLOR00FF00;
RSI顶背:DRAWTEXT(D3>0,35,'R顶'),COLOR00FF00;
       {一招定乾坤}
NV:=(V>REF(V,1) OR V>MA(V,5)) AND MA(V,5)>REF(MA(V,5),1);
DRAWTEXT((CROSS(C,MA(C,5)) OR CROSS(C,MA(C,10))) AND NV AND NM AND CROSS(K,D),30,'金叉'),COLOR00FFFF;

[url=http://www.70822.com/soft/sort013/sort05/down-3706.html]背离指标[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:46.87500 毫秒