当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:传说中的小牛带熊指标公式
软件名称:[B]传说中的小牛带熊指标公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2012-08-25 02:21:39
软件简介:
M60:=MA(C,5); M120:=MA(C,20); DRAWBAND(M60,RGB(90,0,0),M120,RGB(0,90,0)); {牛熊变线} 变线:=EMA(MA(CLOSE,30),5),LINETHICK0;{20 或 30 或 35} STICKLINE(C>=变线 AND C>=O,H,L,0,0),COLORRED; STICKLINE(C>=变线 AND C>=O,C,O,2.7,1),COLORRED; STICKLINE(C>变线 AND C<=O,H,L,0,1),COLORCYAN; STICKLINE(C>变线 AND C<=O,C,O,3,0),COLORCYAN; STICKLINE(C<变线 AND C<=O,H,L,0,1),COLORCYAN; STICKLINE(C<变线 AND C<=O,C,O,3,0),COLORCYAN; STICKLINE(C<变线 AND C<=O,H,L,0,1),COLORGRAY; STICKLINE(C<变线 AND C>O,H,L,0,1),COLORGRAY; STICKLINE(C<变线 AND C>O,C,O,3,1),COLORGRAY; STICKLINE(C<变线 AND C<=O,C,O,3,1),COLORGRAY; {分水岭操作线} PM:MA(C,5),COLORGRAY,LINETHICK1;{可用13} IF(PM<REF(PM,1),PM,DRAWNULL),COLORGRAY,LINETHICK0; IF(PM>=REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2; IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2; A:=MA(CLOSE,12)+ABS(MA(CLOSE,12)-REF(MA(CLOSE,12),1));{原公式为17,最终确定为12} B:=MA(CLOSE,12)+MA(CLOSE,12)-REF(MA(CLOSE,12),1); 分水岭:=IF(MA(CLOSE,12)<B,B,MA(CLOSE,12)); 操作线:=分水岭-(EMA(C,3)-分水岭); AA:=CROSS(分水岭,操作线); STICKLINE(AA,C,O,3,0),COLOR0000AA; STICKLINE(AA,C,O,2,0),COLOR0033CC; STICKLINE(AA,C,O,1,0),COLOR0055EE; STICKLINE(AA,C,O,0.3,0),COLOR0099FF; STICKLINE(AA,H,L,0,1),COLOR0099FF; RR:=CROSS((MA(VOL,5)),(MA(VOL,10))) AND MA(C,2)>=MA(C,4); {AND VOL>=REF(VOL,1)} STICKLINE(RR,C,O,3,0),COLOR0000AA; STICKLINE(RR,C,O,2,0),COLOR0033CC; STICKLINE(RR,C,O,1,0),COLOR0055EE; STICKLINE(RR,C,O,0.3,0),COLOR0099EE; STICKLINE(RR,H,L,0,1),COLOR0099FF; MA5:MA(CLOSE,5),NODRAW; MA10:MA(CLOSE,10),COLORCC66FF; MA20:MA(CLOSE,20),COLORFFCC66,LINETHICK2; DRAWTEXT(CROSS(MA5,MA20),MA5,'牛'),COLORYELLOW,LINETHICK4; DRAWTEXT(CROSS(MA20,MA5),MA5,'熊'),COLORWHITE,LINETHICK2;
[url=http://www.70822.com/soft/sort013/sort05/down-52040.html]传说中的小牛带熊指标公式[/url]