明哥低买高卖 SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
饱和:IF(SAT>1,1,SAT)*100,NODRAW;
中线:50;
A:=V*100/CAPITAL;
小快牛:=MA(A,180);
DIFF0:=(EMA(DCLOSE,12)-EMA(DCLOSE,26))*100;
DEA0:=EMA(DIFF0,9);
MACD0:=2*(DIFF0-DEA0);
快牛买入:=(MACD0>REF(MACD0,1)*2.5 AND MACD0>15);
DIF:=(EMA(CLOSE,5)-EMA(CLOSE,10))*100;
DEA:=EMA(DIF,5);
MACD:=(DIF-DEA)*2,COLORSTICK;
IF(DIF<DEA,DIF,DRAWNULL),colorgreen;
DD:=C=HHV(C,180);
EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1;
CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;
顶背离:=(DD AND EE AND DEA< HHV(DEA,180))*DEA;
A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
顶背:=REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(DEA,DIF);
DRAWLINE(A2=0,DEA,顶背离,DEA,0),colorred,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,3),coloryellow;
D:=SMA(K,9,3),colorwhite;
J:=3*K-2*D,colormagenta;
IF(J<D,J,DRAWNULL),COLORFFEE44;
ma500:=MA(C,5);
ma13:=MA(C,13);
ma21:=MA(C,21);
ma34:=MA(C,34);
ma55:=MA(C,55);
ma89:=MA(C,89);
ma144:=MA(C,144);
ma233:=MA(C,233);
tmp1:=IF(C>ma500,1,0);
tmp2:=IF(C>ma13,1,0);
tmp3:=IF(C>ma21,1,0);
tmp4:=IF(C>ma34,1,0);
tmp5:=IF(C>ma55,1,0);
tmp6:=IF(C>ma89,1,0);
tmp7:=IF(C>ma144,1,0);
tmp8:=IF(C>ma233,1,0);
强弱钝化线:=tmp1+tmp2+tmp3+tmp4+tmp5+tmp6+tmp7+tmp8+-3.8,coloryellow,LINETHICK1;
A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIF,A1+1)<DIF AND CROSS(DIF,DEA);
A22:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
B2:=REF(C,A22+1)>C AND REF("KDJ.K"(9,3,3),A22+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
MDJ:=CROSS(DIF,DEA) AND DEA<0;
A:=CROSS(DIF,DEA) AND CROSS(K,D) AND CROSS(J,D);
金叉共振:=CROSS(DIF,DEA) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)) AND K<=80 AND 强弱钝化线>0;
DRAWICON(金叉共振,-1,1),LINETHICK1;
STICKLINE(金叉共振,70,1,2,0),colorwhite;
DRAWTEXT(金叉共振, 70,' 共振'),colorwhite;
RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
K1:=SMA(RSV1,5,1);
D1:=SMA(K1,5,1);
J1:=3*K1-2*D1;
AA1:=EMA(J1,5);
AA2:=REF(AA1,1);
STICKLINE(AA1>AA2,AA1,AA2,10,0),COLOR0055AA;
//长J
STICKLINE(AA1>AA2,AA1,AA2,4,0),COLOR0077CC;
STICKLINE(AA1>AA2,AA1,AA2,2,0),COLOR0099DD;
STICKLINE(AA1>AA2,AA1,AA2,1,0),COLOR01BEE7;
STICKLINE(AA1<=AA2,AA1,AA2,4,0),COLOR006600;
STICKLINE(AA1<=AA2,AA1,AA2,4,0),COLOR009900;
STICKLINE(AA1<=AA2,AA1,AA2,2,0),COLOR00BB00;
STICKLINE(AA1<=AA2,AA1,AA2,1,0),COLOR00CC00;
RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
STICKLINE(BB1>BB2,BB1,BB2,7,0),COLOR000095;
//短J
STICKLINE(BB1>BB2,BB1,BB2,3,0),COLOR000085;
STICKLINE(BB1>BB2,BB1,BB2,2,0),COLOR0000C5;
STICKLINE(BB1>BB2,BB1,BB2,1,0),COLOR0000E5;
STICKLINE(BB1<=BB2,BB1,BB2,4,0),COLOR353500;
STICKLINE(BB1<=BB2,BB1,BB2,3,0),COLOR555500;
STICKLINE(BB1<=BB2,BB1,BB2,2,0),COLOR757500;
STICKLINE(BB1<=BB2,BB1,BB2,1,0),COLOR858500;
DD:=AA1>AA2 AND BB1>BB2;
买入:=DD AND NOT(REF(DD,1)) AND (AA1<50 OR BB1<50) AND MACD0>0 ,LINETHICK0;
DRAWICON(买入,-1,1),LINETHICK1;
卖出1=REF(DD,1)=1 AND NOT(DD),LINETHICK1;
BB:=AA1>AA2;
卖出2:=REF(BB,1)=1 AND NOT(BB),LINETHICK1;
DRAWICON(卖出2,60,8),LINETHICK1;
Var1:=MA(C,5);
Var2:=MA(C,24);
穿头破脚:BACKSET(REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND CLOSE>REF(OPEN,1) AND OPEN< REF(CLOSE,1),3) ;
早晨之星:BACKSET(REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),3) ;
早晨十字星:=BACKSET(REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),3);
平底:=BACKSET((ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001),3) ;
曙光初现:BACKSET(REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03 AND OPEN< REF(CLOSE,1) AND CLOSE>REF(CLOSE,1),3);
跳空缺口:BACKSET(LOW>REF(HIGH,1),3);
长下影:(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667 ;
预警:穿头破脚 OR 早晨之星 OR 早晨十字星 OR 平底 OR 曙光初现 OR 长下影 OR 跳空缺口;
r0:=((IF(ISNULL(ZDMR[-1]),0,ZDMR)+IF(ISNULL(BDMR[-1]),0,BDMR))
-(IF(ISNULL(ZDMC[-1]),0,ZDMC)+IF(ISNULL(BDMC[-1]),0,BDMC)))/SHGZG*100;
MA555:=MA(r0,5);
超买:=3.2,coloryellow;
超卖:=0.5,coloryellow;
强弱分界线:=1.75,POINTDOT,linethick2,Color70DB93;
最小值:=LLV(LOW,10);
最大值:=HHV(HIGH,25);
波动线:=EMA((CLOSE-最小值)/(最大值-最小值)*4,4);
平均线:=EMA(波动线,3);
主力攻击:=(r0-(ABS(REF(r0,1))+ABS(REF(r0,2))+ABS(REF(r0,3))+ABS(REF(r0,4))+ABS(REF(r0,5))/2)>0
AND 平均线>=REF(平均线,1) AND REF(平均线,1)<REF(平均线,2))*100 AND K<80;
STICKLINE(主力攻击,40,1,2,0),colorred;
DRAWTEXT(主力攻击,40,'攻击'),colorred;
MA2:=EMA(C,2);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
MA30:=EMA(C,30);
MA55:=EMA(C,55);
YCX:=MA5>=REF(MA5,1);
H1:=MAX(MAX(MA5,MA13),MA30);
L1:=MIN(MIN(MA5,MA13),MA30);
一阳穿三线:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1),coloryellow;
满仓选股:=IF(一阳穿三线,58,0),coloryellow,LINETHICK1;
IF(一阳穿三线,58,0),coloryellow,LINETHICK1;
STICKLINE(一阳穿三线,50,1,2,0),coloryellow;
DRAWTEXT(一阳穿三线,-5,'1穿3'),coloryellow;
全卖:(ZIG(3,35)<REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)>REF(ZIG(3,35),2)),STICK,colorgreen,LINETHICK2;
STICKLINE(全卖,100,1,2,0),coloryellow;
DRAWTEXT(全卖,100,'止盈'),colorgreen;
倍量3:=VOL>=REF(V,1)*1.8 AND C>REF(C,1)*1.05;
K1:=SUMBARS(倍量3,1);
调整天数:=BARSLAST(倍量3)<7;
不破开盘价:=LLV(C,BARSLAST(倍量3))>=REF(O,BARSLAST(倍量3));
小实体:=HHV(ABS(C-REF(C,1))/REF(C,1)*100,BARSLAST(倍量3))<=5;
回调:=调整天数 AND 不破开盘价 AND 小实体;
回调买点:=(倍量3 AND REF(回调,1)),coloryellow;
STICKLINE(回调买点,50,0,1,0),colormagenta;
DRAWTEXT(回调买点,50,'回买'),colormagenta;
百日高量:=VOL>=HHV(V,100) AND C>REF(C,100)*1.098 AND C>REF(C,1)*1.038;
STICKLINE(百日高量,80,0,3,0),colorred;
DRAWTEXT(百日高量,100,'百高'),colorred;
EMA30:=EMA(C,30),colorwhite,LINETHICK2;
EMA60:=EMA(C,60),COLORFF00FF;
EMA90:=EMA(C,90),coloryellow;
EMA120:=EMA(C,120),COLORFFCC66;
EMA250:=EMA(C,250),colorblue;
四线粘合:=CROSS(EMA30,EMA60) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA30,EMA120) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA60,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(EMA30,EMA90) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(EMA30,EMA120);
DRAWICON(四线粘合,25,1);
STICKLINE(四线粘合,50,0,3,0),colorwhite;
DRAWTEXT(四线粘合,25,'四线粘合'),colorwhite;
|
- 软件大小:13.0 KB
- 推荐星级:
- 更新时间:2023-06-11 00:05:43
- 软件类别: 国产软件 / 同花顺公式
- 软件语言:简体中文
- 授权方式: 免费版
- 联系方式:暂无联系方式
- 官方主页: 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年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!