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

软件名称:[B]日线顶底背离(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2022-08-03 00:15:21
软件简介:

 日线顶底背离

 副图
 
VAR1:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
VAR2:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
VAR3:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
VAR4:=VAR1+100;
VAR5:=VAR2+100;
数值:VAR3+100,DOTLINE,COLORYELLOW;
底:VAR4<12 AND 数值<8 AND (VAR5<7.2 OR REF(VAR5,1)<5) AND (数值>REF(数值,1) OR VAR5>REF(VAR5,1)) OR (VAR4<8 AND 数值<7 AND VAR5<15 AND VAR5>REF(VAR5,1)) OR (VAR4<10 AND 数值<7 AND VAR5<1),POINTDOT,COLOR0080FF;
STICKLINE(底,(-3),0,6,0),COLOR0080FF;
买点:VAR4<10 AND CROSS(VAR5,VAR4) AND VAR5-REF(VAR5,1)>12 AND VAR5>15,NODRAW,COLORWHITE;
STICKLINE(买点,0,38,2,0),COLORWHITE;
VAR6:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR7:=EMA(VAR6,9);
VAR8:=BARSLAST(REF(CROSS(VAR6,VAR7),1));
VAR9:=REF(CLOSE,VAR8+1)>CLOSE AND REF(VAR6,VAR8+1)<VAR6 AND CROSS(VAR6,VAR7);
VAR10:=BARSLAST(REF(CROSS(KDJ.K(9,3,3),KDJ.D(9,3,3)),1));
VAR11:=REF(CLOSE,VAR10+1)>CLOSE AND REF(KDJ.K(9,3,3),VAR10+1)<KDJ.K(9,3,3) AND CROSS(KDJ.K(9,3,3),KDJ.D(9,3,3));
VAR12:=BARSLAST(REF(CROSS(RSI.RSI1(6,12,24),RSI.RSI2(6,12,24)),1));
VAR13:=REF(CLOSE,VAR12+1)>CLOSE AND REF(RSI.RSI1(6,12,24),VAR12+1)<RSI.RSI1(6,12,24) AND CROSS(RSI.RSI1(6,12,24),RSI.RSI2(6,12,24));
VAR14:=BARSLAST(REF(CROSS(VAR7,VAR6),1));
VAR15:=REF(CLOSE,VAR14+1)<CLOSE AND REF(VAR6,VAR14+1)>VAR6 AND CROSS(VAR7,VAR6);
VAR16:=BARSLAST(REF(CROSS(KDJ.D(9,3,3),KDJ.K(9,3,3)),1));
VAR17:=REF(CLOSE,VAR16+1)<CLOSE AND REF(KDJ.K(9,3,3),VAR16+1)>KDJ.K(9,3,3) AND CROSS(KDJ.D(9,3,3),KDJ.K(9,3,3));
VAR18:=BARSLAST(REF(CROSS(RSI.RSI2(6,12,24),RSI.RSI1(6,12,24)),1));
VAR19:=REF(CLOSE,VAR18+1)<CLOSE AND REF(RSI.RSI1(6,12,24),VAR18+1)>RSI.RSI1(6,12,24) AND CROSS(RSI.RSI2(6,12,24),RSI.RSI1(6,12,24));
MACD底背:IF(VAR9>0,(-0.1),0),NODRAW,COLORRED;
KDJ底背:IF(VAR11>0,(-12),0),NODRAW,COLORFA00FA;
RSI底背:IF(VAR13>0,(-0.1),0),NODRAW,COLORYELLOW;
MACD顶背:IF(VAR15>0,0.1,0),NODRAW,COLORGREEN;
KDJ顶背:IF(VAR17>0,(-12),0),NODRAW,COLORCYAN;
RSI顶背:IF(VAR19>0,0.1,0),NODRAW,COLORFF8000;
清仓:100,COLORBROWN;
逐步减仓:90,COLOR9966FF;
底部:6,LINESTICK,COLORLIGRAY;
0,COLORLIGRAY;
关注:10,COLORYELLOW;
阶段卖出:80,COLOR996699;
STICKLINE(VAR9>0,(-17),(-5),3,0),COLORRED;
STICKLINE(VAR15>0,100,112,3,0),COLORGREEN;
STICKLINE(VAR11>0,(-14),(-5),3,0),COLORMAGENTA;
STICKLINE(VAR17>0,100,110,3,0),COLORCYAN;
STICKLINE(VAR13>0,(-11),(-5),3,0),COLORYELLOW;
STICKLINE(VAR19>0,100,108,3,0),COLORFF8000;
VAR20:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR21:=SMA(VAR20,9,3);
VAR22:=SMA(VAR21,9,3);
VAR23:=3*VAR21-2*VAR22;
VAR24:=CROSS(VAR6,VAR7) AND CROSS(VAR21,VAR22) AND CROSS(VAR23,VAR22);
STICKLINE(VAR24,0,100,2,0),COLORFF0080;
VAR25:=1;
VAR26:=KDJ.K#MONTH;
VAR27:=KDJ.D#MONTH;
VAR28:=KDJ.J#MONTH;
VAR29:=KDJ.K#WEEK;
VAR30:=KDJ.D#WEEK;
VAR31:=KDJ.J#WEEK;
VAR32:=KDJ.K;
VAR33:=KDJ.D;
VAR34:=KDJ.J;
VAR35:=CROSS(VAR32,VAR33) AND (VAR33<40 OR VAR33>60);
VAR36:=CROSS(VAR29,VAR30) AND (VAR30<40 OR VAR30>60);
VAR37:=CROSS(VAR26,VAR27) AND (VAR27<40 OR VAR27>60);
VAR38:=VAR36 AND VAR35 OR (VAR36 AND VAR37) OR (VAR35 AND VAR37) OR (VAR35 AND VAR36 AND VAR37);
STICKLINE(VAR38,0,50,2,0),COLORFF0080;
STICKLINE(数值>REF(数值,1),数值,REF(数值,1),3,0),COLOR000045;
STICKLINE(数值>REF(数值,1),数值,REF(数值,1),2.5,0),COLOR000065;
STICKLINE(数值>REF(数值,1),数值,REF(数值,1),2,0),COLOR000085;
STICKLINE(数值>REF(数值,1),数值,REF(数值,1),1.5,0),COLOR0000A5;
STICKLINE(数值>REF(数值,1),数值,REF(数值,1),1,0),COLOR0000C5;
STICKLINE(数值>REF(数值,1),数值,REF(数值,1),0.5,0),COLOR0000E5;
STICKLINE(数值>REF(数值,1),数值,REF(数值,1),0,0),COLOR0000F5;
STICKLINE(数值<=REF(数值,1),数值,REF(数值,1),3,0),COLOR008C00;
STICKLINE(数值<=REF(数值,1),数值,REF(数值,1),2.5,0),COLOR00A800;
STICKLINE(数值<=REF(数值,1),数值,REF(数值,1),1.5,0),COLOR00CE00;
STICKLINE(数值<=REF(数值,1),数值,REF(数值,1),1,0),COLOR00CC00;
STICKLINE(数值<=REF(数值,1),数值,REF(数值,1),0.5,0),COLORGREEN;
STICKLINE(数值<=REF(数值,1),数值,REF(数值,1),0,0),COLOR4DFF4D;
 
 
 
 
 

[url=http://www.70822.com/soft/sort013/sort05/down-163560.html]日线顶底背离(通达信公式 副图 源码 测试图)[/url]

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