软件名称:[B]通达信牛熊持股主图公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2019-10-21 00:23:44
软件简介:
{牛熊持股}
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) /
(HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) /
(HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) /
(HHV(HIGH,6) - LLV(LOW,6))),34));
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.97),8);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.05),9);
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.97),'●买'),
COLORGREEN,LINETHICK1;{www.70822.com}
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.05),'▼减仓'),
COLORYELLOW,LINETHICK1;
牛熊线:EMA(MA(CLOSE,3),34),COLORFF00FF,LINETHICK2;
STICKLINE(C>=牛熊线 AND C>=O,C,O,5,0),COLORRED;
STICKLINE(C>=牛熊线 AND C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=牛熊线 AND C<O,C,O,5,1),COLORRED;
STICKLINE(C>=牛熊线 AND C<O,O,H,0,0),COLORRED;
STICKLINE(C>=牛熊线 AND C<O,C,L,0,0),COLORRED;
STICKLINE(C<牛熊线 AND C>O,C,O,5,1),COLORFFFF00;
STICKLINE(C<牛熊线 AND C<=O,C,O,5,1),COLORFFFF00;
STICKLINE(C<牛熊线 AND C<=O,H,L,0,1),COLORFFFF00;
STICKLINE(C<牛熊线 AND C>O,C,H,0,1),COLORFFFF00;
STICKLINE(C<牛熊线 AND C>O,O,L,0,1),COLORFFFF00;
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);
A:=REF(C,BARSLAST(HD));
Z:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
波段头:=IF(T1,A,A),COLORYELLOW,LINETHICK2,POINTDOT;
波段底:=IF(T2,Z,Z),COLORWHITE,LINETHICK2,POINTDOT;
[url=http://www.70822.com/soft/sort013/sort05/down-141896.html]通达信牛熊持股主图公式[/url]