当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:趋势强度通道(同花顺公式 主图 源码 测试图)
软件名称:[B]趋势强度通道(同花顺公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:12.0 KB
官方主页:Home Page
更新时间:2020-01-14 14:00:51
软件简介:
强势:MA(LOW,20)*1.2,color0080ff,linethick3;
次强势:MA(LOW,20)*1.1,coloryellow;
次弱势:MA(HIGH,20)*0.9,colorwhite;
弱势:MA(HIGH,20)*0.8,colorgreen,linethick3;
ZD:=(C-REF(C,1))/REF(C,1)*100;
HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));
趋势强度:=IF(C>次强势,IF(C>强势,4,3),IF(C>次弱势 AND C<次强势,2,IF(C<弱势,0,1)));
STICKLINE(趋势强度=0,H,L,6,1),colorblue;
STICKLINE(趋势强度=1,H,L,6,1),colorgreen;
STICKLINE(趋势强度=2,H,L,6,1),colorgray;
STICKLINE(趋势强度=3,H,L,6,1),coloryellow;
STICKLINE(趋势强度=4,H,L,6,1),colormagenta;
STICKLINE(趋势强度=0,C,O,5,0),colorblue;
STICKLINE(趋势强度=1,C,O,5,0),colorgreen;
STICKLINE(趋势强度=2,C,O,5,0),colorgray;
STICKLINE(趋势强度=3,C,O,5,0),coloryellow;
STICKLINE(趋势强度=4,C,O,5,0),colormagenta;
走势:CLOSE,colorred,LINETHICK1;
买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);
DRAWTEXT(买进条件,L-0.1,'买↑'),colorwhite,LINETHICK2;
STICKLINE(买进条件,H,L,0,1),colorwhite,LINETHICK2;
STICKLINE(买进条件,O,C,2,0),colorwhite,LINETHICK2;
加仓价:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;
加仓条件:=CROSS(C,加仓价) AND 加仓价>REF(加仓价,1);
DRAWTEXT(加仓条件,L *0.7,'加仓'),coloryellow,LINETHICK2;
STICKLINE(加仓条件,H,L,0.5,1),coloryellow,LINETHICK2;
STICKLINE(加仓条件,O,C,2,0),coloryellow,LINETHICK2;
短:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,NODRAW;
M:=(短-REF(短,1))/REF(短,1)*1000;
IF(短>REF(短,1),短,DRAWNULL),colorred,LINETHICK1;
IF(短<REF(短,1),短,DRAWNULL)COLOR00BB00,LINETHICK1;
长:MA(C,30),NODRAW;
IF(长>REF(长,1),长,DRAWNULL),coloryellow,LINETHICK1;
IF(长<REF(长,1),长,DRAWNULL),colorblue,LINETHICK1;
中:MA(C,60),NODRAW;
IF(中>REF(长,1),中,DRAWNULL),colorcyan,LINETHICK1;
IF(中<REF(长,1),中,DRAWNULL),colormagenta,LINETHICK1;
C3:=REF(C,1);//www.70822.com
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,2.5,0),coloryellow;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2.5,0),colorblue;
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
............
[url=http://www.70822.com/soft/sort013/sort036/down-144327.html]趋势强度通道(同花顺公式 主图 源码 测试图)[/url]