分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]明哥低买高卖(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:13.0 KB
官方主页:Home Page
更新时间:2023-06-11 00:05:43
软件简介:

 明哥低买高卖

低位红柱与黄柱同时出现时买入,高位短线与长线同时死叉时卖出,MACD与KDJ金叉共振、四线粘合、量价创百日新高

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;<
[url=http://www.70822.com/soft/sort013/sort036/down-167932.html]明哥低买高卖(同花顺指标 副图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:66.40625 毫秒