通达信预判顶底主图指标源码分享 M5:=MA(CLOSE,5),COLORWHITE;
M10:=MA(CLOSE,10),COLORYELLOW;
M20:MA(CLOSE,20),COLORMAGENTA;
M30:=MA(CLOSE,30),COLORGREEN;
M60:MA(CLOSE,60),LINETHICK2,COLORCYAN;
M90:=MA(CLOSE,90),COLORBLUE;
M120:MA(CLOSE,120),LINETHICK2,COLORLIRED;
M180:=MA(CLOSE,180),LINETHICK1,COLORYELLOW;
M250:MA(CLOSE,250),COLORRED;
M350:=MA(CLOSE,318),COLORBROWN;
生命:EMA(CLOSE,453),COLORCYAN,LINETHICK1;
判:IF(M60>REF(M60,1),M60,DRAWNULL),COLORMAGENTA,LINETHICK2;
判2:IF(M20< REF(M20,1),M20,DRAWNULL),COLORGREEN,LINETHICK1;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
空头:=M250>M120 AND M120>M90 AND M90>M60 AND M60>M30 AND M30>M20 AND M20>M10 AND M10>M5;
空头2:=M250>M180 AND M180>M120 AND M120>M90 AND M90>M60 AND M60>M30 AND M30>M20 AND M20>M10 AND M10>M5;
DRAWTEXT(CROSS(M5,M10) AND COUNT(空头,10)>0,H*1.005,'底?'),COLORYELLOW;
DRAWTEXT(CROSS(M10,M20) AND COUNT(空头,10)>0,H*1.0035,'底成'),COLORYELLOW;
DRAWTEXT(CROSS(M120,M180) AND M60>REF(M60,1),L*0.9985,'跌后赶顶'),COLORGREEN;
DRAWTEXT(CROSS(M180,M250) AND M60>REF(M60,1) ,L*0.998,'跌后见顶?'),COLORGREEN;
DRAWTEXT(CROSS(M250,M350),M30*0.9985,'若新高逃顶'),COLORGREEN;
DRAWTEXT(CROSS(M250,生命),H*1.0010,'离场'),COLORGREEN;
DRAWTEXT_FIX(C>O,0.01,0.9,0,'分析家公式网www.fxjgsw.com'),COLOR666666;
DRAWTEXT(CROSS(M60,M30) AND DIF< REF(DIF,1),H*1.0013,'要走弱'),COLORGREEN;
DRAWTEXT(CROSS(M90,M60) AND M60< REF(M60,1),H*1.0013,'要见小底'),COLORGREEN;
DRAWTEXT(CROSS(M120,M90),H*1.001,'要见中底'),COLORGREEN;
DRAWTEXT(CROSS(M250,M120),H*1.0013,'要见大底'),COLORGREEN;
DRAWTEXT(CROSS(M250,M180),M60*0.998,'大底到'),COLORGREEN;
做多:LLV((O+H+L+2*C)/5*2-H,8),COLORLIRED,DOTLINE;
做空:HHV((O+H+L+2*C)/5*2-L,8),COLORLIRED,DOTLINE;
STICKLINE(L< 做多,O,C,1,0),COLORYELLOW;
STICKLINE(H>做空,O,C,1,0),COLORBLUE;
MM:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
分批出:=CROSS(MM,85);
分批买:=CROSS(MM,15);
DRAWTEXT(分批买,C*1.0045,'进'),COLORYELLOW;
DRAWTEXT(分批出 ,H*0.999,'出'),COLORGREEN;
DRAWICON(分批买,H*1.0025,9);
A11:=BARSLAST(REF(CROSS(DIF,DEA),1));
底背离:=REF(CLOSE,A11+1)>CLOSE AND DIF>REF(DIF,A11+1) AND CROSS(DIF,DEA),COLORFF00FF;
DRAWTEXT(底背离,L*1.001,'M背'),COLORMAGENTA;
A12:=BARSLAST(REF(CROSS(DEA,DIF),1));
顶背离:=REF(CLOSE,A12+1)< CLOSE AND REF(DIF,A12+1)>DIF AND CROSS(DEA,DIF),COLORGREEN;
DRAWTEXT(顶背离,H*0.999,'M背'),COLORGREEN;
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIF,DEA) AND DEA< 0 AND COUNT(JCCOUNT=2,21)=1;
DRAWTEXT(二次金叉,H*1.0015,'二金叉'),COLORYELLOW;
资金线:=EMA(C,1)/MA(REF(C,18),18)*100;
生命线:=MA(FORCAST(资金线,20),6);
生命连跌:=EVERY(生命线< REF(生命线,1),8);
生命连涨:=EVERY(生命线>REF(生命线,1),8);
STICKLINE(空头,M120,M90,1,0),COLORGREEN;
STICKLINE(空头 AND LAST(DIF< REF(DIF,1),10,1) AND DIF>REF(DIF,1),M120,M20,1,0),COLORMAGENTA;
STICKLINE(空头 AND CROSS(资金线,生命线) AND 生命线< 95,M120,M20,1,0),COLORLIRED;
STICKLINE(空头 AND 生命线>REF(生命线,1) AND REF(生命连跌,1)=1 AND 生命线< 95,M60,M120,1,0),COLORRED;
DRAWTEXT(空头 AND CROSS(资金线,生命线) AND 生命线< 95,M120,'买'),COLORLIRED;
DRAWTEXT(O>C AND C>REF(C,1) AND C>REF(C,1)*1.03,O,'随后有涨停'),COLORLIRED;
MV5:=MA(VOL,5),COLORWHITE,LINETHICK2;
M3:=MA(VOL,35),COLORLIRED;
M1:=MA(VOL,135),COLORGREEN;
DRAWTEXT(CROSS(C,生命) AND C>REF(C,1)*1.02 AND DIF>REF(DIF,1) AND M30>REF(M30,1) AND MV5>REF(MV5,1) AND M1>REF(M1,1),H,'突破'),COLORMAGENTA;
VL:=REF(LOW,1);
VAR112:=(SMA(ABS(LOW-VL),7,1))/(SMA(MAX(LOW-VL,0),7,1))*100;
VAR14:=MA(VAR112,7);
VAR15:=LLV(LOW,15);
VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);
VAR110:=SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,7,1),5,1);
VAR111:=SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,7,1)*16.18-VAR110*10.9;
TT:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),7);
DRAWTEXT(TT,H*1.002,'随后止跌'),COLORCYAN;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,L*0.998,'埋伏'),COLORMAGENTA;
DRAWTEXT(CROSS(EMA(C,8),EMA(C,3)),L*0.997,'跟'),COLORCYAN;
量B:=SUM(VOL,5)/(SUM(VOL,10)-SUM(VOL,5));
芝麻:=REF(量B,1)< 0.6 AND 量B>REF(量B,1);
DRAWTEXT(芝麻,L*0.998,'芝'),COLORWHITE;
PDAY1 := BARSLAST(CROSS(M5,M60));
PDAY2 := BARSLAST(CROSS(M10,M60));
PDAY3 := BARSLAST(REF(HIGH=HHV(HIGH,PDAY2),1));
PDAY4 := BARSLAST(CROSS(M10,M5));
PDAY5 := BARSLAST(CROSS(M5,M10));
A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5< 5;
A2:= COUNT(CROSS(M10,M5),PDAY2)=1;
A3:=M5>M60 AND M10>M60;
老鸭头:=(A1 AND A2 AND A3) AND FILTER(A1 AND A2 AND A3 ,5);
DRAWTEXT(老鸭头,H*1.005,'老鸭头'),COLORGREEN;
“埋伏”的选股信号,源码如下:
MV5:=MA(VOL,5),COLORWHITE,LINETHICK2;
M3:=MA(VOL,35),COLORLIRED;
M1:=MA(VOL,135),COLORGREEN;
VL:=REF(LOW,1);
VAR112:=(SMA(ABS(LOW-VL),7,1))/(SMA(MAX(LOW-VL,0),7,1))*100;
VAR14:=MA(VAR112,7);
VAR15:=LLV(LOW,15);
VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);
VAR110:=SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,7,1),5,1);
VAR111:=SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,7,1)*16.18-VAR110*10.9;
TT:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),7);
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
CROSS(买线,卖线);
|
- 软件大小:5.00 KB
- 推荐星级:
- 更新时间:2023-04-11 07:23:45
- 软件类别: 国产软件 / 通达信公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: 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年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!