底顶明确
底顶明确 指标公式:找顶底、神猎顶底、神龙顶底,中线顶底,麒麟天地:小白顶底点石为金主图。
【股票资源馆】大智慧专业版破解版,大智慧机构破解版,大智慧ACE破解版,ACE策略,AI活跃度。
日趋完善的MACD 指标公式:红色MACD、实战型MACD、MACD上主图,MACD零轴主图,MACD交易主图:精准的变异MACDMACD仓位控制。
通达信日趋完善的MACD指标公式
M:=7;N:=11;
VAR1:=EMA(SLOPE(C,21)+C,34);
VAR5:=EMA(C,2);
VAR9:=VAR5-VAR1;
ZJC:=VAR9;
ZJH:=IF(C>O,(H-C)/(C-L)*(C-L)+ZJC,(H-C)/(O-L)*(O-L)+ZJC);
ZJO:=IF(C>O,ZJH-(H-O)/(C-L)*(C-L),ZJH-(H-O)/(O-L)*(O-L));
ZJL:=IF(C>O,ZJH-(H-L)/(H-O)*(H-O),ZJH-(H-L)/(H-C)*(H-C));
WDDIF:EMA(ZJC*5,10)-EMA(ZJC*5,20);
WDDEA:EMA(WDDIF,8);
WDMACD:(WDDIF-WDDEA)*2,COLORSTICK;
收盘值:ZJC,COLORLIBLUE,NODRAW;
AA:=REF(ZJC,M)=HHV(ZJC,2*M+1);
BB:=BACKSET(AA,M+1);
CC:=FILTER(BB,M) AND ZJC=HHV(ZJC,M+1);
A:=BARSLAST(REF(CC,1));
AA1:=REF(ZJC,2)=HHV(ZJC,2*2+1);
BB1:=BACKSET(AA1,2+1);
CC1:=FILTER(BB1,2) AND ZJC=HHV(ZJC,2+1);
A1:=BARSLAST(REF(CC1,1));
TJ:=REF(C,A1+1)<C AND REF(ZJC,A1+1)>ZJC AND CC1;
DBL:=IF((REF(C,A+1)<C AND REF(ZJC,A+1)>ZJC AND CC) OR TJ,8,DRAWNULL)COLORGREEN,NODRAW;
顶背离:DRAWLINE(CC,ZJC,FILTER(DBL>0,5),ZJC,0)LINETHICK2,COLORGREEN;
DRAWTEXT(DBL=8,ZJH*1.1,'顶背离')COLORGREEN;
AA2:=REF(ZJC,N)=LLV(ZJC,2*N+1);
BB2:=BACKSET(AA2,N+1);
CC2:=FILTER(BB2,N) AND ZJC=LLV(ZJC,N+1);
A2:=BARSLAST(REF(CC2,1));
AA3:=REF(ZJC,2)=LLV(ZJC,2*2+1);
BB3:=BACKSET(AA3,2+1);
CC3:=FILTER(BB3,2) AND ZJC=LLV(ZJC,2+1);
A3:=BARSLAST(REF(CC3,1));
TJ1:=REF(C,A3+1)>C AND REF(ZJC,A3+1)<ZJC AND CC3;
XG:=IF((REF(C,A2+1)>C AND REF(ZJC,A2+1)<ZJC AND CC2) OR TJ1,8,DRAWNULL)COLORRED,NODRAW;
选股:DRAWLINE(CC2,ZJC,FILTER(XG>0,5),ZJC,0)LINETHICK2,COLORRED;
DRAWTEXT(XG=8,ZJL*1.1,'底背离')COLORRED;
STICKLINE(WDMACD>REF(WDMACD,1) AND WDMACD>0,0,WDMACD,0,0),COLORRED;
STICKLINE(WDMACD<REF(WDMACD,1) AND WDMACD>0,0,WDMACD,0,0),COLORLIRED;
STICKLINE(WDMACD>REF(WDMACD,1) AND WDMACD<0,0,WDMACD,0,0),COLORYELLOW;
STICKLINE(WDMACD<REF(WDMACD,1) AND WDMACD<0,0,WDMACD,0,0),COLORLIBLUE;
STICKLINE(C> O,ZJH,ZJL,0.01,0),COLORFF66FF;
STICKLINE(C> O,ZJC,ZJO,2.1,0),COLORAA00AA;
STICKLINE(C> O,ZJC,ZJO,1.9,0),COLORCC11CC;
STICKLINE(C> O,ZJC,ZJO,1.6,0),COLORFF22FF;
STICKLINE(C> O,ZJC,ZJO,1.2,0),COLORFF44FF;
STICKLINE(C> O,ZJC,ZJO,0.7,0),COLORFF66FF;
STICKLINE(C> O,ZJC,ZJO,0.2,0),COLORFF99FF;
STICKLINE(C<=O OR C<REF(C,1),ZJH,ZJL,0.01,0),COLORGREEN;
STICKLINE(C<=O OR C<REF(C,1),ZJO,ZJC,2.1,0),COLOR005500;
STICKLINE(C<=O OR C<REF(C,1),ZJO,ZJC,1.9,0),COLOR007700;
STICKLINE(C<=O OR C<REF(C,1),ZJO,ZJC,1.6,0),COLOR009900;
STICKLINE(C<=O OR C<REF(C,1),ZJO,ZJC,1.2,0),COLOR00BB00;
STICKLINE(C<=O OR C<REF(C,1),ZJO,ZJC,0.7,0),COLOR00DD00;
STICKLINE(C<=O OR C<REF(C,1),ZJO,ZJC,0.2,0),COLOR44FF00;
ZTB:=(C-REF(C,1))/REF(C,1)*100>9.91&&(C-REF(C,1))/REF(C,1)*100<10.6;
DRAWTEXT(ZTB,IF(ZJC<0,ZJC*0.9,ZJC*1.1),'涨停板')COLORYELLOW;
STICKLINE(C=H,ZJH,ZJL,0.0,0),COLORYELLOW;
STICKLINE(ZTB,ZJC,ZJO,2.1,0),COLOR006666;
STICKLINE(ZTB,ZJC,ZJO,1.9,0),COLOR008888;
STICKLINE(ZTB,ZJC,ZJO,1.6,0),COLOR00AAAA;
STICKLINE(ZTB,ZJC,ZJO,1.2,0),COLOR00CCCC;
STICKLINE(ZTB,ZJC,ZJO,0.7,0),COLOR00EEEE;
STICKLINE(ZTB,ZJC,ZJO,0.2,0),COLOR33FFFF;
DTB:=(C-REF(C,1))/REF(C,1)*100<-9.9&&(C-REF(C,1))/REF(C,1)*100>-10.6;
DRAWTEXT(DTB,IF(ZJC>0,ZJC*0.9,ZJC*1.1),'跌停板')COLORFF8800;
STICKLINE(DTB,ZJO,ZJC,2.1,0),COLORFF0000;{蓝色}
STICKLINE(DTB,ZJO,ZJC,1.9,0),COLORFF2200;
STICKLINE(DTB,ZJO,ZJC,1.6,0),COLORFF4400;
STICKLINE(DTB,ZJO,ZJC,1.2,0),COLORFF6600;
STICKLINE(DTB,ZJO,ZJC,0.7,0),COLORFF8800;
STICKLINE(DTB,ZJO,ZJC,0.2,0),COLORFFAA00;
WZ:=HHV(WDDIF*2,200);
DRAWTEXT(CURRBARSCOUNT=40+1,WZ*1.25,'-'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=40+1,WZ*1.20,'【操作要领】'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=40,WZ*1.10,'0轴以上,与主图相比,阴K线若高收,后市下跌。')COLOR44FF00;
DRAWTEXT(CURRBARSCOUNT=40,WZ*1.00,'0轴以上,与主图相比,阳K线若下挫,后市下跌。')COLOR44FF00;
DRAWTEXT(CURRBARSCOUNT=40,WZ*0.90,'0轴以上,股价创新高但MACD柱状线缩短,后市下调或下跌。')COLOR44FF00;
DRAWTEXT(CURRBARSCOUNT=40,WZ*0.80,'0轴以下,与主图相比,阴K线若上移,后市上涨。'),COLORFF66FF;
DRAWTEXT(CURRBARSCOUNT=40,WZ*0.70,'0轴以下,与主图相比,阳K线若下挫,后市上涨。'),COLORFF66FF;
DRAWTEXT(CURRBARSCOUNT=40,WZ*0.60,'0轴以下,股价创新低但MACD柱状线缩短或翻红,后市上涨。'),COLORFF66FF;
通达信涨跌超前MACD指标公式
0,COLORGRAY;
DIF12:=(EMA(CLOSE,12)-EMA(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*1000;
DEA12:=EMA(DIF12,9);
KDIF12:=3*(DIF12-DEA12);
KDEA12:=SMA(KDIF12,5,2);
微分DIF:=KDIF12*5,COLORWHITE,LINETHICK1;
微分DEA:=KDEA12*5,COLORYELLOW,LINETHICK1;
MACD2:2*(微分DIF-微分DEA),COLORBLACK;
MAMACD:=MA(MACD2,3),,COLORBLACK;
STICKLINE(MACD2>REF(MACD2,1) AND MACD2>0,0,MACD2,1,0),COLORRED;
STICKLINE(MACD2<=REF(MACD2,1) AND MACD2>0,0,MACD2,1,0),COLORYELLOW;
STICKLINE(MACD2<REF(MACD2,1) AND MACD2<0,0,MACD2,1,0),COLORCYAN;
STICKLINE(MACD2>=REF(MACD2,1) AND MACD2<0,0,MACD2,1,0),COLORMAGENTA;
STICKLINE(MAMACD<1*REF(MAMACD,1), MAMACD, MACD2 ,3, 0),COLORBLUE;
STICKLINE(MAMACD>1*REF(MAMACD,1), MAMACD, MACD2 , 3, 0),COLORLIRED;
微分DIF2:KDIF12*5,COLORRED,LINETHICK1;
微分DEA2:KDEA12*5,COLORMAGENTA,LINETHICK1;
NOTEXT强:IF(微分DIF2<MA(微分DIF2,2),微分DIF2,DRAWNULL),COLORGREEN;
NOTEXT弱:IF(微分DEA2<MAX(微分DEA2,REF(微分DEA2,1)),微分DEA2,DRAWNULL),COLORYELLOW;
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*300,COLORWHITE,DOTLINE;
DEA:=EMA(DIF,9),COLORYELLOW,DOTLINE;
DIF普:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA普:=EMA(DIF,9);
MACD:=(DIF普-DEA普)*2,COLORSTICK;
A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));
B1:=REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA");
{DRAWTEXT(B1>0,DIF*0.7,'↙MACD底背'),COLORFF00FF; }
C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));
D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)>"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF");
{DRAWTEXT(D1>0,DIF*1.2,'↙MACD顶离'),COLORBLUE;}{MACD顶背离}
JC := DEA-DIF;
绿柱面积:=IF(MACD<0,SUM(MACD,BARSLAST(JC<0)),0);
红柱面积:=IF(MACD>0,SUM(MACD,BARSLAST(JC>0)),0);
本次最低价:=LLV(L,BARSLAST(JC<0));
本次最高价:=HHV(H,BARSLAST(JC>0));
X1:=IF (MACD<0,BARSLAST(CROSS(DIF,DEA)),0);
前次绿柱面积:=REF(绿柱面积,X1+1);
前次最低价:=REF(本次最低价,X1+1);
Y1:=IF((绿柱面积<0 AND ABS(绿柱面积)<ABS(前次绿柱面积)
AND 本次最低价<前次最低价 ),1,0);
RS1:= MACD<0 AND REF(MACD,1)<0 AND C<前次最低价
AND ABS(绿柱面积)<ABS(前次绿柱面积) AND ABS(MACD)<ABS(REF(MACD,1));
底背驰: IF (CROSS(DIF,DEA),REF(Y1,1),0);
DRAWTEXT(底背驰,DIF*0.8,'↙积底背'),COLOR00FFFF;
X2:=IF (MACD>0,BARSLAST(CROSS(DEA,DIF)),0);
前次红柱面积:=REF(红柱面积,X2+1);
前次最高价:=REF(本次最高价,X2+1);
Y2:=IF((红柱面积>0 AND 红柱面积<前次红柱面积 AND 本次最高价>前次最高价 ),1,0);
RS2:= MACD>0 AND REF(MACD,1)>0 AND C>前次最高价 AND ABS(红柱面积)<ABS(前次红柱面积) AND ABS(MACD)<ABS(REF(MACD,1));
顶背驰:= IF (CROSS(DEA,DIF),REF(Y2,1),0);
DRAWTEXT(顶背驰,DIF*0.8,'↙顶底背'),COLORGREEN;
MACD高:=HHV(MACD,5);
E:=REF(C,C1+1)>C AND DEA>0 AND REF(MACD高,C1+1)<MACD高 AND CROSS("MACD.DEA","MACD.DIF") ;
{DRAWTEXT(E>0,DIF*1.1,'↙柱顶背'),COLORRED;}
F:=REF(C,A1+1)>C AND DEA<0 AND REF(MACD高,A1+1)<MACD高 AND CROSS("MACD.DIF","MACD.DEA");
{DRAWTEXT(F>0,DIF*0.9,'↙柱底背'),COLORYELLOW;}
MACD+神奇数字+挖坑MACD和KDJ组合,量化MACD主图、无钝化滞后的MACD,波段MACD主图复合MACD,MACD水下三金叉股价双背离副图。
{股票公式网:www.lixiangluntan.com专业破解官方高端股票软件--公式编写交流--加QQ751161480--}黑马股票
多均线艺术主图
多均线艺术主图 指标公式:老鼠仓+见底主图、黑牛战法主图及选股、价格天梯主图,箱体A主图,ENE季月线主图:神兵五彩主图归一操盘主图。