分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]背离指标(同花顺公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2022-04-19 00:12:40
软件简介:

背离指标

MA3:MA(CLOSE,3);  
MA5:MA(CLOSE,5);  
MA10:MA(CLOSE,10);  
MA20:MA(CLOSE,20);  
MA30:MA(CLOSE,30);  
MA60:MA(CLOSE,60);  
MA120:MA(CLOSE,120);  
MA250:MA(CLOSE,250); 
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,8);
A1:=BARSLAST(REF(CROSS(diff,dea),1));  
B1:=REF(C,A1+1)>C AND REF(diff,A1+1)<diff AND CROSS(diff,dea);  
DRAWTEXT(IF(B1>0,1,0),L-0.1,'MACD底背'),colorgreen;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
k:=SMA(RSV,3,1);
d:=SMA(k,3,1);
A2:=BARSLAST(REF(CROSS(k,d),1));  
B2:=REF(C,A2+1)>C AND REF(k,A2+1)<k AND CROSS(k,d);  
DRAWTEXT(IF(B2>0,1,0),L-0.25,'KDJ底背'),coloryellow;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));  
B3:=REF(C,A3+1)>C AND REF(RSI1,A3+1)<RSI1 AND CROSS(RSI1,RSI2);  
DRAWTEXT(IF(B3>0,1,0),L-0.4,'RSI底背'),colorcyan;  
C1:=BARSLAST(REF(CROSS(dea,diff),1));  
D1:=REF(C,C1+1)<C AND REF(diff,C1+1)>diff AND CROSS(dea,diff);  
DRAWTEXT(IF(D1>0,1,0),H+0.1,'MACD顶背'),colorwhite; 
C2:=BARSLAST(REF(CROSS(d,K),1));  
D2:=REF(C,C2+1)<C AND REF(k,C2+1)>k AND CROSS(d,K);  
DRAWTEXT(IF(D2>0,1,0),H+0.25,'KDJ顶背'),colorwhite;  
C3:=BARSLAST(REF(CROSS(RSI2,RSI1),1));  
D3:=REF(C,C3+1)<C AND REF(RSI1,C3+1)>RSI1 AND CROSS(RSI2,RSI1);  
DRAWTEXT(IF(D3>0,1,0),H+0.4,'RSI顶背'),colormagenta; 
 

[url=http://www.70822.com/soft/sort013/sort036/down-161903.html]背离指标(同花顺公式 主图 源码 测试图)[/url]

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