改编后横盘启动公式(通达信),MACD趋势看盘(通达信)
admin888
|改编后横盘启动公式(通达信),MACD趋势看盘(通达信)
改编后横盘启动公式(通达信)
可在信号出现后,留意股价走势!请主意:任何指标在大势不好时都会显得很苍白!因为市场决定市场!
LOWV:=LLV(CLOSE,50); {15天内的最低价}
HIGHV:=HHV(CLOSE,50); {15天内的
最高价}差值:=HIGHV-LOWV;
均值:=(LOWV+HIGHV)/2;
HIGHVV:=HHV(HIGH,50); {40天内的最高价}
百日高位:=HHV(HIGH,100);
前期非顶:=HIGHVV<百日高位*1.3;
长线:=C>ma(C,60);V0:=V; {当天的
成交量}V1:=REF(V,1); {一天前的
成交量}V2:=REF(V,2); {两天前的成交量}
V3:=REF(V,3); {三天前的成交量}
HV22:=HHV(V,35); {35天内的最大成交量}
D0U:=C>O; {今天是阳线}
D1U:=REF(C,1)>=REF(C,2); {昨天是阳线}横盘
:=(差值/均值)<0.15; {半个月内价格波动小于15%}放量
1:=V0>=1.8*REF(V,1){(1.8*((V1+V2+V3)/3)}; {今
天量是前三天均量的1.8倍}放量2:=V0<=(3.8*V1); { 今天的量在昨天量的四倍范围内}
今天阳线:=D0U; {今天是阳线}
昨天阳线:=D1U; {昨天是阳线}
今天中阳:=(C-REF(C,1))/REF(C,1)>=0.018; {今天
涨幅大于1.8%}开盘非最高价:=C<=HIGHVV; {
收盘非40天内最高价}收盘非最高价:=O<=HIGHVV; {开盘非40天内最高价}
非最大成交量:=V0
横盘启动买点1:横盘 AND 放量1 AND 放量2 AND 今天阳线 AND{昨天阳线 AND}
今天中阳 AND 开盘非最高价;
我贴的图是我整合到了主图中!上面发的是副图用!
MACD趋势看盘(通达信)
short:=9;
long:=18;
mid:=7;
持仓区:0,COLORYELLOW,LINETHICK0;
空仓区:0,COLORBLUE,LINETHICK0;
dif:=ema(CLOSE,SHORT)-Ema(CLOSE,LONG);
DEA:=EMA(DIF,MID);
macd:2*(DIF-DEA),COLORstICK;
STICKLINE(MacD>=0,MACD,0,0,0),COLOR000FFF;
STICKLINE(MACD<0,MACD,0,0,0),COLORFF00FF;
STICKLINE(MACD0,0,MACD,0,0 ),COLORGREEN;
STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,0,0 ),COLORFFCC66;
趋势:IF(DIF>DEA,DEA,DEA),COLORWHITE;
建仓:IF(DIF<0,DIF,0),COLOR0099FF;
加仓:IF(DIF<0,0,DIF),COLORRED;
清仓:IF(DIF
STICKLINE(DIF>DEA,0.025,-0.025,10,1),COLORYELLOW;
STICKLINE(DIF
A1:=BArslAST(REF(crOSS(DIF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIF,A1+1)
A2:=BARSLAST(REF(CROSS("kdj.K"(9,3,3),"kdJ.D"(9,3,3)),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+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));
C1:=BARSLAST(REF(CROSS(DEA,DIF),1));
D1:=REF(C,C1+1)
C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));
D2:=REF(C,C2+1)
C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
D3:=REF(C,C3+1)
MACD底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT;
KDJ底背:IF(B2>0,-0.1,0),COLORFF00FF,POINTDOT;
RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT;
MACD顶背:IF(D1>0,0.1,0),COLOR00FF00,POINTDOT;
KDJ顶背:IF(D2>0,0.1,0),COLORFFCC66,POINTDOT;
RSI顶背:IF(D3>0,0.1,0),COLORWHITE,POINTDOT;
STICKLINE(B1>0,-0.1,0,2,0),COLORRED;
STICKLINE(B2>0,-0.15,-0.05,2,0),COLORFF00FF;
STICKLINE(B3>0,-0.2,-0.1,2,0),COLORYELLOW;
STICKLINE(D1>0,0.1,0,2,0),COLOR00FF00;
STICKLINE(D2>0,0.15,0.05,2,0),COLORFFCC66;
STICKLINE(D3>0,0.2,0.1,2,0),COLORWHITE;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。