大智慧月价季托量托带背离顶底提示主图指标公式,通达信入市建仓指标公式
admin888
|大智慧月价季托量托带背离顶底提示主图指标公式,通达信入市建仓指标公式
大智慧月价季托量托带背离顶底提示主图指标公式
M3:ma(C,3);
M5:=MA(C,5);
M8:=MA(C,8);
M11:MA(C,11);
M16:=MA(C,16);
M32:=MA(C,32);
M55:MA(C,55);
M89:MA(C,89);
M144:MA(C,144);
M233:MA(C,233);
M512:MA(C,512);
M1024:=MA(C,1024);
月价托:m5>m16 and m5>m8 andcross(m8,m16),coloryellow,linethick0;
季价托:m16>m55 and m16>m32 and cross(m32,m55),colorf00ff0,linethick0;
短、长价托:m5>m55 and m5>m8 and cross(m8,m55),colorred,linethick0;
drawtext(月价托,l,'月价托'),coloryellow;
stickline(月价托,l,h,0.5,1), coloryellow;
stickline(月价托,o,c,5,1),linethick3, coloryellow;
drawtext(季价托,l,'季价托'),colorf00ff0;
stickline(季价托,l,h,0.5,1), colorf00ff0;
stickline(季价托,o,c,5,1),linethick3, colorf00ff0;
drawtext(短、长价托,l,'短、长价托'),color36c0c1;
stickline(短、长价托,l,h,0.5,1), color36c0c1;
stickline(短、长价托,o,c,5,0),linethick3, color36c0c1;
vol1:=MA(VOL,5);
voL2:=MA(VOL,10);
vol3:=MA(VOL,20);
量托:vol1>=vol3 and cross(vol2,vol3) and ref(vol2,1)
drawtext(量托,l,'▲'),colorwhite;
drawtext(量托,l*0.97,'量托'),colorwhite;
stickline(量托,l,h,0.5,1), colorwhite;
stickline(量托,o,c,5,1),linethick3, colorwhite;
DRAWTEXTREL(4,20,'
板块:'+BKNAME),LINETHICK1,COLORFFFFFF;
DRAWTEXTAbs(4,20 ,'流通盘:'+capital/1000000+'亿(小盘股<5个亿<中盘股<10亿<大盘股)'),COLOR00FF00,linethick1;
BDGD:=C=HHV(C,13);
GDSJ:=BArsl(FILTER(CROSS(0.8,BDGD),2))+1;
高点:REF(C,GDSJ),COLORFF00FF,POINTDOT,LAYER0;
突破:CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,LINETHICK0;
STICKLINE(GDSJ<=6,高点,高点,8,0),COLORFF00FF,LAYER0;
DRAWTEXT(突破,LOW,'↑'),COLOR00FFFF,ALIGN1;
BDDD:=C=LLV(C,13);
DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),2))+1;
低点:REF(C,DDSJ),COLOR00FF00,POINTDOT,LAYER0;
STICKLINE(DDSJ<=6,低点,低点,8,0),COLOR00FF00,LAYER0;
difF:=(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
macd:=2*(DIFF-DEA);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)
DRAWTEXT(FILTER(B1>0,5),L*0.91,'M底'),COLORGREEN;{MacD底背离}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));
DRAWTEXT(FILTER(B2>0,3),L*0.93,'K底'),COLORYELLOW;{KDJ底
背离}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));
DRAWTEXT(FILTER(B3>0,5),L*0.95,'R底'),COLORFFFF00;{RSI底背离}
C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
D1:=REF(C,C1+1)
DRAWTEXT(FILTER(D1>0,5),H*1.06,'M顶'),COLOR0066FF;{MACD顶背离}
C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));
D2:=REF(C,C2+1)
DRAWTEXT(FILTER(D2>0,3),H*1.06,'K顶'),COLORRED;{KDJ顶背离}
C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
D3:=REF(C,C3+1)
DRAWTEXT(FILTER(D3>0,5),H*1.06,'R顶'),COLORFF00FF;{RSI顶背离};
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背'),Color0000FF;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背'),Color00FFFF;
vll:=cross(ma(c,10),ma(c,21));
DRAWTEXT(vll,m8,''),colorwhite;
DRAWTEXT(vll,m8-0.09,'圆弧底'),colorwhite;
DRAWTEXT(CROSS(80,RSI) ,high*1.02,'见顶'),coloryellow;
Varb:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
Varc:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
Vard:=BARSCOUNT(CLOSE);
Var1:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100-60;
Var2:=SMA(Var1,3,1)+100;
Var3:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*1000;
Var4:=SMA(Var3,3,1);Var5:=SMA(Var4,3,1)+100;Var6:=Var5-Var2;
主力:=EMA( (CLOSE-MA(CLOSE,3))/MA(CLOSE,3)*4800,2);
散户:=EMA( (CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*4800,7);
drawtext(cross(主力,散户) and 主力<0 and 散户<0,low,'见底'),colorred;
drawtext(cross(散户,主力) and 主力<0 and 散户<0,high*1.02,'清仓'),colorgreen;
var120:='■坐底飙升提示今日上穿;
if CROSS(c,ma(c,5)) AND BARSTATUS=2 THEN var120:=var120+'【5】均'+NUMTOSTRN(ma(c,5),2)+'元';
if CROSS(c,ma(c,10)) AND BARSTATUS=2 THEN var120:=var120+'【10】均线'+NUMTOSTRN(ma(c,10),2)+'元';
if CROSS(c,ma(c,20)) AND BARSTATUS=2 THEN var120:=var120+'【20】均线'+NUMTOSTRN(ma(c,20),2)+'元';
if CROSS(c,ma(c,30)) AND BARSTATUS=2 THEN var120:=var120+'【30】均线'+NUMTOSTRN(ma(c,30),2)+'元';
if CROSS(c,ma(c,40)) AND BARSTATUS=2 THEN var120:=var120+'【40】均线'+NUMTOSTRN(ma(c,40),2)+'元';
if CROSS(c,ma(c,50)) AND BARSTATUS=2 THEN var120:=var120+'【50】均线'+NUMTOSTRN(ma(c,50),2)+'元';
if CROSS(c,ma(c,60)) AND BARSTATUS=2 THEN var120:=var120+'【60】均线'+NUMTOSTRN(ma(c,60),2)+'元';
if CROSS(c,ma(c,120)) AND BARSTATUS=2 THEN var120:=var120+'【120】均线';
if (c>=ma(c,10)) AND BARSTATUS=2 THEN var120:=var120+'■在10均线上方■'+NUMTOSTRN(ma(c,10),2)+'元';
DRAWTEXTREL(600,900,var120),Color8000FF;
var121:='■坐底飙升提示今日下破';
if CROSS(ma(c,5),c) AND BARSTATUS=2 THEN var121:=var121+'【5】均线'+NUMTOSTRN(ma(c,5),2)+'元';
if CROSS(ma(c,10),c) AND BARSTATUS=2 THEN var121:=var121+'【10】均线'+NUMTOSTRN(ma(c,10),2)+'元';
if CROSS(ma(c,20),c) AND BARSTATUS=2 THEN var121:=var121+'【20】均线'+NUMTOSTRN(ma(c,20),2)+'元';
if CROSS(ma(c,30),c) AND BARSTATUS=2 THEN var121:=var121+'【30】均线'+NUMTOSTRN(ma(c,30),2)+'元';
if CROSS(ma(c,40),c) AND BARSTATUS=2 THEN var121:=var121+'【40】均线'+NUMTOSTRN(ma(c,40),2)+'元';
if CROSS(ma(c,50),c) AND BARSTATUS=2 THEN var121:=var121+'【50】均线'+NUMTOSTRN(ma(c,50),2)+'元';
if CROSS(ma(c,60),c) AND BARSTATUS=2 THEN var121:=var121+'【60】均线'+NUMTOSTRN(ma(c,60),2)+'元';
if CROSS(ma(c,120),c) AND BARSTATUS=2 THEN var121:=var121+'【120】均线';
if (ma(c,10)>=c) AND BARSTATUS=2 THEN var121:=var121+'■在10均线下方■'+NUMTOSTRN(ma(c,10),2)+'元';
DRAWTEXTREL(600,960,var121),Color00FF00;
每股收益:=FINANCE2(3);
每股市盈率:=DYNAINFO(39);
每股净资产:=FINANCE2(4);
销售毛利率:=FINANCE2(12);
主营收入同比:=FINANCE2(11);
净利润同比增长:=FINANCE2(10);
DRAWTEXTABS(20,40,'
基本面提示:'),ColorFFFFFF,LINETHICK1;
DRAWTEXTABS(100,40,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),ColorFFFFFF;
DRAWTEXTABS(200,40,'每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),ColorFFFFFF;
DRAWTEXTABS(350,40,'每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),ColorFFFFFF;
DRAWTEXTABS(85,55,' 销售毛利率'+NUMTOSTRN(销售毛利率,2)+'%'),LINETHICK1,ColorFFFFFF;
DRAWTEXTABS(200,55,'主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),LINETHICK1,ColorFFFFFF;
DRAWTEXTABS(350,55,'净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),LINETHICK1,ColorFFFFFF;
DRAWTEXTABS(20,70,'换手率提示:'),Coloryellow,LINETHICK1;
当日换手率:=sum(100*v/capital,1);
DRAWTEXTABS(100,70,'当日换手:'+NUMTOSTRN(当日换手率,2)+'%'),Coloryellow,LINETHICK1;
五日换手率:=sum(100*v/capital,5);
通达信入市建仓指标公式
VAR2:=REF(LOW,1);
VAR3:=SMA(Abs(LOW-VAR2),13,1)/Sma(MAX(LOW-VAR2,0),13,1)*100;
VAR4:=emaIF(CLOSE*1.2,VAR3*13,VAR3/13),13);
VAR5:=LLV(LOW,34);
VAR6:=HHV(VAR4,34);
VAR7:=IF(LLV(LOW,55),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=EMA(CLOSE,5);
VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);
VAR11:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1);
VAR12:=EMA(CLOSE,5)*(-1);
stICKLINE(VAR8>REF(VAR8,1),0,VAR8,6,1),COLOR10FFFF,LINETHICK3;
备钱:IF(VAR8>REF(VAR8,1),0,VAR8),COLOR0FFFFF;
STICKLINE(VAR11>REF(VAR11,1),0,VAR11,6,1),COLORFFF810;
界:0,COLORFFFFFF,LINETHICK1;
XL1:=MA(LOW,2)*0.96;
XL2:=MA(LOW,26)*0.85;
XL3:=REF(XL1,1)
STICKLINE(XL3,0,VAR8*3,8,0),COLORRED;
启动:IF(XL3,0,VAR8*3),COLORRED;
VA:=(2*C+H+L)/4;
VB:=LLV(L,5);
VC:=HHV(H,5);
红线上穿买:EMA((VA-VB)/(VC-VB)*27,5),COLORRED;
红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;
散户:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);
庄家:= EMA(0.667*REF(散户,1)+0.333*散户,2);
DRAWTEXT(crOSS(散户,庄家) AND 散户<30,5,'低进'),COLOR00FF00;
DRAWTEXT(CROSS(散户,庄家) AND 散户<30,7,'●'),COLORFFFFFF;
DRAWTEXT(CROSS(庄家,散户) AND 散户>70,25,'高出'),COLOR00FF00;
DRAWTEXT(CROSS(庄家,散户) AND 散户>70,22,'●'),COLOR00FF00;
极品底:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),LINETHICK2,COLORFF00FF;
DRAWICON(极品底=23,23,1),LINETHICK2,COLORFFFFFF;
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,3,'低进'),COLORFFFF00;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,7,'▲'),COLORRED;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,6,'▲'),COLORRED;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,5,'↑'),COLORRED;
QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
QVAR1C:=SMA(QVAR1B,13,8);
QVAR1D:=SMA(QVAR1A,21,8);
机会来临:=SMA(QVAR1C,13,8),COLORRED;
AAS:=FILTER((COUNT((机会来临-QVAR1D<(-65)),3)=3),34);
波段买点:IF(AAS,15,0),COLORFFFFFF,STICK,LINETHICK6;
DRAWTEXT(波段买点,17,'波段买'),COLORFFFFFF;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。