通达信牛角预警指标(副图) D:=72;
CW01:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
CW02:=2*ABS(CW01);
CW03:=100-3*SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
CW04:=100-3*SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
CW05:=(HIGH+LOW+CLOSE)/3;
CW06:=(CW05-MA(CW05,14))/(0.015*AVEDEV(CW05,14));
CW07:=(CW05-MA(CW05,89))/(0.015*AVEDEV(CW05,89));
CW08:=IF(CW06>=150 AND CW06< 200 AND CW07>=150 AND CW07< 200,10,0);
CW09:=IF(CW06<=-150 AND CW06>-200 AND CW07<=-150 AND CW07>-200,-10,CW08);
GHCA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
GHCB:=100-ABS(GHCA);
GHCC:=3*SMA((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1);
GHCD:=3*SMA((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1);
GHCE:=REF(LOW,1)*0.9;
GHCF:=LOW*0.9;
CW010:=(GHCF*VOL+GHCE*(CAPITAL-VOL))/CAPITAL;
CW011:=EMA(CW010,30);
CW012:=CW011-CLOSE;
CW013:=REF(CLOSE,1);
CW014:=SMA(MAX(CLOSE-CW013,0),7,1)/SMA(ABS(CLOSE-CW013),7,1)*100;
CW015:=SMA(MAX(CLOSE-CW013,0),13,1)/SMA(ABS(CLOSE-CW013),13,1)*100;
CW016:=BARSCOUNT(CLOSE);
CW017:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
CW018:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
CW019:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
CW01A:=(SMA(CW019,4,1)-50)*2;
CW01B:=SMA(CW01A,3,1);
CW01C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
CW01D:=SMA(CW01C,4,1);
CW01E:=SMA(CW01D,3,1);
CW01F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
CW020:=IF(CW017<=25 AND CW018< -95 AND CW01F>20 AND CW01B< -30 AND CW01E< 30 AND CW012>=-0.25 AND CW014< 22 AND CW015< 28 AND CW016>50,80,0);
活筹OAMV: CW03,COLORFF00FF;
OX: IF(GHCB< 90,GHCB,100),COLORFFCC66;
CW021:=IF(CW01>0,CW01,0);
核能: IF(CW01< 0,CW02,0), LINESTICK;
牛角: CW020,COLORYELLOW;
预警: IF(CW07>=200 AND CW06>=150,15,IF(CW07<=-200 AND CW06<=-150,-15,CW09))+60,COLOR00FF00;
CW022:=100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34));
CW023:=MA(CW022,3);
CW024:=EMA(AMOUNT/VOL/100,5);
CW025:=EMA(AMOUNT/VOL/100,13);
CW026:=CW024-CW025;
势能: IF(1000*CW026/CW024>0,1000*CW026/CW024,0),COLORRED,LINETHICK2;
STICKLINE(CW03>=REF(CW04,1),CW03,CW04,8,1),COLORRED;
STICKLINE(CW03< REF(CW04,1),CW03,CW04,8,1),COLOR00FF00;
CW027:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);
CW028:=CLOSE< MA(CLOSE,20) AND MA(CLOSE,20)< REF(MA(CLOSE,20),1);
CW029:=CW021>50 AND 预警>60 AND OX=100;
CW02A:=CW021>48 AND 预警>60 AND OX< 100;
CW02B:=核能>38 AND 预警< 55;
CW02C:=牛角>50 AND OX< 90;
CW02D:=CW03< REF(CW04,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
CW02E:=CW03>=REF(CW04,1) AND CLOSE< REF(CLOSE,1) AND 预警=60 AND 牛角=0 AND 核能>=REF(核能,1) AND GHCC< REF(GHCD,1);{分析家公式网http://www.70822.com}
DRAWTEXT(CW027 AND COUNT(CW027,30)=1,90,'持股待涨'),COLORFF00FF;
DRAWTEXT(CW028 AND COUNT(CW028,30)=1,10,'出局为佳'),COLOR00FF00;
DRAWTEXT(CW029 AND COUNT(CW029,30)=1,70,'上涨过急,需要调整'),COLORWHITE;
DRAWTEXT(CW02A AND COUNT(CW02A,30)=1,80,'拉升在即狂牛!'),COLORYELLOW;
DRAWTEXT(CW02B AND COUNT(CW02B,30)=1,20,'不必杀跌有反弹 '),COLORWHITE;
DRAWTEXT(CW02C AND COUNT(CW02C,30)=1,30,'阶段底部 '),COLORYELLOW;
DRAWTEXT(CW02D AND COUNT(CW02D,30)=1,60,'大资金进场'),COLOR0099FF;
DRAWTEXT(CW02E AND COUNT(CW02E,30)=1,40,'高点回落'),COLORFFCC66;
XG:牛角=80;
牛角选股:
D:=72;
CW01:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
CW02:=2*ABS(CW01);
CW03:=100-3*SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
CW04:=100-3*SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
CW05:=(HIGH+LOW+CLOSE)/3;
CW06:=(CW05-MA(CW05,14))/(0.015*AVEDEV(CW05,14));
CW07:=(CW05-MA(CW05,89))/(0.015*AVEDEV(CW05,89));
CW08:=IF(CW06>=150 AND CW06< 200 AND CW07>=150 AND CW07< 200,10,0);
CW09:=IF(CW06<=-150 AND CW06>-200 AND CW07<=-150 AND CW07>-200,-10,CW08);
GHCA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
GHCB:=100-ABS(GHCA);
GHCC:=3*SMA((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1);
GHCD:=3*SMA((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,D))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,D))/(HHV(INDEXH,D)-LLV(INDEXL,75))*100,20,1),15,1);
GHCE:=REF(LOW,1)*0.9;
GHCF:=LOW*0.9;
CW010:=(GHCF*VOL+GHCE*(CAPITAL-VOL))/CAPITAL;
CW011:=EMA(CW010,30);
CW012:=CW011-CLOSE;
CW013:=REF(CLOSE,1);
CW014:=SMA(MAX(CLOSE-CW013,0),7,1)/SMA(ABS(CLOSE-CW013),7,1)*100;
CW015:=SMA(MAX(CLOSE-CW013,0),13,1)/SMA(ABS(CLOSE-CW013),13,1)*100;
CW016:=BARSCOUNT(CLOSE);
CW017:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
CW018:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
CW019:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
CW01A:=(SMA(CW019,4,1)-50)*2;
CW01B:=SMA(CW01A,3,1);
CW01C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
CW01D:=SMA(CW01C,4,1);
CW01E:=SMA(CW01D,3,1);
CW01F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
牛角:IF(CW017<=25 AND CW018< -95 AND CW01F>20 AND CW01B< -30 AND CW01E< 30 AND CW012>=-0.25 AND CW014< 22 AND CW015< 28 AND CW016>50,80,0);
|
- 软件大小:4.00 KB
- 推荐星级:
- 更新时间:2024-09-30 00:15:28
- 软件类别: 国产软件 / 通达信公式
- 软件语言:简体中文
- 授权方式: 分享版
- 联系方式:暂无联系方式
- 官方主页: Home Page
- 点击大图: 【一键转帖到论坛】
- 插件情况:
- 运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
- 相关Tags:指标公式 股票软件,公式源码
-
(0)0%(0)0%
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!