【股票指标公式下载】-【通达信】流通趋势(流通、内外比、量比)

合集下载

【股票指标公式下载】-【通达信】趋势为先(安全线、分水岭)

【股票指标公式下载】-【通达信】趋势为先(安全线、分水岭)

【股票指标公式下载】-【通达信】趋势为先(安全线、分⽔岭)【通达信】趋势为先(安全线、分⽔岭)-指标公式源码VAR2:=LLV(LOW,33);VAR3:=HHV(HIGH,21);VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*100,10)*-1+100;安全线:100-EMA(0.191*REF(VAR4,1)+0.809*VAR4,1),COLORGREEN,LINETHICK8; B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);分⽔岭:=IF(MA(CLOSE,17)操作线:=分⽔岭-(EMA(C,3)-分⽔岭),COLOR00FFFF,LINETHICK8;PM:=MA(C,5),COLORWHITE,LINETHICK2;S:=(PM> 操作线);DD:=分⽔岭IF(S,安全线,DRAWNULL),COLORRED,LINETHICK8;IF(PM>=REF(PM,1),安全线,DRAWNULL),COLORYELLOW,POINTDOT,LINETHICK8; IF(PM76 AND ISLASTBAR,75,'*请注意风险*'),COLORGREEN; DRAWTEXT(安全线<20 AND ISLASTBAR,75,'*近底安全*'),COLORGREEN; DRAWTEXT(安全线>20 AND 安全线<75 AND ISLASTBAR,75,'*中等风险*'),COLORGREEN;V1:=1;V2:=((((2*CLOSE)+HIGH)+LOW) / 4);V4:=LLV(LOW,5);V5:=HHV(HIGH,4);C1:=(EMA((((V2-V4)/(V5-V4))*100),4)*V1),COLORFF00FF,LINETHICK2;C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*V1),COLORFFFFFF,LINETHICK2 ;买:IF(CROSS(C1,C2) AND C1<40,25,15),COLORRED,LINETHICK2;TJ1:=CROSS(C1,C2);TJ2:=CROSS(C2,C1);TJ3:=CROSS(C1,C2) AND REF(C1,1)<20;卖:IF(CROSS(C2,C1) AND REF(C1,1)>80,80,85),COLORGREEN,LINETHICK2;DRAWTEXT(CROSS(C1,75),90,'警'),COLORRED;【通达信】趋势为先(安全线、分⽔岭)-指标公式效果图(⽂档来源:若⽔财经社区)。

通达信量学分析指标公式

通达信量学分析指标公式

通达信量学分析指标公式阴短:C<REF(C,1) AND REF(C,1)*0.955>C AND V*2<REF(V,1),COLOR0066FF ;{小倍阳}N:=1;AA1:=REF(CLOSE,2)<REF(OPEN,2);AA21:=REF(CLOSE,1)<REF(OPEN,1);AA22:=REF(CLOSE,1)>REF(OPEN,1);AA2:=AA21 OR AA22;AA3:=REF(VOL,1)<REF(VOL,2);AA4:=VOL>REF(VOL,2);AA:=AA1 AND AA2 AND AA3 AND AA4;BB1:=VOL/REF(VOL,1)>1.8;BB2:=VOL/REF(VOL,1)<2.5;BB:=BB1 AND BB2;CC:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.02;DD:=AA AND BB AND CC;小倍阳:EXIST(DD,N),COLORBLUE;{长阳矮柱}CY:=(C-REF(C,1))/REF(C,1)>=0.04;AZ:=V/MA(V,60)<=0.5;阳矮:CY AND AZ AND H>L,COLORLIRED;{低位阳胜}低位:=REF({C<O AND} KDJ.J<=20,1);{凹底}价胜:=C>REF(MAX(C,O),1)*1.00;量胜:=V>REF(V,1); { WEN98编制}低阳胜: 低位 AND 价胜 AND 量胜;{凹口平量}XGX7:=ABS((VOL-REF(VOL,7))/REF(VOL,7))<0.04 ANDVOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,7) ANDREF(VOL,2)<REF(VOL,7) ANDREF(VOL,3)<REF(VOL,7) ANDREF(VOL,(7-3))<REF(VOL,7) ANDREF(VOL,(7-2))<REF(VOL,7) ANDREF(VOL,(7-1))<REF(VOL,7);XGX8:=ABS((VOL-REF(VOL,8))/REF(VOL,8))<0.04 AND VOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,8) ANDREF(VOL,2)<REF(VOL,8) ANDREF(VOL,3)<REF(VOL,8) ANDREF(VOL,(8-3))<REF(VOL,8) ANDREF(VOL,(8-2))<REF(VOL,8) ANDREF(VOL,(8-1))<REF(VOL,8);XGX9:=ABS((VOL-REF(VOL,9))/REF(VOL,9))<0.04 AND VOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,9) ANDREF(VOL,2)<REF(VOL,9) ANDREF(VOL,3)<REF(VOL,9) ANDREF(VOL,(9-3))<REF(VOL,9) ANDREF(VOL,(9-2))<REF(VOL,9) ANDREF(VOL,(9-1))<REF(VOL,9);XGX10:=ABS((VOL-REF(VOL,10))/REF(VOL,10))<0.04 AND VOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,10) ANDREF(VOL,2)<REF(VOL,10) ANDREF(VOL,3)<REF(VOL,10) ANDREF(VOL,(10-3))<REF(VOL,10) ANDREF(VOL,(10-2))<REF(VOL,10) ANDREF(VOL,(10-1))<REF(VOL,10);XGX11:=ABS((VOL-REF(VOL,11))/REF(VOL,11))<0.04 ANDVOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,11) ANDREF(VOL,2)<REF(VOL,11) ANDREF(VOL,3)<REF(VOL,11) ANDREF(VOL,(11-3))<REF(VOL,11) ANDREF(VOL,(11-2))<REF(VOL,11) ANDREF(VOL,(11-1))<REF(VOL,11);XGX12:=ABS((VOL-REF(VOL,12))/REF(VOL,12))<0.04 ANDVOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,12) ANDREF(VOL,2)<REF(VOL,12) ANDREF(VOL,3)<REF(VOL,12) ANDREF(VOL,(12-3))<REF(VOL,12) ANDREF(VOL,(12-2))<REF(VOL,12) ANDREF(VOL,(12-1))<REF(VOL,12);XGX30:=(C-REF(C,1))>0 AND C>O;XGX31:=XGX7=1 OR XGX8=1 OR XGX9=1 OR XGX10=1 OR XGX11=1 OR XGX12=1;凹平: XGX31=1 AND XGX30=1,COLORCYAN;{地量群}V100:= V<=LLV(V,100)*1.2 AND V>0 AND BARSCOUNT(V)>=100;百日地量群:=COUNT(V100,5)>=3;地群:FILTER(百日地量群,4),COLORWHITE;{回踩黄金线}{1.黄金柱}JJ:=(3*C+H+L+O)/6;VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);LJL:=FILTER(TJ1,3);黄金线:=REF(LOW,BARSLAST(LJL));黄金柱:=FILTER(TJ1,3);金柱:FILTER(TJ1,3),COLORRED;{2.倍量过左峰}前高:=REF(HHV(C,30),1);倍量:=VOL/REF(VOL,1)>=2.0;倍量过左峰:=C>前高 AND 倍量;倍过左:C>前高 AND 倍量;{3.凹口起柱}T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);凹口起柱:= T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0OR T3 AND T1 AND T0 ;{凹口起柱}AKQZ:= 黄金柱 AND 凹口起柱;{4.前高低位}X:=21;TTY:=H;AAT:=REF(TTY,X)=HHV(TTY,2*X+1);BBT:=FILTER(AAT,X);CCT:=BACKSET(BBT,X+1);HD10T:=FILTER(CCT,X);AA1T:=REF(TTY,X)=LLV(TTY,2*X+1);BB1T:=FILTER(AA1T,X);CC1T:=BACKSET(BB1T,X+1);LD10T:=FILTER(CC1T,X);前期高位:=REF(H,BARSLAST(HD10T));前期低位:=REF(L,BARSLAST(LD10T));{突破前高}TPQG:= 黄金柱 AND 倍量过左峰 AND C>前期高位;{选股}踩金线: (COUNT(TPQG,10) OR COUNT(AKQZ,10)) AND COUNT(CROSS(黄金线*1.01,L),3)>0 AND L>=黄金线AND C>REF(C,1) AND REF(C,2)>REF(C,1) AND COUNT(LJL,3)=0;。

通达信12345结构指标公式

通达信12345结构指标公式

通达信12345结构指标公式通达信12345结构指标公式是一种用于技术分析的指标体系。

该指标体系主要包括五种子指标,分别为:波动指标、能量指标、趋势指标、成本指标和量价指标。

1. 波动指标:通达信中的波动指标主要用于衡量市场的波动性水平。

其中,常用的指标包括平均真实波幅(ATR)和标准差通道(BOLL)等。

平均真实波幅可以帮助确定市场的波动范围,而标准差通道则可以在价格波动超过一定范围时给出买入或卖出信号。

2. 能量指标:能量指标主要用于衡量市场的买卖力量。

常见的能量指标包括成交量指标(VOL)和相对强弱指标(RSI)等。

成交量指标可以帮助判断市场的买卖气势,而相对强弱指标可以用于判断股票的超买或超卖情况。

3. 趋势指标:趋势指标可以用于判断市场的趋势方向。

通达信中常用的趋势指标包括移动平均线(MA)和平滑异同移动平均线(MACD)等。

移动平均线可以帮助捕捉市场的长期趋势,而MACD指标则可以用于判断短期趋势的转折点。

4. 成本指标:成本指标可以用于衡量买入或卖出的成本情况。

常用的成本指标包括加权移动平均线(WMA)和价格指标(PSY)等。

加权移动平均线可以帮助确定投资者的持股成本,而价格指标可以用于判断市场情绪的波动。

5. 量价指标:量价指标主要用于衡量交易量和价格之间的关系。

通达信中常见的量价指标包括成交量的变异率(VROC)和动力指标(VR)等。

成交量的变异率可以帮助判断市场的趋势是否具备可持续性,而动力指标可以辅助判断市场的多空力量对比。

通过利用通达信12345结构指标公式,投资者可以更好地理解市场的走势和力量变化。

但需要注意的是,这些指标仅作为辅助工具,并不能单独作为决策的依据,投资者还需要结合其他因素进行综合分析和判断。

【股票指标公式下载】-【通达信】成交量(持币、持股、主力净流入、振幅)

【股票指标公式下载】-【通达信】成交量(持币、持股、主力净流入、振幅)

【通达信】成交量(持币、持股、主力净流入、振幅)-指标公式源码周换:SUM(V/CAPITAL*100,5),NODRAW,COLORMAGENTA;预测:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),NODRAW; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预测,0,-1,-1),COLOR00C0C0;持币:IF(SAR(10,2,20)>=H,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORGREEN; 持股:IF(SAR(10,2,20)<=L,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORMAGENTA; JJ:=(HIGH+LOW+CLOSE)/3;QJ9:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);TD1:=QJ9*(MIN(OPEN,CLOSE)-LOW);XD1:=QJ9*(JJ-MIN(CLOSE,OPEN));XD2:=QJ9*(HIGH-MAX(OPEN,CLOSE));TD2:=QJ9*(MAX(CLOSE,OPEN)-JJ);日净:((TD1+XD1)-(TD2+XD2))/10000,NODRAW;周净:SUM(日净,5),NODRAW;QJ0:=(HIGH+LOW+CLOSE)/3;QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));特大:QJ4*QJ5,NODRAW;大单:QJ3*QJ5,NODRAW;中单:QJ1*QJ5,NODRAW;小单:QJ2*QJ5,NODRAW;AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0;卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*( HIGH-LOW),0-VOL/2)),LINETHICK0,COLORCYAN;主力净流入:MA(买量+卖量/2,3)*AMO/V/100000000,COLORYELLOW,LINETHICK1; 量〗:VOL,NODRAW,VOLSTICK;STICKLINE(V>=3*REF(V,1),V/3,V/3,3.9,0),COLORGREEN;STICKLINE(V>=2*REF(V,1),V/2,V/2,3.9,0),COLORYELLOW;DRAWLINE(V>=HHV(V,30),V,V<=LLV(V,10),HHV(V,6),1),COLORFFCCCC;VAR7:=(HIGH - LOW);VAR8:=ABS((OPEN - CLOSE));VAR9:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));VAR10:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);VAR11:=((VAR8 / VAR7) * VOL);VAR12:=((VAR9 / VAR7) * VOL);VAR13:=((VAR10 / VAR7) * VOL);VAR14:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30))); VARD:=REF(CLOSE,1);DRAWTEXT(((VAR14 > 2) AND (VOL < (MA(VOL,5) / 2))),V-15000,'◆'),COLORFB2DFB;DRAWTEXT(((VAR14 > 2) AND (VOL < (MA(VOL,5) / 2))),V+59000,'地'),COLORFB2DFB;换手率:=((VOL / CAPITAL) * 100);DRAWTEXT((((VOL / REF((SUM(VOL,5) / 5),1)) >= 2) AND (换手率 > 1)),(V+55000),'变'),COLORFFFFCC;量:=IF((CLOSE > 200),(VOL / 1000000),(VOL / 100)), LINETHICK0;振幅:=(((HIGH - LOW) / LOW) * 100);DRAWTEXT(VAR12>VAR11 AND VARA>2 AND VAR12>VAR13 AND CLOSE>MA(CLOSE,5) AND CLOSE>MA (CLOSE,30) AND HIGH>MA(CLOSE,60) AND VOL>MA(VOL,5) AND VAR12>=MA(VOL,5),V+5000,'高'),COLORGREEN;DRAWTEXT(VAR13>VAR11 AND VAR13>VAR12 AND VARA<-2 AND CLOSE<MA(CLOSE,30) AND VAR13<MA (VOL,5)/2 AND MA(VOL,5)<MA(VOL,10),V+5000,'低'), COLORYELLOW;LC1:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC1,0),6,1)/SMA(ABS(CLOSE-LC1),6,1)*100;抓大牛:CROSS(RSI1,11);DRAWTEXT(抓大牛,V+55000,'抓'),COLORRED;EMA13:=EMA(C,13),COLORFF8080;DRAWTEXT(CROSS(HIGH,EMA13),V+5000,'底'),COLORYELLOW;A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0); VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2 *SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1) ;VAR2:=EMA(VAR1,8);VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C -LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(VAR3,3)-10;STICKLINE((A09>0) AND 趋势<40,0,V/6,2,0),COLORMAGENTA;粉色机构建仓区:0,LINETHICK0,COLORMAGENTA;A011:=DYNAINFO( 5);A013:=BARSCOUNT(HIGH);A014:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);A015:=IF((A013 > 20),A014,0);A016:=IF((HIGH < A011),0,IF((LOW > A011),1,(((A011 - HIGH) + 0.009) / ((LOW - HIGH) + 0.009))));A017:=DMA(A016,(VOL / CAPITAL)) * 60;A019:=IF((((A017 >0) AND (A017 > REF(A017,1))) AND (A015 >= 88)),A017,0); VAR21:=3*SMA((CLOSE-HHV(HIGH,27))/(LLV(LOW,27)-HHV(HIGH,27))*100,5,1) -2*SMA(SMA((HIGH-HHV(HIGH,27))/(LLV(LOW,27)-HHV(HIGH,27))*100,5,1),3,1 );VAR22:=EMA(VAR21,8);VAR23:=3*SMA((HIGH-HHV(HIGH,55))/(LLV(LOW,55)-HHV(HIGH,55))*100,5,1)- 2*SMA(SMA((HIGH-HHV(HIGH,55))/(LLV(LOW,55)-HHV(HIGH,55))*100,5,1),3,1 );趋势1:=EMA(VAR23,3)-10;STICKLINE((A019 > 0 AND (趋势1<20 OR 趋势1>REF(趋势1,1)AND 趋势1<50)),0,V/5,2,0),COLORGREEN;绿色机构出仓区:0,LINETHICK0,COLORGREEN;AB:DRAWLINE(V>=HHV(V,10),V,V<=LLV(V,3),HHV(V,3),1),COLORYELLOW; DRAWTEXT(CROSS(C,AB),C+5000,'B'),COLORYELLOW;{DRAWICON(CROSS(C,AB),L*0.98,7);};五日: MA(V,5) COLORFFFFFF LINETHICK2;三十四日: MA(V,34) COLORFF80FF LINETHICK2;一百四十四日: MA(V,144) COLOR00FFFF LINETHICK1;底部区域:=MA(IF(L<=LLV(L,15),MA(C,20),0),3)/200,VOLSTICK;入货点:=IF(REF(底部区域,1)>0 AND REF(C,1)<=REF(O,1) AND 底部区域>0 AND C>O,1,0);DRAWICON(入货点=1,底部区域*1.2,1),COLORBLUE;DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),V,'☆地');【通达信】成交量(持币、持股、主力净流入、振幅)-指标公式效果图(文档来源:若水财经社区)。

【炒股必下载的公式】通达信超赢主图指标公式

【炒股必下载的公式】通达信超赢主图指标公式

通达信超赢主图指标公式JJ:=(CLOSE+HIGH+LOW)/3;A:=EMA(JJ,10);B:=REF(A,1);M3:=EMA(CLOSE,3);M8:=EMA(CLOSE,8);DRAWBAND(M3,RGB(140,70,30),M8,RGB(140,70,30));STICKLINE(A>B,A,B,5,0),COLORBLUE;STICKLINE(A<B,A,B,5,0),COLORGREEN;M13:EMA(M8,13),LINETHICK2,COLORWHITE;M55:EMA(M8,55),LINETHICK2,COLORYELLOW;VAR1:=EMA(M13,55),LINETHICK4;M81:EMA(M55,81), COLORRED,LINETHICK4;VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);VAR4:=REF(CLOSE,1);VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;VAR6:=CROSS(79,VAR5);VAR7:=FILTER(VAR6,4);A7:=(2*C+H+L)/4;VAR10:=LLV(LOW,34);VAR11:=HHV(HIGH,34);SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);JRH:=HHV(C,2);JRL:=LLV(C,2);MA3:=MA(CLOSE,3);YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;VAR1Q:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));VAR2Q:=(REF(VAR1Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR3Q:=(REF(VAR2Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR4Q:=(REF(VAR3Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR5Q:=(REF(VAR4Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR6Q:=(REF(VAR5Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR7Q:=(REF(VAR6Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR8Q:=(REF(VAR7Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR9Q:=(REF(VAR8Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARAQ:=(REF(VAR9Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARBQ:=(REF(VARAQ,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARCQ:=(REF(VARBQ,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARDQ:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));VAREQ:=(REF(VARDQ,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARFQ:=(REF(VAREQ,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR10Q:=(REF(VARFQ,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR11Q:=(REF(VAR10Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR12Q:=(REF(VAR11Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR13Q:=(REF(VAR12Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR14Q:=(REF(VAR13Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR15Q:=(REF(VAR14Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR16Q:=(REF(VAR15Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR17Q:=(REF(VAR16Q,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR18Q:=(REF(VAR17Q,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR19Q:=((REF(VARDQ OR VAREQ OR VARFQ OR VAR10Q OR VAR11Q ORVAR12Q OR VAR13Q OR VAR14Q OR VAR15Q OR VAR16Q OR VAR17Q OR VAR18Q,1)) AND VAR1Q);VAR1AQ:=((REF(VAR1Q OR VAR2Q OR VAR3Q OR VAR4Q OR VAR5Q OR VAR6Q OR VAR7Q OR VAR8Q OR VAR9Q OR VARAQ OR VARBQ OR VARCQ,1)) AND VARDQ); 红色持股:=VAR1Q OR VAR2Q OR VAR3Q OR VAR4Q OR VAR5Q OR VAR6Q OR VAR7Q OR VAR8Q OR VAR9Q OR VARAQ OR VARBQ OR VARCQ,COLOR0000FF,NODRAW;离场:=IF(红色持股,JRL,DRAWNULL);明离场价:=离场,COLORFF99FF,NODRAW;今离场价:=REF(离场,1)COLOR0000FF,NODRAW;青色观望:=VARDQ OR VAREQ OR VARFQ OR VAR10Q OR VAR11Q OR VAR12Q OR VAR13Q OR VAR14Q OR VAR15Q OR VAR16Q OR VAR17Q OR VAR18Q,COLORFFFF00,NODRAW;进:=IF(青色观望,JRH,DRAWNULL);明进场价:=进,COLOR33AACC,NODRAW;今进场价:=REF(明进场价,1),COLORFF0000,NODRAW;黄色低买:=VAR19Q,COLOR33AACC,NODRAW;洋红离场:=VAR1AQ,COLORMAGENTA,NODRAW;急跌关注:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORWHITE,NODRAW; 上市日期年:=REF(YEAR,BARSCOUNT(CLOSE)-1),NODRAW,COLOR0000FF;月:=REF(MONTH,BARSCOUNT(CLOSE)-1),NODRAW,COLORFF00FF;日:=REF(DAY,BARSCOUNT(CLOSE)-1),NODRAW,COLOR00FFFF;STICKLINE(C>=O,L,H,0.3,0),COLOR0000CC;STICKLINE(C<O,L,H,0.3,0),COLOR999900;STICKLINE(1,C,O,3.5,0),COLOR858500;STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;STICKLINE(红色持股,CLOSE,O,2.8,0),COLOR000055;STICKLINE(红色持股,CLOSE,O,2,0),COLOR000088;STICKLINE(红色持股,CLOSE,O,1.5,0),COLOR0000AA;STICKLINE(红色持股,CLOSE,O,1,0),COLOR0000CC;STICKLINE(红色持股,CLOSE,O,0.5,0),COLOR0000EE;STICKLINE(青色观望,CLOSE,O,2.8,0),COLOR454500;STICKLINE(青色观望,CLOSE,O,2,0),COLOR555500;STICKLINE(青色观望,CLOSE,O,1.5,0),COLOR656500;STICKLINE(青色观望,CLOSE,O,1,0),COLOR757500;STICKLINE(青色观望,CLOSE,O,0.5,0),COLOR858500;CO:=(C-O);STICKLINE(急跌关注,O,C-CO/2,2.8,0),COLOR555555;STICKLINE(急跌关注,O,C-CO/2,2,0),COLOR888888;STICKLINE(急跌关注,O,C-CO/2,1.5,0),COLORAAAAAA;STICKLINE(急跌关注,O,C-CO/2,1,0),COLORCCCCCC;STICKLINE(急跌关注,O,C-CO/2,0.5,0),COLOREEEEEE;STICKLINE(黄色低买,O,O+CO/3,2.8,0),COLOR335555;STICKLINE(黄色低买,O,O+CO/3,2,0),COLOR338888;STICKLINE(黄色低买,O,O+CO/3,1.5,0),COLOR33AAAA; STICKLINE(黄色低买,O,O+CO/3,1,0),COLOR33CCCC;STICKLINE(黄色低买,O,O+CO/3,0,0),COLOR33EEEE;STICKLINE(洋红离场,O,O+CO/3,2.8,0),COLOR550055;STICKLINE(洋红离场,O,O+CO/3,2,0),COLOR880088;STICKLINE(洋红离场,O,O+CO/3,1.5,0),COLORAA00AA; STICKLINE(洋红离场,O,O+CO/3,1,0),COLORCC00CC;STICKLINE(洋红离场,O,O+CO/3,0.5,0),COLOREE00EE; DRAWICON( CROSS(M55,M81),M81*0.95,1),COLORYELLOW;{抄底};。

【股票指标公式下载】-【通达信】趋势为先(特大、大单、周趋势、平滑值)

【股票指标公式下载】-【通达信】趋势为先(特大、大单、周趋势、平滑值)

【股票指标公式下载】-【通达信】趋势为先(特大、大单、周趋势、平滑值)【通达信】趋势为先(特大、大单、周趋势、平滑值)-指标公式源码N:=5;QJ0:=(HIGH+LOW+CLOSE)/3;QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));QJ6:="MACD.DIF">"MACD.DEA" AND "MACD.DEA"<0;QJ7:="KDJ.K">"KDJ.D" AND "KDJ.D"<30;QJ8:="MACD.DIF"<"MACD.DEA";QJ9:="KDJ.K"<"KDJ.D" AND "KDJ.K">80;特大:QJ4*QJ5,NODRAW;大单:QJ3*QJ5,NODRAW;中单:QJ1*QJ5,NODRAW;小单:QJ2*QJ5,NODRAW;W1:=SUM(大单,N)+SUM(特大,N);W2:=SUM(小单,N)+SUM(中单,N);量振1:=特大>大单 AND 大单>小单;量振2:=特大<小单 AND 大单<小单;标振1:=QJ6 AND QJ7;标振2:=QJ8 AND QJ9;A:=W1-W2;A0:=IF(A>0,A,0);B0:=IF(A<0,A,0);STICKLINE(A0,0,A0,3,0),COLOR000044;STICKLINE(A0,0,A0,2.5,0),COLOR000088;STICKLINE(A0,0,A0,1.5,0),COLOR0000AA;STICKLINE(A0,0,A0,1,0),COLOR0000CC;STICKLINE(B0,0,-B0,3,0),COLOR004400;STICKLINE(B0,0,-B0,2.5,0),COLOR008800;STICKLINE(B0,0,-B0,1.5,0),COLOR00AA00;STICKLINE(B0,0,-B0,1,0),COLOR00CC00;周趋势:MA(A,5),COLORFFFFFF;平滑值:EMA(周趋势,5),COLOR00FFFF;STICKLINE(标振 1 AND 量振 1 AND 周趋势>平滑值,0,A0,3,0),COLORYELLOW; DRAWTEXT(标振1 AND 量振1 AND 周趋势>平滑值,A0,'振'),COLORYELLOW;【通达信】趋势为先(特大、大单、周趋势、平滑值)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】每笔均额(成交均笔)

【股票指标公式下载】-【通达信】每笔均额(成交均笔)

【股票指标公式下载】-【通达信】每笔均额(成交均笔)第一篇:【股票指标公式下载】-【通达信】每笔均额(成交均笔) 【通达信】每笔均额(成交均笔)-指标公式源码笔数:= DYNAINFO(50);内外比:= DYNAINFO(51);{成交均笔}CJBS:= DYNAINFO(8)/DYNAINFO(50);量比:=VOL/REF(MA(VOL,5),1);均额:((AMOUNT/CJBS)/100000),COLORLIMAGENTA;均额,STICK,COLORLIMAGENTA;{MA3:MA(每笔均额,3);} MA5:MA(均额,5),COLORRED,LINETHICK2;MA10:MA(均额,10),COLORYELLOW,LINETHICK2;MA20:MA(均额,20),COLORGREEN,LINETHICK2;MA50:MA(均额,50),COLORWHITE,LINETHICK2;活跃度:CJBS/CAPITAL*100000,LINETHICK0;交易强度:(VOL/CJBS/CAPITAL*10000),LINETHICK0;【通达信】每笔均额(成交均笔)-指标公式效果图(文档来源:若水财经社区)第二篇:【股票指标公式下载】-【通达信】均线共振(控盘成本、低吸伏击)【通达信】均线共振(控盘成本、低吸伏击)-指标公式源码{M 1 200 88 N 1 200 6}MA13:MA(C,13);MA139:MA(C,13)*0.99,COLORYELLOW;VAR1 :=EMA(AMOUNT/V/100,3);控盘成本:EMA(VAR1,M);低吸伏击:EMA(VAR1,M)*0.85,LINETHICK2,COLORFFFF00;走势铁底:低吸伏击*0.87,LINETHICK3,COLORFF00FF;VAR2:=L<=走势铁底AND C>REF(C,1)*1.02;DRAWICON(FILTER(VAR2,N),L,1);TLAMSENR:= MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF(CLOSE,1)-LOW)));ATR:=MA(TLAMSENR,13);VAR11A:=(REF(CLOSE,1)-REF(ATR,1));黄金线:(HHV(VAR11A,12)),LINETHICK2,COLOR0080FF;【通达信】均线共振(控盘成本、低吸伏击)-指标公式效果图(文档来源:若水财经社区)第三篇:【股票指标公式下载】-【通达信】长线趋势(副图) 【通达信】长线趋势(副图)-指标公式源码LC := REF(CLOSE,1);VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);RC :=(CLOSE-LC)*VID;LONG := SUM(RC,0);DIFF := SMA(LONG,10,1);DEA := SMA(LONG,20,1);LON : DIFF-DEA;LONMA : MA(LON,10);LONT : LON, COLORSTICK;{N,2,300,10}【通达信】长线趋势(副图)-指标公式效果图(文档来源:若水财经社区)第四篇:【股票指标公式下载】-【通达信】起跳点(住图) 【通达信】起跳点(住图)-指标公式源码A1:MA(C,3);A2:MA(C,4);A3:MA(C,5);A4:=A2>A1&&(A3>A2); A5:=A1>A2&&(A1>A3);A:DRAWICON(A5=1&&(REF(A5,1)!=1)& &(BARSLAST(A4=1)<4),A3-0.1,1);【通达信】起跳点(住图)-指标公式效果图(文档来源:若水财经社区)第五篇:【股票指标公式下载】-【通达信】无中生有(有戏、无戏) 【通达信】无中生有(有戏、无戏)-指标公式源码无中生有: 0;有戏:(EMA(CLOSE,120)-EMA(CLOSE,250))/EMA(CLOSE,250)*100;无戏:(EMA(CLOSE,250)-EMA(CLOSE,120))/EMA(CLOSE,120)*100;XYZ1:(有戏-无戏);XYZ2: MA(XYZ1,30);STICKLINE(XYZ1>XYZ2,无戏,有戏,0.8,0);STICKLINE(XYZ1XYZZ2,无戏月,有戏月,0.8,0),COLORRED;STICKLINE(XYZZ1【通达信】无中生有(有戏、无戏)-指标公式效果图(文档来源:若水财经社区)。

通达信 指标公式

通达信 指标公式

通达信指标公式
通达信指标公式是一个函数图表,用于计算和显示数据系列中的一些值。

它们通常用于股票、期货和外汇交易等金融市场。

以下是一些通达信指标公式:
均线指标公式:MA(close,12),其中close是收盘价,12是周期,一般周期越长,敏感度越高。

成交量指标公式:volume(close),其中close是收盘价,表示当天的成交量。

相对强弱指标公式:relative_strength(close,12),其中close是收盘价,12是周期,表示最近12天的相对强弱。

布林线指标公式:bollinger_bands(close,12,26,26),其中close 是收盘价,12是周期,26是布林带宽,26是标准差。

移动平均线指标公式:ma(close,9),其中close是收盘价,9是周期。

这些指标公式可以帮助交易者分析市场趋势和价格动态,从而制定交易策略。

需要注意的是,这些指标公式只是提供一些指导,实际交易时需要根据市场情况和个人经验进行调整。

【股票指标公式下载】-【通达信】主力趋势(信号、走势)

【股票指标公式下载】-【通达信】主力趋势(信号、走势)

【通达信】主力趋势(信号、走势)-指标公式源码VAR2:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR3:=SMA(VAR2,5,1);VAR4:=REF(VAR3,1);VAR5:=SMA(VAR3,10,1);VAR6:=(HHV(HIGH,52)-CLOSE)/(HHV(HIGH,52)-LLV(LOW,52))*100;VAR7:=MA(VAR6,5);VAR8:=LLV(LOW,5)=LLV(LOW,120);VAR9:=REF(CLOSE,1);VARA:=SMA(MAX(CLOSE-VAR9,0),6,1)/SMA(ABS(CLOSE-VAR9),6,1)*100; VARB:=SMA(MAX(CLOSE-VAR9,0),12,1)/SMA(ABS(CLOSE-VAR9),12,1)*100; VARC:=(CLOSE+LOW+HIGH)/3;VARD:=SUM((VARC-REF(LOW,1)-(HIGH-VARC))*VOL/100000/(HIGH-LOW),0); VARE:=EMA(VARD,1);VARF:=VARE; VAR10:=MA(VARE,12);VAR11:=MA(VARE,26); VAR12:=(VARF-VAR10)*60;VAR13:=IF(VAR12>0.05,VAR12,0);VAR14:=IF(VAR13>50,50,VAR13);VAR15:=CAPITAL/EMA(VOL,5)/30*1.1;VAR16:=VAR15; VAR17:=EMA(COST(85),10);VAR18:=EMA(COST(1),10);VAR19:=EMA(CLOSE,10);VAR1A:=(VAR19-VAR18)*100/(VAR17-VAR18);VAR1B:=REF(VAR1A,1);VAR1C:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;VAR1D:=(INDEXC-REF(INDEXC,12))/REF(INDEXC,12)*100;VAR1E:=EMA(VAR1C-VAR1D,4);VAR1F:=EMA(VAR1D-VAR1C,4);STICKLINE(VAR1E>0,0,-5,6,0),COLORBLUE;STICKLINE(VAR8,-5,-10,6,0),COLORYELLOW;VAR20:=MA(VAR1C,4);VAR21:=MA(VAR1C,8);VAR22:=REF(VAR20,1);VAR23:=MA((VAR1A-REF(VAR1A,12))/REF(VAR1A,12)*100,4);VAR24:=IF(VAR23<=-20,-20,VAR23);VAR25:=IF(VAR24>=20,20,VAR24);VAR26:=VAR25;VAR27:=REF(VAR26,1);VAR28:=REF(VAR26,5);VAR29:=IF(CROSS(VAR14,VAR16),1,0);VAR2A:=IF(VAR14<VAR16,-10,10);VAR2B:=IF(VAR1E>VAR1F,5,-5);VAR2C:=IF(VAR3>VAR5,5,-5);VAR2D:=IF(VAR20>VAR21,6,-6);VAR2E:=IF(VAR20>0 AND VAR20>VAR21,8,-8);VAR2F:=IF(VAR26<0,-10,10);VAR30:=IF(VAR20>VAR22,10,-10);VAR31:=IF(VAR26>VAR27,5,0);VAR32:=IF(VAR26<VAR27,-5,0);VAR33:=IF(CLOSE>OPEN,3,-3);走势:(VAR2A+VAR2B+VAR2C+VAR2D+VAR2E+VAR2F+VAR30+VAR31+VAR32+VAR33); VAR34:=REF(CLOSE,2)*0.865;VAR35:=REF(CLOSE,13)*0.772;VAR36:=MIN(VAR34,VAR35);VAR37:=100*VOL/CAPITAL;VAR38:=MA(CLOSE,13);VAR39:=CLOSE>0.899*REF(CLOSE,1) AND CLOSE<0.901*REF(CLOSE,1);VAR3A:=EMA(WINNER(CLOSE)*100,5);VAR3B:=EMA(WINNER(CLOSE)*100,30)-CAPITAL/EMA(VOL,30)/5;VAR3C:=CAPITAL/EMA(VOL,5)/5;VAR3D:=VAR3A;VAR3E:=IF(VAR3D>0,0-VAR3D,0-VAR3D); VAR3F:=REF(VAR3D,1);主力趋势: (VAR3B+50);VAR40:=VAR3B+50; VAR41:=REF(VAR40,1); VAR42:=MA(CLOSE,5);VAR43:=MA(CLOSE,10); VAR44:=MA(CLOSE,30);VAR45:=MA(CLOSE,12);VAR46:=MA(CLOSE,26); VAR47:=REF(VAR45,1); VAR48:=REF(VAR46,1);VAR49:=(VAR45-VAR46)/VAR45*100; VAR4A:=ABS(VAR45-VAR47)/VAR45*100; VAR4B:=REF(VAR46,1); VAR4C:=REF(VAR4A,1);VAR4D:=REF(VAR42,1); VAR4E:=REF(VAR43,1);VAR4F:=COUNT(CLOSE>REF(CLOSE,1),5)/5*100;VAR50:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR51:=SMA(VAR50,5,1);VAR52:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;VAR53:=SMA(VAR52,2,1);VAR54:=MA(VOL/CAPITAL,30)*MA(VOL,60)/10000+MA(CLOSE,30)*8;VAR55:=REF(VAR51,1); VAR56:=REF(VAR53,1);VAR57:=REF(VAR54,1); VAR58:=MA(VAR53,5);VAR59:=MA(VAR53,12); VAR5A:=MA(VAR53,26);VAR5B:=REF(VAR4F,1); VAR5C:=(VAR54-VAR57)/VAR54*100;VAR5D:=SMA(VAR50,5,1); VAR5E:=REF(VAR5D,1); VAR5F:=SMA(VAR52,2,1); VAR60:=REF(VAR5F,1); VAR61:=IF(CLOSE>OPEN,1,0);VAR62:=IF(VAR42>VAR4D,1,0); VAR63:=IF(VAR43>VAR4E,1,0);VAR64:=IF(VAR4A>VAR4C,1,0); VAR65:=IF(VAR53>VAR56,5,0);VAR66:=IF(VAR55>VAR51,5,0); VAR67:=IF(VAR54>VAR57,2,0);VAR68:=IF(VAR49>2.25,10,0); VAR69:=IF(VAR53>60,6,0);VAR6A:=IF(VAR53>80,8,0); VAR6B:=IF(VAR53>VAR51,10,0);VAR6C:=IF(VAR53>VAR51,VAR59-VAR5A,0); VAR6D:=IF(VAR53>VAR51 ANDVAR51<20,5,0); VAR6E:=IF(CLOSE>VAR45 AND VAR45>VAR46,5,0);VAR6F:=IF(VAR45>VAR46,5,0); VAR70:=IF(VAR46>VAR4B,5,0);VAR71:=IF(VAR51<18,VAR58-VAR51,0);VAR72:=IF(VAR51>VAR53 AND VAR51>50,8,0);VAR73:=(VAR61+VAR62+VAR63+VAR64+VAR65+VAR66+VAR67+VAR68+VAR69+VAR6A+V AR6B+VAR6C+VAR6D+VAR6E+VAR6F+VAR70+VAR71-VAR72);VAR74:=REF(VAR73,1); 多头: MA(VAR73,5); VAR75:=MA(VAR73,8);VAR76:=MA(VAR73,12); VAR77:=MA(VAR73,26); VAR78:=MA(VAR73,13);VAR79:=REF(VAR76,1); VAR7A:=REF(VAR76,2);VAR7B:=IF(CROSS(VAR3,VAR5) AND VAR4<35 AND VAR7>50 AND VAR1A<25 AND VAR1A>VAR1B AND VAR41<VAR40 AND (VARA>VARB AND VARB>VAR3 OR VARA>VAR3 AND VAR8),100,0);VAR7C:=IF((CLOSE-VAR36)/CLOSE<0.1 AND VAR41<VAR40 ANDSUM(VAR37,5)/5<1.8,100,0);VAR7D:=IF(CROSS(VAR3,VAR5) AND VAR8 AND VAR3<25 AND VAR1A<20 OR CROSS(VAR3,VAR5) AND VAR8 AND VAR3<40 AND VAR1A<10,100,0);信号: IF(VAR7B=100 OR VAR7C=100 OR VAR7D=100,20,-50),COLORYELLOW; STICKLINE(走势<0,0,走势,1,0),COLORGREEN;STICKLINE(走势>0,走势,0,1,0),COLORRED;【通达信】主力趋势(信号、走势)-指标公式效果图(文档来源:若水财经社区)。

10个通达信选股公式

10个通达信选股公式

10个通达信选股公式{量坑拐点}〖量〗:VOL,NODRAW,VOLSTICK;STICKLINE(V>=3*REF(V,1),V/3,V/3,3.9,0),COLORWHITE;STICKLINE(V>=2*REF(V,1),V/2,V/2,3.9,0),COLORYELLOW;流通〖亿〗:CAPITAL/1000000,LINETHICK0;内外比:DYNAINFO(51),COLORYELLOW,NODRAW;单日量比:V/REF(V,1),COLORWHITE,NODRAW;五日量比:V/(REF(MA(V,5),1)/240*FROMOPEN),COLORYELLOW,NODRAW; 5换:SUM(100*V/CAPITAL,5),LINETHICK0;10换:SUM(100*V/CAPITAL,10),LINETHICK0;20换:SUM(100*V/CAPITAL,20),LINETHICK0;超跌短买支撑价:LLV(LOW,19), COLORLIRED,POINTDOT,LINETHICK4;阻力价:HHV(HIGH,19),COLORLIBLUE,POINTDOT, LINETHICK4;MA5:MA(C,5),COLORWHITE,LINETHICK1;IF(MA5>REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK2;IF(MA5<REF(MA5,1),MA5,DRAWNULL),COLORGREEN,LINETHICK2;MA13:MA(CLOSE,13),COLORYELLOW;MA21:MA(CLOSE,21),COLORMAGENTA;MA34:=MA(CLOSE,34);MA60:MA(CLOSE,60),COLORGREEN;MA120:MA(CLOSE,120),COLORBLUE;QQ:=0,COLORWHITE;MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);JG:=CROSS(MA1,MA2);VOLUME:=VOL,VOLSTICK;MA VOL1:=MA(VOLUME,5);MA VOL2:=MA(VOLUME,10);NL:=CROSS(MA VOL1,MA VOL2);DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2,COLORSTICK;NA:=CROSS(DIF,DEA);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,9,1);D:=SMA(K,9,1);J:=3*K-2*D;KD:=CROSS(K,D) AND CROSS(J,D);一招定乾坤:DRAWTEXT((JG AND NL AND NA) OR (JG AND NL AND KD) OR (JG AND NA AND KD) OR (NL AND NA AND KD),L*0.94,'一招定乾坤'),COLORYELLOW;X:=LLV(J,2)=LLV(J,8);Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0);DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20,LOW*0.98,'★短进'),COLORLIMAGENTA;JH9:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100; DRAWTEXT(CROSS(84,JH9),H*1.02,'★S'),COLORGREEN;空:=EMA(C,5);均衡:=EMA(空,5),COLORWHITE;中轨:=HHV(MA(H,13),13),COLORRED,LINETHICK2;V AR5:=FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11);DRAWTEXT(V AR5,L*0.98,'追涨'),COLORMAGENTA;菩提:=MEMA(H,20);般:=MEMA(CLOSE,7),COLORBROWN;若:=MEMA(CLOSE,3),COLORLIBLUE;DRAWICON(LONGCROSS(般,若,0.25) AND 菩提>H ,L*0.98,1),COLORRED; YM:=(H+O+L+3*C)/6;XM:=EMA(100-(100/(1+SUM(IF(YM>REF(YM,1),YM*VOL,0),14)/SUM(IF(YM<REF(YM,1),YM*VOL,0),14))),5);ZM:=DRAWLINE(XM>=HHV(XM,4),XM,XM<=LLV(XM,4),XM,1);TJ1:=XM=ZM;TJ2:=XM<REF(XM,1);DRAWTEXT(TJ1 AND TJ2,LOW*0.95,'买进'),COLORYELLOW;趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2* SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1) , , COLORBLUE;DRAWTEXT(CROSS(趋势线,10),LOW*0.90,'底买'),COLORMAGENTA;V AR111:=(((CLOSE - MA(CLOSE,6))/(MA(CLOSE,6)))*(200) + ((CLOSE - MA(CLOSE,24))/(MA(CLOSE,24)))*(200) + ((CLOSE - MA(CLOSE,32))/(MA(CLOSE,32)))*(200))/(3);DRAWICON((V AR111 > 20) AND FILTER((V AR111 < REF(V AR111,1)),5),(HIGH)*(1.02),2),COLORGREEN;RSV99:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;K99:=MA(RSV99,2.5);D99:=MA(K99,2.5);J99:=3*K99-2*D99;JJ99:=J99<20;DRAWTEXT(REF(J99,1)<20 AND EMA(C,20)>REF(EMA(C,20),1) AND NOT(JJ99),LOW*0.92,'超跌短进'),COLORMAGENTA;{坚决全仓}H1:=EMA(C,8);H2:=EMA(H1,20);HH2:=XMA(CLOSE,14);HH3:=MEMA(CLOSE,4);V AR1:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;V AR2:=SMA(V AR1,7,1);V AR3:=SMA(V AR2,5,1);坚决全仓:CROSS(V AR2,V AR3) AND V AR2<20 AND HH2>HH3;四线看涨行情趋势明朗,顺势而为,四线看涨1 、全天的最高价和最低价,都低于四条线,通常都可买在底部2、四条线处在全天的最高价和最低价之间,可以顺势买入==公式源码==EMA5:EMA(C,5),COLOR00FF00;EMA10:EMA(C,10),COLORYELLOW;EMA20:EMA(C,20),COLORFF00FF;{20日均线通常被称为脊梁线}EMA30:EMA(C,30),COLORFFCCCC;{30日均线通常被称为生命线}W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));{并线开花主图}MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;MA1:MA(MID,4),COLORYELLOW;MA2:MA(MID,9),COLORRED;MA3:MA(MID,13),COLORFFCC66;MA4:MA(MID,21),COLORGREEN;MA55:MA(MID,55),LINETHICK1;乖离线:=((C-REF(MA1,1))/20+MA1)*1.20;V AR1:=CROSS(MA1,MA2) AND CROSS(MA1,MA3) AND V>REF(V,1);V AR2:=MA1>REF(MA1,2) AND V>REF(V,1) AND CROSS(C,MA1);V AR3:=EMA(100-(100/(1+SUM(IF(MID>REF(MID,1),MID*VOL,0),14)/SUM (IF(MID<REF(MID,1),MID*VOL,0),14))),5);V AR4:=DRAWLINE(V AR3>=HHV(V AR3,4),V AR3,V AR3<=LLV(V AR3,4),V AR3,1 );V AR5:=V AR3=V AR4;V AR6:=V AR3<REF(V AR3,1);V AR7:=(((MID - MA(MID,6))/(MA(MID,6)))*(200) + ((MID - MA(MID,24))/(MA(MID,24)))*(200) + ((MID - MA(MID,32))/(MA(MID,32)))*(200))/(3);V AR8:=MA2>=REF(MA2,1) AND CROSS(C,MA1) AND CROSS(C,MA2) AND V>REF(V,1);V AR9:=V AR5 AND V AR6;V AR10:=V AR2 OR V AR8 OR V AR9;STICKLINE(V AR1,L,L-0.09,4,0),COLORYELLOW;DRAWTEXT(V AR1,L-0.13,'金叉'),COLORYELLOW;STICKLINE(CROSS(C,MA2) AND CROSS(C,MA3) AND CROSS(C,MA1),L,L-0.09,4,0),COLORYELLOW;DRAWTEXT(CROSS(C,MA2) AND CROSS(C,MA3) AND CROSS(C,MA1),L-0.13,'并线开花'),COLORYELLOW;STICKLINE(CROSS(C,乖离线),H,H+0.09,4,0),COLOR00FF00;DRAWTEXT(CROSS(C,乖离线) ,H+0.13,'卖点(打点停板不卖)'),COLOR00FF00; STICKLINE(MA3>=REF(MA3,1) AND MA1>=REF(MA1,1) AND CROSS(C,MA3),L,L-0.09,4,0),COLORFFCC66;DRAWTEXT(MA3>=REF(MA3,1) AND MA1>=REF(MA1,1) AND CROSS(C,MA3),L-0.13,'牛象'),COLORRED;STICKLINE(V AR10 AND REF(NOT(V AR10),1),O,O*1.01,2,0),COLORYELLOW; DRAWICON(V AR10 AND REF(NOT(V AR10),1),L,1);DRAWICON((V AR7 > 20) AND FILTER((V AR7 < REF(V AR7,1)),5),(HIGH)*(1.02),2),COLORGREEN;{三线逃顶攻守兼备}{参数:n1 1 100 3n2 1 150 5}N1:=3;N2:=5;{三线逃顶}上升线:EMA(C,N1),COLORRED,LINETHICK2;下降线:EMA(C,N2),COLORGREEN,LINETHICK2;中间线:EMA(下降线,N2),COLORWHITE,LINETHICK2;V ARF1:=COUNT(CROSS(上升线,中间线),2)=1;V ARF2:=COUNT(CROSS(下降线,中间线),2)=1;ZAI:=FILTER(V ARF1 AND V ARF2,2);VV2:=REF(CLOSE,1);VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100; DRAWICON(REF(VV3,1)>81 AND VV3<80,HIGH,2);DRAWTEXT(REF(VV3,1)>81 AND VV3<80,HIGH,'快卖↓'),COLORYELLOW; VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 ANDCLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'追'),COLORYELLOW;V ARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;V ARB:=EMA(0.667*REF(V ARA,1)+0.333*V ARA,5);DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(V ARA>=V ARB AND V ARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意买入');V ARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1) *100;DRAWICON(CROSS(82,V ARR1),HIGH,2);DRAWTEXT(CROSS(82,V ARR1),HIGH,'快卖↓'),COLORYELLOW;V AR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;V AR2:=REF(V AR1,1);V AR3:=SMA(MAX(V AR1-V AR2,0),10,1)/SMA(ABS(V AR1-V AR2),10,1)*100;HY3:=IF(COUNT(V AR3<20,5)>=1 AND COUNT(V AR1=LLV(V AR1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);DRAWTEXT(HY3,LOW,'▲注意买入'),COLORRED;量能选股〖量〗:VOL,NODRAW,VOLSTICK;STICKLINE(V>=3*REF(V,1),V/3,V/3,3.9,0),COLORWHITE;STICKLINE(V>=2*REF(V,1),V/2,V/2,3.9,0),COLORYELLOW;流通〖亿〗:CAPITAL/1000000,LINETHICK0;内外比:DYNAINFO(51),COLORYELLOW,NODRAW;单日量比:V/REF(V,1),COLORWHITE,NODRAW;五日量比:V/(REF(MA(V,5),1)/240*FROMOPEN),COLORYELLOW,NODRAW;5换:SUM(100*V/CAPITAL,5),LINETHICK0;10换:SUM(100*V/CAPITAL,10),LINETHICK0;20换:SUM(100*V/CAPITAL,20),LINETHICK0;{波段买点看清趋势,注意量能,波段操作}A1:=REF(CLOSE,2);A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;波段介入点:IF(A2<19,19,0),COLORWHITE;{快速短线}{P1:2,20,5;P2:2,20,4}80, POINTDOT;20, POINTDOT;V AR1:=LLV(LOW,P1);V AR2:=HHV(HIGH,P1);K: EMA((CLOSE-V AR1)/(V AR2-V AR1)*100,P2),COLORFF9900 , ;D: EMA(0.667*REF(K,1)+0.333*K,2), ,;V ARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);V ARD:=EMA(IF(C< EMA(C,250),V ARC*1000,V ARC*10),3);火焰山:EMA(IF(L<=LLV(L,30),V ARD/2+HHV(V ARD,30),0),3)/618; STICKLINE(火焰山>100,0,火焰山*1.2,8,0);STICKLINE(火焰山>100,0,火焰山,4,1);金包: IF(TROUGHBARS(3,15,1)=0 ANDHIGH>LOW+0.01,20,0),COLORYELLOW ,LINETHICK1 ;V AR3:=PEAKBARS(3,15,1)<10;V AR5:=IF(V AR3=1,2,0);顶:= IF(V AR5=2,2,0);顶A:IF(顶>REF(顶,1),50,0),COLORGREEN;DRAWTEXT(顶A=50,45,'快逃'),COLOR00FF00;DRAWTEXT(金包=20,20,'金包'),COLORRED;回落就买上升趋势:EMA(CLOSE,5),COLORWHITE,LINETHICK2;支撑压力:EMA(CLOSE,21),COLORYELLOW,LINETHICK1;Y:=EMA(CLOSE,10),LINETHICK0;X:=EMA(CLOSE,16),LINETHICK0;STICKLINE(上升趋势<支撑压力,支撑压力,上升趋势,0.1,0),COLOR00FF00,LINETHICK1;DRAWTEXT(CROSS(上升趋势,支撑压力),上升趋势,'★买') ,COLORFF00FF; DRAWTEXT((C<=X)AND(上升趋势>Y),L*0.99,'●'),COLORE66878; DRAWICON((C<=X)AND(上升趋势>Y),L*0.97,4);。

【股票指标公式下载】-【通达信】股道看趋势(副图)

【股票指标公式下载】-【通达信】股道看趋势(副图)

【通达信】股道看趋势(副图)-指标公式源码A5:EMA((L+H+C*2)/4,5);A13:EMA((L+H+C*2)/4,13);A21:EMA((L+H+C*2)/4,21);A55:EMA((L+H+C*2)/4,55);STICKLINE(A5>A13 AND A5>=REF(A13,1) AND A13>REF(A13,1),A5,A13, 3,0),COLOR0000AA;STICKLINE(A5>A13 AND A5>=REF(A13,1) ANDA13>REF(A13,1),A5,A13,2,0),COLOR0000CC;STICKLINE(A5>A13 AND A5>=REF(A13,1) ANDA13>REF(A13,1),A5,A13,1,0),COLOR0000EE;STICKLINE(A5>A13 AND A5>=REF(A13,1) ANDA13>REF(A13,1),A5,A13,0.1,0),COLOR5555FF;STICKLINE(A5>A13 AND A5>=REF(A13,1) ANDA13>REF(A13,1),A5,A13,0,0),COLOR8080FF;STICKLINE(A5<A13 AND A5<=REF(A5,1) ANDA13<REF(A13,1),A5,A13,3,0),COLORFF0000;STICKLINE(A5<A13 AND A5<=REF(A5,1) ANDA13<REF(A13,1),A5,A13,2,0),COLORFF5500;STICKLINE(A5<A13 AND A5<=REF(A5,1) ANDA13<REF(A13,1),A5,A13,1,0),COLORFF9900;STICKLINE(A5<A13 AND A5<=REF(A5,1) ANDA13<REF(A13,1),A5,A13,0,0),COLORFFFF00;STICKLINE(A13>A55 AND A21>=REF(A55,1) AND A55>REF(A55,1),A21,A55, 3,0),COLOR770077;STICKLINE(A13>A55 AND A21>=REF(A55,1) ANDA55>REF(A55,1),A21,A55,2,0),COLOR990099;STICKLINE(A13>A55 AND A21>=REF(A55,1) ANDA55>REF(A55,1),A21,A55,1,0),COLORBB00BB;STICKLINE(A13>A55 AND A21>=REF(A55,1) ANDA55>REF(A55,1),A21,A55,0,0),COLORDD00DD;STICKLINE(A13>A55 AND A21>=REF(A55,1) ANDA55>REF(A55,1),A21,A55,0.1,0),COLORFF00FF;STICKLINE(A21<A55 AND A13<=REF(A21,1) ANDA13<REF(A55,1),A21,A55,3,0),COLOR155500;STICKLINE(A21<A55 AND A13<=REF(A21,1) ANDA13<REF(A55,1),A21,A55,2,0),COLOR208000;STICKLINE(A21<A55 AND A13<=REF(A21,1) ANDA13<REF(A55,1),A21,A55,1,0),COLOR2BAA00;STICKLINE(A21<A55 AND A13<=REF(A21,1) ANDA13<REF(A55,1),A21,A55,0.1,0),COLOR35D500;STICKLINE(A21<A55 AND A13<=REF(A21,1) ANDA13<REF(A55,1),A21,A55,0,0),COLOR40FF00;海面:EMA(C,120),COLORFA05FF,LINETHICK2;IF(海面>=REF( 海面,1),海面,DRAWNULL),COLORFA05FF,LINETHICK2; IF(海面<REF (海面,1), 海面,DRAWNULL),COLOR399C7F,LINETHICK2; 股道:=(1-C/SMA(C,13,1))*100;基础:=EMA(C,43);中线强弱拐点:EMA(股道*C/100+基础,3),COLORFF0000,LINETHICK3;中线强弱拐点1:EMA(股道*C/100+基础,3),COLORFF5500,LINETHICK2; 中线强弱拐点2:EMA(股道*C/100+基础,3),COLORFF9900,LINETHICK1;【通达信】股道看趋势(副图)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】极准(超买、超卖、趋势线)

【股票指标公式下载】-【通达信】极准(超买、超卖、趋势线)

【通达信】极准(超买、超卖、趋势线)-指标公式源码{ N:1 100 5 M:1 100 13}N:=5;M:=13;上:EMA(C,3),COLORBLUE,LINETHICK1;中:EMA(C,5),COLORWHITE,LINETHICK1;下:EMA(中,5),COLOR00FF00,LINETHICK1;IF(上>中 AND 上>REF(上,1), 上,DRAWNULL),LINETHICK2,COLORRED;IF(中>下 AND 中>REF(中,1), 中,DRAWNULL),LINETHICK2,COLORRED; DRAWBAND(上,RGB(255,255,0),中,RGB(256,200,0));QQ:= C<中;MM:=上>REF(上,1) AND REF(上,1)<REF(上,2) ;超买:MA(C,10)*IF(CAPITAL=0,1.04,1.1),POINTDOT,COLORGREEN,LINETHICK2; 超卖:MA(C,10)*IF(CAPITAL=0,0.95,0.9),POINTDOT,COLORRED,LINETHICK2; 获利盘%:WINNER(CLOSE)*100,NODRAW,COLORWHITE;趋势线:EMA(((SLOPE(CLOSE,21) * 20) +CLOSE),42),POINTDOT,COLORFF00FF,LINETHICK4;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);MA1:=MEMA(CLOSE,5);MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;MA3:=IF(MA2>0,MA2,MA2);MA5:=MA(CLOSE,N),COLOR888899;MA13:=MA(CLOSE,M),COLORFF00F0,LINETHICK2;VAR1:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) ANDC>=REF(C,1) AND C>=REF(C,2);{收盘价=4日内收盘价的最高值 AND 昨收>=2日前的收盘价}VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);{收盘价=4日内收盘价的最高值 AND 昨收=4日内收盘价的最低值}VAR3:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) ANDC<REF(C,1) AND C<REF(C,2);{收盘价=4日内收盘价的最低值 AND (昨收<2日前的收盘价}VAR4:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);{昨收=4日内收盘价的最低值 AND 收盘价>=2日前的收盘价}VAR5:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1);{昨收=4日内收盘价的最高值 AND 收盘价<2日前的收盘价}VAR6:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);{今日V5向上形成拐点}VAR7:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;VAR8:=VAR7 AND COUNT(VAR6,2);VAR9:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6); VAR10:=EMA(MA(C,13),13);VAR11:=FILTER((LLV(VAR9,2)=LLV(VAR9,7) AND COUNT(VAR9<0,2) AND CROSS(VAR9,MA(VAR9,2)))=1,5);VAR12:=FILTER((HHV(VAR9,2)=HHV(VAR9,7) AND COUNT(VAR9>50,2) AND CROSS(MA(VAR9,2),VAR9))=1,1);VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3); VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));VAR16:=VAR8 AND NOT(REF(VAR8,1));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;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR14 OR VAR15) AND VAR11;买2:=(VAR14 OR VAR15) AND VAR4;买3:=(VAR14 OR VAR15) AND VAR2;买4:=(VAR2 AND VAR11) OR (VAR4 AND VAR11);买5:=(金叉 AND VAR4) OR (金叉 AND VAR2) OR (金叉 AND VAR11);{涨停}STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,4,-1), COLOR00FFFF;{跌停}STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,4,-1), COLORGREEN;{蓝}STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.3,0),COLORFF6600;STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.4,0),COLORFF8800;STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.3,0),COLORFFAA00;STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.6,0),COLORFFCC00;{红}STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.3,0),COLOR000066;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4,0),COLOR000099;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.3,0),COLOR0000DD;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;{绿}STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,3.3,0),COLOR009900;STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,2.4,0),COLOR00BB00;STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,1.3,0),COLOR00DD00; STICKLINE(VAR3,OPEN,(OPEN+CLOSE)/2,0.5,0),COLOR00FF00;{灰}STICKLINE(VAR4 AND MM,OPEN,(OPEN+CLOSE)/2,3.3,0),COLOR999999; STICKLINE(VAR4 AND MM,OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB; STICKLINE(VAR4 AND MM,OPEN,(OPEN+CLOSE)/2,1.3,0),COLORDDDDDD; STICKLINE(VAR4 AND MM,OPEN,(OPEN+CLOSE)/2,0.5,0),COLORFFFFFF; STICKLINE(金叉,OPEN,CLOSE,0.5,0),COLORYELLOW;STICKLINE(死叉,OPEN,CLOSE,0.5,0),COLOR000066;DRAWICON(VAR16,LOW-0.02,15);DRAWICON(买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM,LOW-0.05,15); DRAWICON(死叉 OR CROSS(50,VAR9) AND QQ AND K>50,HIGH+0.01,2);X1:=(C+L+H)/3;BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;EMA3:=EMA(C,3);DRAWTEXT(FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10),LOW*0.99,'★∠45'),COLORFFFFFF;VAR81:=1;VAR82:=((((2*CLOSE)+HIGH)+LOW) / 4);低金叉进:=20,COLORYELLOW,LINETHICK2;高死叉出:=90,COLORGREEN,LINETHICK3;VAR84:=LLV(LOW,5);VAR85:=HHV(HIGH,4);C1:=(EMA((((VAR82-VAR84)/(VAR85-VAR84))*100),4)*VAR81),COLORFF00FF,LI NETHICK2;C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR81),COLORFFFFFF,LINETHI CK2;条件:=CROSS(C1,C2) AND C1<40;条件0:=CROSS(C2,C1) AND C1>90;TJ1:=CROSS(C1,C2);TJ2:=CROSS(C2,C1);TJ3:=CROSS(C1,C2) AND REF(C1,1)<20;TJ4:=CROSS(C2,C1) AND REF(C1,1)>80;DRAWTEXT(条件0,H*1.02,'S'),COLORBLUE;DRAWTEXT(TJ3 AND MM,L*0.98,'底'),COLORFF00FF;DRAWTEXT(TJ4 AND QQ,H*1.02,'逃'),COLORGREEN;水平面:=EMA(CLOSE,89),COLOR3399FF;AAA:=(3*C+H+L+O)/6;短趋:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF( AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;中趋:=(LLV(短趋,2)+LLV(短趋,4)+LLV(短趋,6))/3;TTJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>短趋;立桩量:=FILTER(TTJ1,5);TTJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 ANDCLOSE>REF(HIGH,3),1,0)));突破:=TTJ2=1;TTJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量)=3 ANDCLOSE>REF(LOW,3),1,0)));三天法则:=TTJ3=1;成立:=三天法则 AND 突破;条件成立:=FILTER(成立,3);DRAWTEXT(条件成立,L*0.93,'桩'),COLOR00FFFF;VAR90:=((((HHV((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12) -EMA(DCLOSE,26)),9)))*2),4)<0) AND ((((EMA(DCLOSE,12)-EMA(DCLOSE,26))- (EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2)>REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),1))) AND (REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),1)<REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))- (EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),2))) AND(REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOSE,26)),9)))*2),2)<REF((((EMA(DCLOSE,12)-EMA(DCLOSE,26))-(EMA((EMA(DCLOSE,12)-EMA(DCLOS E,26)),9)))*2),3)));DRAWTEXT(VAR90 AND MM,L*0.98,'买'),COLORRED;DRAWTEXT(CROSS(MA(C,3),MA(C,9)) AND C>=REF(C,1) AND C>O,L*0.98,'追'),COLORMAGENTA;低点:=REF(LLV(L,250),3);H1:=低点*1.191;H2:=低点*1.382;H3:=低点*1.5;H4:=低点*1.618;H5:=低点*1.809;H6:=低点*2;H7:=低点*2.191;%19:REFDATE(H1,DATE),POINTDOT,COLORYELLOW,LINETHICK3;%38:REFDATE(H2,DATE),POINTDOT,COLORMAGENTA,LINETHICK3;%50:REFDATE(H3,DATE),POINTDOT,COLORLIGRAY,LINETHICK3;%61:REFDATE(H4,DATE),POINTDOT,COLORRED,LINETHICK3;%80:REFDATE(H5,DATE),POINTDOT,COLORWHITE,LINETHICK3;%100:REFDATE(H6,DATE),POINTDOT,COLOR00FF00,LINETHICK4;【通达信】极准(超买、超卖、趋势线)-指标公式效果图 (文档来源:若水财经社区)。

通达信量比指标

通达信量比指标

通达信量比指标通达信量比指标(简称“量比”)是一种由中金公司开发的股票交易技术分析指标,它的主要用途是提供有关股票的趋势指示信号和多头强势的证据。

量比旨在提高股票分析师的判断能力,有助于股民以更合理的价位投资,以便获得更好的股票交易收益。

量比是通过股票涨跌价格以及流通股数量之间的关系来分析股票交易行为的技术指标。

通过计算当前股票收盘价格和成交量,可以得出量比指标。

量比指标越大表明买卖力量越趋向多头,越小表明买卖力量越趋向空头,也可以指示股票的趋势变化。

计算量比的公式有多种,最常用的是公式:量比=(当日总成交量/前一收盘价)/(前一日总成交量/前一收盘价)公式的解释是:量比=今日成交量/昨日成交量,今日成交量和昨日成交量均以当日收盘价计算。

从量比指标可以看出股民买卖动向,它可以准确地判断股价上涨和下跌的情况。

当量比处于正常范围时,表明股票的价格震荡变化较小,走势蜕变的可能性较小;当量比超过当日均线偏离极端时,可能表明股价将出现涨跌幅度较大的变化,届时可以通过仔细观察股票价格走势,判断其趋势变化,从而采取有效的投资策略。

在正确使用量比指标的基础上,股民还可以采取更多技术分析方法来加强对股票行情分析,以提高投资收益率。

例如,可以利用动量指标、MACD指标、BIAS指标、相对强弱指标等协同运行,以便获得更加准确的分析结果。

此外,投资者还应该考虑持仓时间、投资金额、预期收益率等因素,以便对股票交易进行合理的调整和控制。

不论以何种方式进行投资,大多数投资者都会将量比作为交易技术分析中必不可少的指标,以深度研究股市行情,以便获得更好的投资收益。

总之,量比指标是股票投资者分析股票行情的重要参考指标。

它可以帮助投资者更准确地分析市场趋势,发现多头强势,提升投资收益,更好地把握投资机会,以获得更高的利润回报。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

【通达信】流通趋势(流通、内外比、量比)-指标公式源码
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;
N:=7;
IF(J<0,J,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(K>90,K,DRAWNULL),COLORGREEN,LINETHICK2;
IF(D>85,D,DRAWNULL),COLORGREEN,LINETHICK2;
AA1:DRAWLINE(J>=HHV(J,N),J,J<=LLV(J,N),J,0),COLORCYAN,LINETHICK2; AA2:DRAWLINE(J<=LLV(J,N),J,J>=HHV(J,N),J,0),COLORRED,LINETHICK2; AA3:=J=AA2;
AA4:=J=AA1;
AA5:=J<REF(J,1);
AA6:=J>REF(J,1);
DRAWICON(FILTER(AA4 AND AA6,1),J*1.04,2);
DRAWICON(FILTER(AA3 AND AA5,1),J*0.9,1);
流通:CAPITAL/1000000,LINETHICK0;
内外比:DYNAINFO(51),COLORYELLOW,NODRAW;
五日量比:V/(REF(MA(V,5),1)/240*FROMOPEN),COLORYELLOW,NODRAW; 换手:VOL/CAPITAL*100,POINTDOT COLORMAGENTA;
5换:SUM(100*V/CAPITAL,5),LINETHICK0;
10换:SUM(100*V/CAPITAL,10),LINETHICK0;
20换:SUM(100*V/CAPITAL,20),LINETHICK0;
DIF:=EMA(V,12)-EMA(V,26)+V;
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
STICKLINE(MACD>=0,MACD,0,2,1),COLORRED;
STICKLINE(MACD<0,MACD,0,2,1),COLORCYAN;
STICKLINE(C>O,0,MACD,2,1),COLORRED;
STICKLINE(C<O,MACD,0,2,0),COLORCYAN;
TJ1:=COUNT(V>REF(V,1)*1.9,4)=1;
TJ2:=COUNT(V<REF(V,1) AND L>MIN(L,4) AND L>REF(L,1),3)=3 ;
TJ3:=TJ1 AND TJ2;
STICKLINE(TJ3,0,V,1,0),COLORRED;
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*10;
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE -LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN ,0-QJJ*(HIGH-LOW),0-VOL/2)));
HSL:=(XVL/20)/1.15;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击,3);0,POINTDOT,COLORWHITE;
B1:SUM(LLJX,1)+V,COLORCYAN;
B2:SUM(LLJX,2)+V,COLORCYAN;
B3:SUM(LLJX,3)+V,COLORCYAN;
B4:SUM(LLJX,4)+V,COLORCYAN;
B5:SUM(LLJX,5)+V,COLORCYAN;
B6:SUM(LLJX,6)+V,COLORCYAN;
B7:SUM(LLJX,7)+V,COLORCYAN;
B8:SUM(LLJX,8)+V,COLORCYAN;
B9:SUM(LLJX,9)+V,COLORCYAN;
B10:SUM(LLJX,10)+V,COLORCYAN;
A1:IF(B1>REF(B1,1),B1,DRAWNULL),COLORMAGENTA;
A2:IF(B2>REF(B2,1),B2,DRAWNULL),COLORRED;
A3:IF(B3>REF(B3,1),B3,DRAWNULL),COLORRED;
A4:IF(B4>REF(B4,1),B4,DRAWNULL),COLORRED;
A5:IF(B5>REF(B5,1),B5,DRAWNULL),COLORRED;
A6:IF(B6>REF(B6,1),B6,DRAWNULL),COLORRED;
A7:IF(B7>REF(B7,1),B7,DRAWNULL),COLORRED;
A8:IF(B8>REF(B8,1),B8,DRAWNULL),COLORRED;
A9:IF(B9>REF(B9,1),B9,DRAWNULL),COLORRED;
A10:IF(B10>REF(B10,1),B10,DRAWNULL),COLORRED,LINETHICK3;
【通达信】流通趋势(流通、内外比、量比)-指标公式效果图
(文档来源:若水财经社区)。

相关文档
最新文档