分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册
当前位置:分析家公式网股票公式同花顺公式 → 一键转帖:周易阴阳线

软件名称:[B]周易阴阳线[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2018-01-01 00:22:50
软件简介:

 X:=6;

D:=9;
M6:MA(C,X);
M9:MA(C,D);
T:=BARSLAST(CROSS(M6,M9));
ST:=BARSLAST(CROSS(M9,M6));
T1:=SUMBARS(T=0,2);
T2:=SUMBARS(T=0,3);
ST1:=SUMBARS(ST=0,2);
ST2:=SUMBARS(ST=0,3);
//www.70822.com
H1:=IF(CONST(M6)>CONST(M9),HHV(H,T+1),REF(HHV(H,T+1),ST));
L1:=IF(CONST(M6)<CONST(M9),LLV(L,ST+1),REF(LLV(L,ST+1),T));
H2:=IF(CONST(M6)>CONST(M9),REF(HHV(H,T+1),ST),REF(HHV(H,T+1),ST1-1));
L2:=IF(CONST(M6)<CONST(M9),REF(LLV(L,ST+1),T),REF(LLV(L,ST+1),T1-1));
H3:=IF(CONST(M6)>CONST(M9),REF(HHV(H,T+1),ST1-1),REF(HHV(H,T+1),ST2-1));
L3:=IF(CONST(M6)<CONST(M9),REF(LLV(L,ST+1),T1-1),REF(LLV(L,ST+1),T2-1));
TJ1:=CONST(M6)>CONST(M9) AND CURRBARSCOUNT>=CONST(T2) AND CURRBARSCOUNT<=CONST(ST2) AND L=CONST(L3);
TJ2:=CONST(M6)>CONST(M9) AND CURRBARSCOUNT>=CONST(ST1) AND CURRBARSCOUNT<=CONST(T2) AND H=CONST(H3);
TJ3:=CONST(M6)>CONST(M9) AND CURRBARSCOUNT>=CONST(T1) AND CURRBARSCOUNT<=CONST(ST1) AND L=CONST(L2);
TJ4:=CONST(M6)>CONST(M9) AND CURRBARSCOUNT>=CONST(ST) AND CURRBARSCOUNT<=CONST(T1) AND H=CONST(H2);
TJ5:=CONST(M6)>CONST(M9) AND CURRBARSCOUNT>=CONST(T)+1 AND CURRBARSCOUNT<=CONST(ST)+1 AND L=CONST(L1);
TJ6:=CONST(M6)>CONST(M9) AND H=CONST(H1) AND CURRBARSCOUNT<=CONST(ST2);
TJ7:=CONST(M6)<CONST(M9) AND CURRBARSCOUNT>=CONST(ST2) AND CURRBARSCOUNT<=CONST(T2) AND H=CONST(H3);
TJ8:=CONST(M6)<CONST(M9) AND CURRBARSCOUNT>=CONST(T1) AND CURRBARSCOUNT<=CONST(ST2) AND L=CONST(L3);
TJ9:=CONST(M6)<CONST(M9) AND CURRBARSCOUNT>=CONST(ST1) AND CURRBARSCOUNT<=CONST(T1) AND H=CONST(H2);
TJ10:=CONST(M6)<CONST(M9) AND CURRBARSCOUNT>=CONST(T) AND CURRBARSCOUNT<=CONST(ST1) AND L=CONST(L2);
TJ11:=CONST(M6)<CONST(M9) AND CURRBARSCOUNT>=CONST(ST)+1 AND CURRBARSCOUNT<=CONST(T)+1 AND H=CONST(H1);
TJ12:=CONST(M6)<CONST(M9) AND L=CONST(L1)AND CURRBARSCOUNT<=CONST(T2);
DRAWLINE(TJ1,L,TJ2,H,0),colormagenta;
DRAWLINE(TJ2,H,TJ3,L,0),colormagenta;
DRAWLINE(TJ3,L,TJ4,H,0),colormagenta;
DRAWLINE(TJ4,H,TJ5,L,0),colormagenta;
DRAWLINE(TJ5,L,TJ6,H,0),colormagenta;
DRAWLINE(TJ7,H,TJ8,L,0),colorgreen;
DRAWLINE(TJ8,L,TJ9,H,0),colorgreen;
DRAWLINE(TJ9,H,TJ10,L,0),colorgreen;
DRAWLINE(TJ10,L,TJ11,H,0),colorgreen;
DRAWLINE(TJ11,H,TJ12,L,0),colorgreen;
HH:=CONST(MAX(MAX(H1,H2),H3));
LL:=CONST(MIN(MIN(L1,L2),L3));
Z:=(HH-LL)/2+LL;
DRAWLINE(TJ7,Z,ISLASTBAR,Z,0),colorgreen,DOTLINE;
DRAWTEXT(TJ7,CONST(Z)*1.01,CONST(Z),2,'元'),colorgreen;
HH1:=CONST(MAX(H1,MAX(H2,H3)));
LL1:=CONST(MIN(MIN(L1,L2),L3));
Z1:=(HH1-LL1)/2+LL1;
DRAWLINE(TJ1,Z1,ISLASTBAR,Z1,0),colormagenta,DOTLINE;
DRAWTEXT(TJ1,CONST(Z)*1.01,CONST(Z1),2,'元'),colormagenta;
近高:H1,colormagenta,NODRAW;
近低:L1,colorgreen,NODRAW;
中高:H2,colormagenta,NODRAW;
中底:L2,colorgreen,NODRAW;
远高:H3,colormagenta,NODRAW;
远底:L3,colorgreen,NODRAW;
 

[url=http://www.70822.com/soft/sort013/sort036/down-119878.html]周易阴阳线[/url]

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