当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:黄金坑背离组合(通达信公式 副图 源码 测试图)
软件名称:[B]黄金坑背离组合(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2023-07-26 00:14:28
软件简介:
黄金坑背离组合
看名称就知道,本指标组合了两个公式,黄金坑和 顶底背离。
自己用得顺手,分享给大家 。
底线:18;
顶线:80,POINTDOT,COLORAC7E5C;
D:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,20),COLORYELLOW;
K:EMA(D,5),COLOR00FF00;
J:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5) ;
M:EMA(J,8),COLORWHITE,;
J,COLORRED;
BIAS1W :=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2W :=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3W :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;
MN:=MA(MM,3);
IF(MN<-4 ,20,0),COLORGREEN,LINETHICK2;
VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;
VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,26);
VAR5:=HHV(HIGH,34);
VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,16);
VAR7:=SMA((SMA(VAR2,2,1)+3),2,1);
VAR8:=EMA(VAR6,4);
VAR9:=SMA(VAR1,3,1);
VAR10:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR11:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR12:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR13:=(VAR10+VAR11+VAR12)/3;
VAR14:=IF(VAR13<=-20,10,0);
VAR15:=HHV(VAR14,10);
VAR24:=LLV(LOW,36);
VAR25:=HHV(HIGH,30);
VAR26:=EMA((CLOSE-VAR24)/(VAR25-VAR24)*4,4)*25;
150;0;
底背离: IF((VAR26<10),110,150), , COLORYELLOW;
顶背离: IF((VAR26>90),40,0), COLORRED;
兜底:STICKLINE(CROSS(MA(C,3),MA(C,5)) AND VAR15,40,0,6,0),COLORRED ;
铁底:STICKLINE(CROSS(VAR7,VAR8),20,0,6,0),COLORF00FF0;
DRAWTEXT(CROSS(VAR8,VAR9) AND VAR8<50,90,'还涨'),COLORF00FF0;
DRAWICON(CROSS(VAR8,VAR9) AND VAR8<50,110,1);
DRAWTEXT(CROSS(VAR8,VAR7) AND VAR8>40,130,'快卖'),COLOR00FF00;
DRAWICON(CROSS(VAR8,VAR7) AND VAR8>40,145,2);
[url=http://www.70822.com/soft/sort013/sort05/down-162911.html]黄金坑背离组合(通达信公式 副图 源码 测试图)[/url]