聪明买卖主图 N:=150;
VAR1:=EMA(EMA(EMA(C,5),8),13);
VAR2:=((VAR1-REF(VAR1,1))/REF(VAR1,1))*618;
VAR3:=MA(VAR2,8);
VAR4:=VAR2-VAR3;
VAR5:=SMA(VAR4,3,1);
短:WMA(EXPMA(((3*C)+(2*O)+H+L)/7,3),3),COLORFFFFFF;
道:IF(1,SMA(短,8,1),DRAWNULL),COLORCC99AA,LINETHICK2;
IF(VAR2>=VAR3,道,DRAWNULL),COLOR6600CC,LINETHICK2;
VARC:=BARSLAST(VAR4>=REF(VAR4,1));
VARD:=BARSLAST(VAR4<=REF(VAR4,1));
神10:MA(C,10);
神30:=MA(C,30);
神60:MA(C,60);
神120:MA(C,120);
神250:MA(C,250);
STICKLINE(VARC=0 AND C>MA(C,250) AND C>MA(C,20) AND C>MA(C,60) AND C>MA(C,160) AND C<O,H,L,0,0),COLORFFCC00;
STICKLINE(VARC=0 AND C>MA(C,250) AND C>MA(C,20) AND C>MA(C,60) AND C>MA(C,160) AND C>O,H,L,0,0),COLOR0000FF;
STICKLINE(VARC=0 AND C>MA(C,250) AND C>MA(C,20) AND C>MA(C,60) AND C>MA(C,160),C,O,4 ,0 ),COLOR0000AA;
STICKLINE(VARC=0 AND C>MA(C,250) AND C>MA(C,20) AND C>MA(C,60) AND C>MA(C,160),C,O,3.3 ,0 ),COLOR0011BB;
STICKLINE(VARC=0 AND C>MA(C,250) AND C>MA(C,20) AND C>MA(C,60) AND C>MA(C,160),C,O,2.2,0 ),COLOR0022CC;
STICKLINE(VARC=0 AND C>MA(C,250) AND C>MA(C,20) AND C>MA(C,60) AND C>MA(C,160),C,O,1.65 ,0 ),COLOR0033DD;
STICKLINE(VARC=0 AND C>MA(C,250) AND C>MA(C,20) AND C>MA(C,60) AND C>MA(C,160),C,O,1.1 ,0 ),COLOR0044EE;
STICKLINE(VARC=0 AND C>MA(C,250) AND C>MA(C,20) AND C>MA(C,60) AND C>MA(C,160),C,O,0.55 ,0 ),COLOR0055FF;
STICKLINE(VARC=0 AND C<MA(C,250) AND C>O ,H,L,0,0),COLOR0000FF;
STICKLINE(VARC=0 AND C<MA(C,250) AND C<O ,H,L,0,0),COLORFFCC00;
STICKLINE(VARC=0 AND C<MA(C,250),C,O,0,0),COLORFF9900;
STICKLINE(VARC=0 AND C<MA(C,250),CLOSE,OPEN,3,0),COLORFF5500;
STICKLINE(VARC=0 AND C<MA(C,250),CLOSE,OPEN,2.8,0),COLORFF6600;
STICKLINE(VARC=0 AND C<MA(C,250),CLOSE,OPEN,2.5,0),COLORFF7700;
STICKLINE(VARC=0 AND C<MA(C,250),CLOSE,OPEN,2.2,0),COLORFF8800;
STICKLINE(VARC=0 AND C<MA(C,250),CLOSE,OPEN,1.7,0),COLORFF9900;
STICKLINE(VARC=0 AND C<MA(C,250),CLOSE,OPEN,1.2,0),COLORFFAA00;
STICKLINE(VARC=0 AND C<MA(C,250),CLOSE,OPEN,0.7,0),COLORFFCC00;
STICKLINE(VARC=0 AND C<MA(C,250),CLOSE,OPEN,0.2,0),COLORFFFF00;
STICKLINE(VARC=0 AND C<MA(C,20) AND C>O ,H,L,0,0),COLOR0000FF;
STICKLINE(VARC=0 AND C<MA(C,20) AND C<O ,H,L,0,0),COLORFFCC00;
STICKLINE(VARC=0 AND C<MA(C,20),C,O,0,0),COLORFF9900;
STICKLINE(VARC=0 AND C<MA(C,20),CLOSE,OPEN,3,0),COLORFF5500;
STICKLINE(VARC=0 AND C<MA(C,20),CLOSE,OPEN,2.8,0),COLORFF6600;
STICKLINE(VARC=0 AND C<MA(C,20),CLOSE,OPEN,2.5,0),COLORFF7700;
STICKLINE(VARC=0 AND C<MA(C,20),CLOSE,OPEN,2.2,0),COLORFF8800;
STICKLINE(VARC=0 AND C<MA(C,20),CLOSE,OPEN,1.7,0),COLORFF9900;
STICKLINE(VARC=0 AND C<MA(C,20),CLOSE,OPEN,1.2,0),COLORFFAA00;
STICKLINE(VARC=0 AND C<MA(C,20),CLOSE,OPEN,0.7,0),COLORFFCC00;
STICKLINE(VARC=0 AND C<MA(C,20),CLOSE,OPEN,0.2,0),COLORFFFF00;
STICKLINE(VARC=0 AND C<MA(C,60) AND C>O ,H,L,0,0),COLOR0000FF;
STICKLINE(VARC=0 AND C<MA(C,60) AND C<O,H,L,0,0),COLORFFCC00;
STICKLINE(VARC=0 AND C<MA(C,60),C,O,0,0),COLORFF9900;
STICKLINE(VARC=0 AND C<MA(C,60),CLOSE,OPEN,3,0),COLORFF5500;
STICKLINE(VARC=0 AND C<MA(C,60),CLOSE,OPEN,2.8,0),COLORFF6600;
STICKLINE(VARC=0 AND C<MA(C,60),CLOSE,OPEN,2.5,0),COLORFF7700;
STICKLINE(VARC=0 AND C<MA(C,60),CLOSE,OPEN,2.2,0),COLORFF8800;
STICKLINE(VARC=0 AND C<MA(C,60),CLOSE,OPEN,1.7,0),COLORFF9900;
STICKLINE(VARC=0 AND C<MA(C,60),CLOSE,OPEN,1.2,0),COLORFFAA00;
STICKLINE(VARC=0 AND C<MA(C,60),CLOSE,OPEN,0.7,0),COLORFFCC00;
STICKLINE(VARC=0 AND C<MA(C,60),CLOSE,OPEN,0.2,0),COLORFFFF00;
STICKLINE(VARC=0 AND C<MA(C,160) AND C>O,H,L,0,0),COLOR0000FF;
STICKLINE(VARC=0 AND C<MA(C,160) AND C<O,H,L,0,0),COLORFFCC00;
STICKLINE(VARC=0 AND C<MA(C,160) ,C,O,0,0),COLORFF9900;
STICKLINE(VARC=0 AND C<MA(C,160) ,CLOSE,OPEN,3,0),COLORFF5500;
STICKLINE(VARC=0 AND C<MA(C,160) ,CLOSE,OPEN,2.8,0),COLORFF6600;
STICKLINE(VARC=0 AND C<MA(C,160) ,CLOSE,OPEN,2.5,0),COLORFF7700;
STICKLINE(VARC=0 AND C<MA(C,160) ,CLOSE,OPEN,2.2,0),COLORFF8800;
STICKLINE(VARC=0 AND C<MA(C,160) ,CLOSE,OPEN,1.7,0),COLORFF9900;
STICKLINE(VARC=0 AND C<MA(C,160) ,CLOSE,OPEN,1.2,0),COLORFFAA00;
STICKLINE(VARC=0 AND C<MA(C,160) ,CLOSE,OPEN,0.7,0),COLORFFCC00;
STICKLINE(VARC=0 AND C<MA(C,160) ,CLOSE,OPEN,0.2,0),COLORFFFF00;
STICKLINE(VARD=0 AND C>O,H,L,0,0),COLOR0000FF;
STICKLINE(VARD=0 AND C<O,H,L,0,0),COLORFFCC00;
STICKLINE(VARD=0,C,O,0,0),COLORFF9900;
STICKLINE(VARD=0,CLOSE,OPEN,3,0),COLORFF5500;
STICKLINE(VARD=0,CLOSE,OPEN,2.8,0),COLORFF6600;
STICKLINE(VARD=0,CLOSE,OPEN,2.5,0),COLORFF7700;
STICKLINE(VARD=0,CLOSE,OPEN,2.2,0),COLORFF8800;
STICKLINE(VARD=0,CLOSE,OPEN,1.7,0),COLORFF9900;
STICKLINE(VARD=0,CLOSE,OPEN,1.2,0),COLORFFAA00;
STICKLINE(VARD=0,CLOSE,OPEN,0.7,0),COLORFFCC00;
STICKLINE(VARD=0,CLOSE,OPEN,0.2,0),COLORFFFF00;
STICKLINE(VARD=0 AND H>MA(C,5) AND C>MA(C,250) AND C>MA(C,60) AND C>MA(C,160) AND MA(C,5)>MA(C,20) AND C>O,H,L,0,0),COLOR0000FF;
STICKLINE(VARD=0 AND H>MA(C,5) AND C>MA(C,250) AND C>MA(C,60) AND C>MA(C,160) AND MA(C,5)>MA(C,20) AND C<O,H,L,0,0),COLORFFCC00;
STICKLINE(VARD=0 AND H>MA(C,5) AND C>MA(C,250) AND C>MA(C,60) AND C>MA(C,160) AND MA(C,5)>MA(C,20),C,O,0,0),COLOR0088EE;
STICKLINE(VARD=0 AND H>MA(C,5) AND C>MA(C,250) AND C>MA(C,60) AND C>MA(C,160) AND MA(C,5)>MA(C,20),C,O,4 ,0 ),COLOR0000AA;
STICKLINE(VARD=0 AND H>MA(C,5) AND C>MA(C,250) AND C>MA(C,60) AND C>MA(C,160) AND MA(C,5)>MA(C,20),C,O,3.3 ,0 ),COLOR0011BB;
STICKLINE(VARD=0 AND H>MA(C,5) AND C>MA(C,250) AND C>MA(C,60) AND C>MA(C,160) AND MA(C,5)>MA(C,20),C,O,2.2,0 ),COLOR0022CC;
STICKLINE(VARD=0 AND H>MA(C,5) AND C>MA(C,250) AND C>MA(C,60) AND C>MA(C,160) AND MA(C,5)>MA(C,20),C,O,1.65 ,0 ),COLOR0033DD;
STICKLINE(VARD=0 AND H>MA(C,5) AND C>MA(C,250) AND C>MA(C,60) AND C>MA(C,160) AND MA(C,5)>MA(C,20),C,O,1.1 ,0 ),COLOR0044EE;
STICKLINE(VARD=0 AND H>MA(C,5) AND C>MA(C,250) AND C>MA(C,60) AND C>MA(C,160) AND MA(C,5)>MA(C,20),C,O,0.55 ,0 ),COLOR0055FF;
情3:=VARC=0 AND C>MA(C,20) AND (BARSCOUNT(C)+1)<365 ;
STICKLINE(情3 AND C>O,H,L,0,0),COLOR0000FF;
STICKLINE(情3 AND C<O,H,L,0,0),COLORFFCC00;
STICKLINE(情3,C,O,-1,0),COLOR001235;
STICKLINE(情3 AND C<O,H,L,0,0),COLORFFCC00;
STICKLINE(情3 AND C>O,H,L,0,0),COLOR0000FF;
STICKLINE(情3,C,O,4 ,0 ),COLOR0000AA;
STICKLINE(情3,C,O,3.3 ,0 ),COLOR0011BB;
STICKLINE(情3,C,O,2.2,0 ),COLOR0022CC;
STICKLINE(情3,C,O,1.65 ,0 ),COLOR0033DD;
STICKLINE(情3,C,O,1.1 ,0 ),COLOR0044EE;
STICKLINE(情3,C,O,0.55 ,0 ),COLOR0055FF;
神线1:=MA(C,20)-MA(C,250);
神线2:=MA(C,60)-MA(C,250);
神功1:=MA(神线1,1)*4;
神功2:=EMA(神线2,1)*4,COLORFFFF80;
YS1:=(HIGH+LOW+CLOSE*2)/4;
RK3:=EMA(YS1,10);
RK4:=STD(YS1,10);
RK5:=(YS1-RK3)*100/RK4;
RK6:=EMA(RK5,5);
RK7:=EMA(RK6,10);
涨:=EMA(RK6,10)+100/2-5,COLORRED;
股灾2:=NOT(REF(C<O,1) AND C<REF(H,1) );
股灾3:=NOT(C<REF(H,1) AND C<REF(H,2) OR C<REF(H,3) OR C<REF(H,4) OR C<REF(H,5));
股灾4:=NOT(COUNT(C<O,7) >=5 AND SUM(C/REF(C,1)<0.96,7)>=1);
股灾5:=NOT( 道<MA(C,60) AND MA(C,60)<REF(MA(C,60),1) AND C<MA(C,60) );
股灾6:=NOT(道<REF(道,1) AND C<道);
股灾7:=SUM(SUM(C/REF(C,1)>1.099,7)>=5 AND C>MA(C,250),60)<1;
股灾8:=SUM(HHVBARS(HIGH,90)>LLVBARS(HIGH,90) AND (HHV( HIGH,90)-LLV( LOW,90))/LLV( LOW,90)*100>50 AND C>MA(C,250) ,90) <1;
股灾9:=NOT(MA(C,5)<MA(C,10) AND MA(C,10)<MA(C,20) AND MA(C,20)<MA(C,30) AND MA(C,20)<MA(C,120) AND MA(C,120)<MA(C,90) AND MA(C,20)<REF(MA(C,20),1) AND MA(C,30)<REF(MA(C,30),1) AND MA(C,60)<REF(MA(C,60),1) ) ;
股灾12:=SUM((C/REF(C,1)<0.91 AND L=C),30)<1;
股灾13:=SUM((C/REF(C,1))<0.93,10)<1;
股灾15:=NOT( MA(C,10)<MA(C,20) AND MA(C,20)<MA(C,30) AND MA(C,30)<MA(C,60) AND MA(C,10)<REF(MA(C,10),1) AND MA(C,20)<REF(MA(C,20),1) AND MA(C,30)<REF(MA(C,30),1) AND MA(C,120)>MA(C,250) AND MA(C,90)>MA(C,120) AND O<MA(C,120) AND C<MA(C,20) ) ;
股灾总:=股灾2 AND 股灾3 AND 股灾4 AND 股灾5 AND 股灾6 AND 股灾7 AND 股灾8 AND 股灾9 AND 股灾12 AND 股灾13 AND 股灾15;
P1:=涨>REF(涨,1) AND REF(涨,1)<REF(涨,2) AND H>MA(C,250) AND MA(C,10)>MA(C,250) AND MA(C,20)>MA(C,250) AND MA(C,250)>REF(MA(C,250),1) AND LLV(C,15)<MA(C,250) AND 股灾13 AND C>O;
P2:=涨>REF(涨,1) AND REF(涨,1)<REF(涨,2) AND MA(C,10)>MA(C,250) AND MA(C,20)>MA(C,250) AND MA(C,250)>REF(MA(C,250),1) AND MA(C,120)>REF(MA(C,120),1) AND LLV(C,15)<MA(C,120) AND C>O AND C>MA(C,120) AND 股灾12 AND 股灾15 AND 股灾9;
P3:=涨>REF(涨,1) AND REF(涨,1)<REF(涨,2) AND H>MA(C,60) AND MA(C,10)>MA(C,250) AND MA(C,20)>MA(C,250) AND MA(C,250)>REF(MA(C,250),1) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,90)>REF(MA(C,90),1) AND C>MA(C,20) AND C>O AND C/REF(C,1)<1.099 AND LLV(C,5)<MA(C,120);
P4:=涨>REF(涨,1) AND REF(涨,1)<REF(涨,2) AND H>MA(C,20) AND MA(C,20)>MA(C,60) AND MA(C,60)>MA(C,120) AND MA(C,120)>MA(C,250) AND MA(C,250)>REF(MA(C,250),1) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,60)>REF(MA(C,60),1) AND C>MA(C,20) AND C>O AND NOT(REF(C,1)/REF(C,2)<0.97) AND LLV(C,5)<MA(C,20) AND REF(C,1)/REF(C,2)<1.099 AND SUM(C<=O,7)<5 AND C>神功2 AND 神功2>REF(神功2,1)+0.01 AND ABS(MA(C,10)-MA(C,20))>ABS(MA(C,10)-MA(C,30));
P5:=涨>REF(涨,1) AND REF(涨,1)<REF(涨,2) AND MA(C,10)>MA(C,250) AND MA(C,20)>MA(C,250) AND MA(C,250)>REF(MA(C,250),1) AND MA(C,120)>REF(MA(C,120),1) AND LLV(C,15)<MA(C,120) AND C>O AND C>MA(C,250) AND C<MA(C,120) AND 股灾12 AND 股灾15 AND 股灾9;
停牌:=NOT(NAMELIKE('ST') AND NAMELIKE('*ST') OR NAMELIKE('S')) AND (BARSCOUNT(C)+1)>30 AND DYNAINFO(10)>100;
选:=P1 OR P2 OR P3 OR P4 OR P5 AND 停牌 AND 股灾总;
STICKLINE(选 AND SUM(选,10)<2,L,L-0.01,3,0) ,COLORYELLOW;
DRAWTEXT( 选 AND SUM(选,10)<2,L-0.02,'↖买'),COLOR00FFFF;
|
- 软件大小:6.00 KB
- 推荐星级:
- 更新时间:2023-07-24 00:15:29
- 软件类别: 国产软件 / 通达信公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: 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年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!