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

软件名称:[B]回调追牛(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2020-02-10 16:41:55
软件简介:

回调追牛公式不错

原公式源码:

{【回调追牛】}
EMA30:EMA(CLOSE,30),COLORBROWN;
EMA5:=EMA(CLOSE,5);
X2:=EMA5;
X3:=EMA30;
主升:=C>X2 AND C>X3;
主跌:=C<X3;
回调:=C<X2 AND C>X3;
反弹:=C>X2 AND C<X3;
STICKLINE(主升,CLOSE,O,4.8,0),COLOR0000BB;
STICKLINE(主升,CLOSE,O,3,0),COLOR0000CC;
STICKLINE(主升,CLOSE,O,1.5,0),COLOR0000DD;
STICKLINE(主升,CLOSE,O,1,0),COLOR0000EE;
STICKLINE(主升,CLOSE,O,0.5,0),COLOR0000FF;
STICKLINE(主升,H,L,0,0),COLOR0000FF;
STICKLINE(主跌,CLOSE,O,4.8,0),COLOR555500;
STICKLINE(主跌,CLOSE,O,3,0),COLOR888800;
STICKLINE(主跌,CLOSE,O,1.5,0),COLORAAAA00;
STICKLINE(主跌,CLOSE,O,1,0),COLORCCCC00;
STICKLINE(主跌,CLOSE,O,0.5,0),COLOREEEE00;
STICKLINE(主跌,H,L,0,0),COLOREEEE00;
STICKLINE(回调,O,C,4.8,0),COLORBB4400;
STICKLINE(回调,O,C,3,0),COLORCC5500;
STICKLINE(回调,O,C,1.5,0),COLORDD6600;
STICKLINE(回调,O,C,1,0),COLOREE7700;
STICKLINE(回调,O,C,0.5,0),COLORFF8800;
STICKLINE(回调,H,L,0,0),COLORFF8800;
STICKLINE(反弹,O,C,4.8,0),COLOR0077BB;
STICKLINE(反弹,O,C,3,0),COLOR0099CC;
STICKLINE(反弹,O,C,1.5,0),COLOR00BBDD;
STICKLINE(反弹,O,C,1,0),COLOR00DDEE;
STICKLINE(反弹,O,C,0.5,0),COLOR00FFFF;
STICKLINE(反弹,H,L,0,0),COLOR00FFFF;
DRAWTEXT_FIX(C>0,0,0,0,'【█】涨势'),COLOR0000AA;
DRAWTEXT_FIX(C>0,0,0.05,0,'【█】回调'),COLORDD6600;
DRAWTEXT_FIX(C>0,0,0.10,0,'【█】跌势'),COLORAAAA00;
DRAWTEXT_FIX(C>0,0,0.15,0,'【█】反弹'),COLOR00BBDD;
DRAWTEXT_FIX(C>0,0,0.20,0,'【█】追牛'),COLORFF00FF;
均价线:=AMOUNT/V/100;
C2:=REF(C,1);
AA1:MA(C,4);
卖出:IF(AA1<=REF(AA1,1),AA1,DRAWNULL)COLORGREEN,LINETHICK2;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,4.6,0),COLORRED;
STICKLINE(涨停,OPEN,CLOSE,3.5,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
B1:='┄┄┄┄';
DRAWTEXT(均价线 AND 涨停,均价线,B1),COLORGREEN;
B3:='┄┄┄┄';
DRAWTEXT((O+C)/2  AND 涨停,(O+C)/2 ,B3),COLORMAGENTA;
B2:='┄┄┄┄';
DRAWTEXT(涨停,L,B2),COLORGRAY;
DRAWTEXT(涨停,H*0.988,'---涨停'),COLORYELLOW;
买进:DRAWTEXT(CROSS(AA1,X3*0.998-0.018),L*0.97,'★-买进- '),COLORFFFF00,COLORYELLOW;
买进1:DRAWTEXT(CROSS(L,X3*0.9998+0.018) AND C>REF(C,1),L*0.97,'★-买进 '),COLORFFFF00,COLORYELLOW;
HH:=COUNT(涨停,15)>=1 AND H/C<1.025 AND C>REF(C,1);
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
趋势线:=SMA(MAX(CLOSE-LC,0),15,1)/SMA(ABS(CLOSE-LC),15,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;
PP2:=操作线<震仓线2  AND REF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线  AND REF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线  AND REF(操作线,1)>抄底线;
A:=SMA(L,4,3) ;
STICKLINE(A AND REF(PP3,1) AND HH ,A*0.998,A*0.996,5,0);
DRAWICON(A AND REF(PP3,1) AND HH,L*0.98,1);
牛:DRAWICON(A AND REF(PP3,1) AND HH,L*0.97,23);
STICKLINE(牛,O,C,1,0),COLORFF00FF;
追牛:DRAWTEXT(牛,L*0.945,'★-追牛---------- '),COLORFF00FF;
分析家公式网:=EMA((C-LLV(L,5))/(HHV(H,6)-LLV(L,6)),2)*100,COLORYELLOW,LINETHICK1;
VARB1:=SMA(SMA(分析家公式网,2,1),2,1);
VARB2:=(VARB1/2+36.8)*1;
VARB3:=SMA(VARB2,2,1)+2.2,COLORFFFF00;
VARB4:=SMA(VARB2,2,1)-35.08,COLOR00FF00,LINETHICK1;
卖出1:DRAWTEXT(CROSS(VARB3,分析家公式网*0.9998+0.0018) AND VARB3>67 AND C<=O*1.008 ,H*1.0012,'-卖出-★ '),COLOR00FF00;
卖出2:DRAWTEXT(CROSS(VARB3,分析家公式网*0.9998+0.0018) AND VARB3>67 ,H*1.0112,' '),COLOR00FF00;
加仓:DRAWTEXT(CROSS(分析家公式网,VARB4*0.9998+0.0018),L*0.986,'★-加仓- '),COLOR0000FF;
M1:=5;
M2:=10;
M3:=20;
M4:=60;
超底线:=15;
DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9);
AAA:=(DIF-DEA)*2*60;
潜伏:=CROSS(AAA-REF(AAA,1),8),COLORRED,LINETHICK2;
XG:=潜伏;

STICKLINE(XG,8,0,2,0),COLORRED;



显示不是很理想,青梅给修改了一下,谢谢原作者:

{【回调追牛】}
EMA30:EMA(CLOSE,30),COLORBROWN;
EMA5:=EMA(CLOSE,5);
X2:=EMA5;
X3:=EMA30;
主升:=C>X2 AND C>X3;
主跌:=C<X3;
回调:=C<X2 AND C>X3;
反弹:=C>X2 AND C<X3;
STICKLINE(主升,CLOSE,O,4.8,0),COLOR0000BB;
STICKLINE(主升,CLOSE,O,3,0),COLOR0000CC;
STICKLINE(主升,CLOSE,O,1.5,0),COLOR0000DD;
STICKLINE(主升,CLOSE,O,1,0),COLOR0000EE;
STICKLINE(主升,CLOSE,O,0.5,0),COLOR0000FF;
STICKLINE(主升,H,L,0,0),COLOR0000FF;
STICKLINE(主跌,CLOSE,O,4.8,0),COLOR555500;
STICKLINE(主跌,CLOSE,O,3,0),COLOR888800;
STICKLINE(主跌,CLOSE,O,1.5,0),COLORAAAA00;
STICKLINE(主跌,CLOSE,O,1,0),COLORCCCC00;
STICKLINE(主跌,CLOSE,O,0.5,0),COLOREEEE00;
STICKLINE(主跌,H,L,0,0),COLOREEEE00;
STICKLINE(回调,O,C,4.8,0),COLORBB4400;
STICKLINE(回调,O,C,3,0),COLORCC5500;
STICKLINE(回调,O,C,1.5,0),COLORDD6600;
STICKLINE(回调,O,C,1,0),COLOREE7700;
STICKLINE(回调,O,C,0.5,0),COLORFF8800;
STICKLINE(回调,H,L,0,0),COLORFF8800;
STICKLINE(反弹,O,C,4.8,0),COLOR0077BB;
STICKLINE(反弹,O,C,3,0),COLOR0099CC;
STICKLINE(反弹,O,C,1.5,0),COLOR00BBDD;
STICKLINE(反弹,O,C,1,0),COLOR00DDEE;
STICKLINE(反弹,O,C,0.5,0),COLOR00FFFF;
STICKLINE(反弹,H,L,0,0),COLOR00FFFF;
DRAWTEXT_FIX(C>0,0,0,0,'【█】涨势'),COLOR0000AA;
DRAWTEXT_FIX(C>0,0,0.05,0,'【█】回调'),COLORDD6600;
DRAWTEXT_FIX(C>0,0,0.10,0,'【█】跌势'),COLORAAAA00;
DRAWTEXT_FIX(C>0,0,0.15,0,'【█】反弹'),COLOR00BBDD;
DRAWTEXT_FIX(C>0,0,0.20,0,'【█】追牛'),COLORFF00FF;
均价线:=AMOUNT/V/100;
C2:=REF(C,1);
AA1:MA(C,4);
卖出:IF(AA1<=REF(AA1,1),AA1,DRAWNULL)COLORGREEN,LINETHICK2;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,4.6,0),COLORRED;
STICKLINE(涨停,OPEN,CLOSE,3.5,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
B1:='┄┄┄┄';
DRAWTEXT(均价线 AND 涨停,均价线,B1),COLORGREEN;
B3:='┄┄┄┄';
DRAWTEXT((O+C)/2  AND 涨停,(O+C)/2 ,B3),COLORMAGENTA;
B2:='┄┄┄┄';
DRAWTEXT(涨停,L,B2),COLORGRAY;
DRAWTEXT(涨停,H*0.988,'---涨停'),COLORYELLOW;
买进:DRAWTEXT(CROSS(AA1,X3*0.998-0.018),L*0.97,'★-买进- '),COLORFFFF00,COLORYELLOW;
买进1:DRAWTEXT(CROSS(L,X3*0.9998+0.018) AND C>REF(C,1),L*0.97,'★-买进 '),COLORFFFF00,COLORYELLOW;
HH:=COUNT(涨停,15)>=1 AND H/C<1.025 AND C>REF(C,1);
LC:=REF(CLOSE,1); [url=http://www.70822.com/soft/sort013/sort05/down-145064.html]回调追牛(通达信公式 主图 源码 测试图)[/url]

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