{我的主图} E5:=EMA(C,5);E13:=EMA(C,13); DRAWBAND(E5,RGB(200,0,0),E13,RGB(0,200,0)); DRAWKLINE(H,O,L,C); 平衡:EMA(C,20)COLORYELLOW; 上轨:平衡 + 2*STD(C,20),LINETHICK2,COLORMAGENTA; 下轨:平衡 - 2*STD(C,20),LINETHICK3,COLORGREEN; 上:=EMA(C,3),COLORBLUE,LINETHICK1; 中:=EMA(C,5),COLORWHITE,LINETHICK1; 下:=EMA(中,5),COLOR00FF00,LINETHICK1; {IF(上>中 AND 上>REF(上,1), 上,DRAWNULL),LINETHICK2,COLORRED; IF(中>下 AND 中>REF(中,1), 中,DRAWNULL),LINETHICK2,COLORRED;} QQ:= C<中; MM:=上>REF(上,1) AND REF(上,1)<REF(上,2) ; VAR1W:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR2W:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR3W:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); {DRAWTEXT(CROSS(VAR2W,MA(VAR3W,6)),LOW -0.6,'(买)'),COLORFF99FF; DRAWTEXT(CROSS(MA(VAR3W,6),VAR1W),HIGH +0.9,'(卖)'),COLORCCFF13;} VAR3P:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0); STICKLINE(VAR3P>90,L,L*0.92,1,1),COLORFF00FF; DRAWTEXT(VAR3P>90,LOW*0.92,'追涨'),COLORFF00FF; SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2); SC:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND H>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND C>REF(C,1) AND C>O; MR:=SC AND COUNT(SS,2); 买:=MR AND NOT(REF(MR,1)); STICKLINE(买,L,L*0.95,2,1),COLORBLUE; DRAWTEXT(买,L*0.95, '必涨'),COLORRED; V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); V2:=(1-7/100)*(DMA(CLOSE,V1)); V3:=(1+7/100)*(DMA(CLOSE,V1)); V5:=MA((LOW+HIGH+CLOSE)/3,5); MA1:=MEMA(CLOSE,5); MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416; MA3:=IF(MA2>0,MA2,MA2); MA5:MA(C,5); MA25:=MA(C,25),COLORGREEN,LINETHICK2; VAR1:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2); {收盘价=4日内收盘价的最高值 AND 昨收>=2日前的收盘价} VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4); {收盘价=4日内收盘价的最高值 AND 昨收=4日内收盘价的最低值} VAR3:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2); {收盘价=4日内收盘价的最低值 AND (昨收<2日前的收盘价} VAR4:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1); {涨停} STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,4,-1), COLOR00FFFF; {跌停} STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,4,-1), COLORGREEN; {蓝} STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.3,0),COLORFF6600; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.4,0),COLORFF8800; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.3,0),COLORFFAA00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.6,0),COLORFFCC00; {红} STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.3,0),COLOR000099; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4,0),COLOR0000BB; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.3,0),COLOR0000DD; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0),COLOR0000FF; {绿} STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,3.3,0),COLOR009900; STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,2.4,0),COLOR00BB00; STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,0.5,0),COLOR00FF00; {灰} STICKLINE(VAR4 AND MM,OPEN,(OPEN+CLOSE)/2,3.3,0),COLOR999999; STICKLINE(VAR4 AND MM,OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB; STICKLINE(VAR4 AND MM,OPEN,(OPEN+CLOSE)/2,1.3,0),COLORDDDDDD; STICKLINE(VAR4 AND MM,OPEN,(OPEN+CLOSE)/2,0.5,0),COLORFFFFFF; AA10:=MA(CLOSE,8),COLOR0000FF; BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10); 均线30:=MA(CLOSE,30); 均线89:=MA(CLOSE,89); 均线:=MA(CLOSE,16); DRAWTEXT((((((OPEN <= 均线) AND ((均线30 - REF(均线30,1)) > 0)) AND (CLOSE > 均线89)) AND (BB10 > 1)) AND ((CLOSE / OPEN) > 1.04)), LOW,'←天马过桥'),COLORCC99FF; DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLOR0080FF; DRAWTEXT_FIX(1,0.06,0,0,HYBLOCK)COLOR0080FF; DRAWTEXT_FIX(1,0.12,0,0,'所属地区:')COLOR00FFFF; DRAWTEXT_FIX(1,0.18,0,0,DYBLOCK)COLOR00FFFF; 角线:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926); 角线MA:=MA(角线,5); ANA:=PLOYLINE(CROSS(角线,角线MA),角线MA),COLORRED; ANB:=PLOYLINE(CROSS(角线MA,角线),角线MA),COLORFF00FF ; 角买点:=CROSS(角线,角线MA) AND ((ANB>REF(ANB,1) AND ANB>ANA AND 角线MA<=0) OR ((角线MA<=-45 OR CROSS(角线MA,-45)) AND (ANB<-60 OR LLV("KDJ.J",3)<=-49) AND ANB>0)),COLORGREEN; 角起涨:=COUNT(CROSS(角线,角线MA),ANA<REF(ANA,5) AND ANB>REF(ANB,5)); 角卖点:=(CROSS(角线MA,角线) AND (ANB>REF(ANB,1) OR ANA<REF(ANA,1)) AND ANB>ANA{AND ANB>0} AND 角线MA>0)*1; 角始跌:=COUNT(CROSS(角线MA,角线),ANA<REF(ANA,5) AND ANB>REF(ANB,5)); DRAWTEXT(角买点,L,'━━角买'),COLOR00FFFF; --------------------------------------------------------------------------------- {我的副图} V型反转:REF(C,4)>REF(C,2)*1.05 AND C>REF(C,2)*1.04,COLORYELLOW,LINETHICK2; DIF:=EMA(DCLOSE,10)-EMA(DCLOSE,72); DEA:=EMA(DIF,17); AAA:=(DIF-DEA)*2*60; 牛股:CROSS(AAA-REF(AAA,1),15),LINETHICK4,COLORRED; DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26); DEA1:=EMA(DIF1,9); AAA1:=(DIF1-DEA1)*2*60; AAA上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL); AAA下:=IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL); 入线:=15; 反弹:=AAA1-REF(AAA1,1); GGG:=CROSS(反弹,入线); STICKLINE(GGG,0,1.3,1,0),COLORGREEN; DRAWTEXT(GGG,1,'反弹'),COLORGREEN; |
- 软件大小:2.00 KB
- 推荐星级:
- 更新时间:2013-07-01 04:17:14
- 软件类别: 国产软件 / 通达信公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win9X/Win2000/WinXP/Win2003/
- 相关Tags:指标公式 股票软件,公式源码
-
(0)0%(0)0%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!