【股票指标公式下载】-【通达信】主图加成交量(量)

合集下载

【股票指标公式下载】-【通达信】顶底趋势(顶部、底部、判断、趋势、主力进场)

【股票指标公式下载】-【通达信】顶底趋势(顶部、底部、判断、趋势、主力进场)

【通达信】顶底趋势(顶部、底部、判断、趋势、主力进场)-指标公式源码趋势:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1) ,COL ORGREEN;STICKLINE(趋势>50,趋势,50,4,0),COLOR32329B;STICKLINE(50>趋势,趋势,50,4,0),COLOR326400;IF(趋势>50, 趋势,DRAWNULL), COLORRED;RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);DEA:=EMA(DIFF,6);MACD:=2*(DIFF-DEA);转点:=IF(K>D AND CCI>0 AND DIFF>DEA AND MACD>0,1,0);STICKLINE(转点=1,50,50,6,0),COLORYELLOW;STICKLINE(转点=0,50,50,6,0),COLORCYAN;顶部:90,COLORYELLOW;底部:10,COLORCYAN;判断:SMA(趋势,3,1),COLORFF00FF, LINETHICK2;IF( 趋势>判断,判断,DRAWNULL), COLORYELLOW, LINETHICK2;IF( 趋势<判断,判断,DRAWNULL) ,COLORFFF000,LINETHICK2;DRAWICON(CROSS(趋势,判断),判断,1);DRAWICON(CROSS(趋势,顶部),顶部,2);LC:= REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2:=SMA(VAR1,9,1)+100;VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1)+100;VAR6:=VAR5-VAR2;短线1: IF(VAR6>45,VAR6-45,0),COLORA6B8C1;VAR2Q:=REF(LOW,1);VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100; VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);VAR5Q:=LLV(LOW,30);VAR6Q:=HHV(VAR4Q,30);VAR7Q:=IF(MA(CLOSE,58),1,0);VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q; VR2:=REF(LOW,1);VR3:=SMA(ABS(LOW-VR2),3,1)/SMA(MAX(LOW-VR2,0),3,1)*100;VR4:=EMA(IF(CLOSE*1.3,VR3*10,VR3/10),3);VR5:=LLV(LOW,30);VR6:=HHV(VR4,30);VR7:=IF(MA(CLOSE,58),1,0);VR8:=EMA(IF(LOW<=VR5,(VR4+VR6*2)/2,0),3)/618*VR7;VR9:=IF(VR8>100,100,VR8);主力进场:STICKLINE(VR9>-150,0,VR9,3,0), , COLORFF00FF;洗盘:IF(VR9<REF(VR9,1),VR9,0),COLORGREEN,NODRAW;STICKLINE(VR9<REF(VR9,1),0,VR9,3,0),COLORGREEN;短线获利:STICKLINE(REF("KDJ.J",1)<0 AND"KDJ.J">0,60,25,2,0),COLORYELLOW;VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; VARK2:=REVERSE(VARK1);VARK3:=SMA(VARK1,3,1);逃顶:=CROSS(82,RSI);STICKLINE( 逃顶,逃顶,20,5,0),COLORFF5500;STICKLINE( 逃顶,逃顶,30,3,0),COLORFF8800;STICKLINE( 逃顶,逃顶,30,2,0),COLORFFAA00;STICKLINE( 逃顶,逃顶,30,1,0),COLORFFCC00;D1:=(C+L+H)/3;D2:=EMA(D1,6);D3:=EMA(D2,5);BBUY:=CROSS(D2,D3);风险区:80,COLORFF85FF;安全区:20,COLORYELLOW,POINTDOT;天线:100,COLORFFFF00;强弱线:50,COLORGREEN,POINTDOT;DRAWICON(BBUY,(LOW *1),1);VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*10 0;DRAWICON(CROSS(82,VARR1),HIGH,15);DRAWTEXT(CROSS(82,VARR1),35,'逃'),COLORYELLOW;MAV:=(2*C+H+L)/4;VAR9:=LLV(LOW,34);VAR7:=HHV(HIGH,34);SK:= EMA((MAV-VAR9)/(VAR7-VAR9)*100,13);SD: EMA(0.667*REF(SK,1)+0.333*SK,2);高抛:80, POINTDOT;低吸:20, POINTDOT;强弱分界:50, POINTDOT;DRAWTEXT(CROSS(SD,16),低吸,'●主力'),COLORF0FF00,LINETHICK3;【通达信】顶底趋势(顶部、底部、判断、趋势、主力进场)-指标公式效果图(文档来源:若水财经社区)。

通达信成交量指标公式

通达信成交量指标公式

通达信成交量指标公式VAR1:=HIGH-LOW;VAR2:=ABS(OPEN-CLOSE);VAR3:=HIGH-IF(CLOSE>OPEN,CLOSE,OPEN);VAR4:=IF(CLOSE>OPEN,OPEN,CLOSE)-LOW;VAR5:=VAR2/VAR1*VOL;VAR6:=VAR3/VAR1*VOL;VAR7:=VAR4/VAR1*VOL;VAR8:=IF(VOL/CAPITAL>0.001,1,EXP(ABS(LOG(VOL/CAPITAL *100))));MA5:=MA(VOL,5),COLORRED;成交量:VOL,NODRAW;流通比: CAPITAL/TOTALCAPITAL*100,NODRAW;多头成交口: STICKLINE(CLOSE>MA(H,20),0,VOL,3,1),COLORRED;空头成交口: STICKLINE(CLOSE<MA(L,20),0,VOL,3,1),COLORGREEN;没有趋势口: STICKLINE(CLOSE<MA(H,20) AND CLOSE>MA(L,20),0,VOL,3,1),COLORCYAN;向上攻击量: STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 AND CLOSE>OPEN,0,VAR5,2.5,0),COLORRED;向下攻击量: STICKLINE(VAR5>=VAR6 AND VAR5>=VAR7 AND CLOSE<OPEN,0,VAR5,2.5,0),COLORGREEN;上探量: STICKLINE(VAR6>VAR5 AND VAR6>VAR7,0,VAR6,2,0),COLORLIGRAY;下探量: STICKLINE(VAR7>VAR5 AND VAR7>VAR6,0,VAR7,2,0),COLORLICYAN;相对地量: STICKLINE(VAR8>2 AND VOL<MA(VOL,20)/2,0,VOL,3,0),COLORBLUE;放量: STICKLINE(VOL>(MA(VOL,20)*3),0,VOL,3,0),COLORWHITE;逢高出货: DRAWTEXT(VAR6>VAR5 AND VAR6>VAR7 AND CLOSE>MA(CLOSE,5)AND CLOSE>MA(CLOSE,34) AND HIGH>MA(CLOSE,55) AND VOL>MA5AND VAR6>MA(VOL,5),VOL,'$'),COLORRED;倍量:STICKLINE(VOL>REF( VOL,1)*2,0,VOL,1.1,0),COLORYELLOW,LI NETHICK1;M5: MA(VOL,5),COLORRED;MA40: MA(VOL,40),COLORGREEN;MA135: MA(VOL,135),COLORBLUE;VAR1赋值:最高价-最低价VAR2赋值:开盘价-收盘价的绝对值VAR3赋值:最高价-如果收阳线,返回收盘价,否则返回开盘价VAR4赋值:如果收阳线,返回开盘价,否则返回收盘价-最低价VAR5赋值:VAR2/VAR1*成交量(手)VAR6赋值:VAR3/VAR1*成交量(手)VAR7赋值:VAR4/VAR1*成交量(手)VAR8赋值:如果成交量(手)/当前流通股本(手)>0.001,返回1,否则返回成交量(手)/当前流通股本(手)*100的对数的绝对值的指数MA5赋值:成交量(手)的5日简单移动平均,画红色输出成交量:成交量(手),NODRAW输出流通比: 当前流通股本(手)/当前总股本(手)*100,NODRAW 输出多头成交口: 当满足条件收盘价>最高价的20日简单移动平均时,在0和成交量(手)位置之间画柱状线,宽度为3,1不为0则画空心柱.,画红色输出空头成交口: 当满足条件收盘价<最低价的20日简单移动平均时,在0和成交量(手)位置之间画柱状线,宽度为3,1不为0则画空心柱.,画绿色输出没有趋势口: 当满足条件收盘价<最高价的20日简单移动平均ANDCLOSE>最低价的20日简单移动平均时,在0和成交量(手)位置之间画柱状线,宽度为3,1不为0则画空心柱.,画青色输出向上攻击量: 当满足条件VAR5>=VAR6ANDVAR5>=VAR7ANDCLOSE>开盘价时,在0和VAR5位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,画红色输出向下攻击量: 当满足条件VAR5>=VAR6ANDVAR5>=VAR7ANDCLOSE<开盘价时,在0和VAR5位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,画绿色输出上探量: 当满足条件VAR6>VAR5ANDVAR6>VAR7时,在0和VAR6位置之间画柱状线,宽度为2,0不为0则画空心柱.,画淡灰色输出下探量: 当满足条件VAR7>VAR5ANDVAR7>VAR6时,在0和VAR7位置之间画柱状线,宽度为2,0不为0则画空心柱.,画淡青色输出相对地量: 当满足条件VAR8>2ANDVOL<成交量(手)的20日简单移动平均/2时,在0和成交量(手)位置之间画柱状线,宽度为3,0不为0则画空心柱.,画蓝色输出放量: 当满足条件成交量(手)>(成交量(手)的20日简单移动平均*3)时,在0和成交量(手)位置之间画柱状线,宽度为3,0不为0则画空心柱.,画白色输出逢高出货: 当满足条件VAR6>VAR5ANDVAR6>VAR7ANDCLOSE>收盘价的5日简单移动平均ANDCLOSE>收盘价的34日简单移动平均ANDHIGH>收盘价的55日简单移动平均ANDVOL>MA5ANDVAR6>成交量(手)的5日简单移动平均时,在成交量(手)位置书写文字,画红色输出倍量:当满足条件成交量(手)>昨日成交量(手)*2时,在0和成交量(手)位置之间画柱状线,宽度为1.1,0不为0则画空心柱.,画黄色,线宽为1输出M5: 成交量(手)的5日简单移动平均,画红色输出MA40: 成交量(手)的40日简单移动平均,画绿色输出MA135: 成交量(手)的135日简单移动平均,画蓝色。

【股票指标公式下载】-【通达信】顶底主图(攻击线、操盘线、生命线)

【股票指标公式下载】-【通达信】顶底主图(攻击线、操盘线、生命线)

【通达信】顶底主图(攻击线、操盘线、生命线)-指标公式源码攻击线5:MA(C,5)LINETHICK1;操盘线10:MA(C,10)LINETHICK1;生命线30:MA(C,30)LINETHICK1;决策线60:MA(C,60)LINETHICK1;DRAWTEXT(CROSS(攻击线5,操盘线10),LOW*0.95,'攻抄金叉'),COLORRED; DRAWTEXT(CROSS(生命线30,决策线60),LOW*0.95,'生决金叉'),COLORMAGENTA; N:=20;M:=30;P1:=80;P2:=100;VAR101:=(C+H+O+L)/4;卖出:XMA(VAR101,N)*(1+P1/1000),COLORRED,LINETHICK2;买入:XMA(VAR101,M)*(1-P2/1000),COLORLIRED,LINETHICK2;幅度:=100*(卖出-买入)/买入,NODRAW;MA1:=MA(VAR101,3);STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN; STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA; STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'买'),COLORRED,LINETHICK2; DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'卖'),COLORGREEN;MA20:=MA(CLOSE,20);MA120:=MA(CLOSE,120);MA30:=MA(CLOSE,37);MAP:=MA(CLOSE,8);AA5:=MA(CLOSE,21);AA10:=MA(CLOSE,8),COLORFF0000;AA12:=MA(CLOSE,12),COLORFF0000;BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);VAR01:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);中期大底:=LLV(LOW,30),;短期底部0:=LLV(HIGH,30);短底:=EMA(VAR01,5);支撑:=HHV(短底,60);压力1:=HHV(LOW,20),COLORFAABEC;压力:=SMA(LOW,5,1);中线:=MA(CLOSE,3);DRAWTEXT(FILTER(((((HIGH > 支撑) AND (CLOSE < 支撑)) AND ((CLOSE / OPEN) > (0 - 1.06))) AND (CLOSE < OPEN)),5),(HIGH + 0.02),'逃'),COLORFFFF00;中轨道:=(MA(HIGH,15) * 1.05);天:=(MA(LOW,15) * 0.985);人:=(MA(LOW,15) * 0.96);地:=(((HIGH + LOW) + CLOSE) / 3);B1:=HHV(地,(4 * 15));B6:=LLV(地,(4 * 15));B7:=(B1 - B6);B8:=(MA(((地 - B6) / B7),2) * 80);VAR1:=(((CLOSE - LLV(LOW,100)) / (HHV(HIGH,100) - LLV(LOW,100))) * 200); 飞龙顶底线1:=SMA(VAR1,3,1);VAR2:=SMA(飞龙顶底线1,3,1);VAR3:=((3 * 飞龙顶底线1) - (2 * VAR2));VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,5);VAR6:=(EMA((((CLOSE - VAR4) / (VAR5 - VAR4)) * 100),4) * 2);VAR7:=EMA(((0.667 * REF(VAR6,1)) + (0.333 * VAR6)),2);VAR8:=((3 * VAR6) - (2 * VAR7));VAR9:=(POW(MA(CLOSE,5),2) + MA(CLOSE,5));VARA:=(POW(MA(LOW,5),2) + MA(LOW,5));VARB:=(POW(MA(HIGH,5),2) + MA(HIGH,5));VARC:=(((((VAR9 - LLV(VARA,64)) / (HHV(VARB,64) - LLV(VARA,64))) * 150) + 65) - 10);VARD:=((SMA(VARC,3,1) * 1.5) - 100);VARE:=SMA(VARD,3,1);VARF:=((3 * VARD) - (2 * VARE));VAR10:=(((HIGH + LOW) + (CLOSE * 2)) / 4);VAR11:=EMA(VAR10,13);VAR12:=STD(VAR10,13);VAR13:=(((VAR10 - VAR11) * 100) / VAR12);VAR14:=EMA(VAR13,5);VAR15:=EMA(VAR14,13);VAR16:=((EMA(VAR14,13) + 200) - 100);VAR17:=EMA(VAR16,10);VAR18:=((3 * VAR16) - (2 * VAR17));VAR19:=(((飞龙顶底线1 + VAR6) + VARD) + VAR16);VAR1A:=(((VAR2 + VAR7) + VARE) + VAR17);VAR1B:=(((VAR3 + VAR8) + VARF) + VAR18);VAR1C:=(((HIGH + LOW) + CLOSE) / 3);VAR1D:=((AMOUNT / VOL) / 100);VAR1E:=((SUM(AMOUNT,5) / SUM(VOL,5)) / 100);VAR1F:=((VAR1C - MA(VAR1C,34)) / (0.015 * AVEDEV(VAR1C,34)));VAR21:=((((HIGH + LOW) + CLOSE) + VAR1C) / 4);VAR22:=EMA(VAR21,24);VAR23:=STD(VAR21,24);VAR24:=(((VAR21 - VAR22) / VAR23) * 100);VAR25:=((VAR1C - MA(VAR1C,24)) / (0.015 * AVEDEV(VAR1C,24)));VAR26:=EMA(VAR24,5);VAR27:=((VAR1D - MA(VAR1D,21)) / (0.015 * AVEDEV(VAR1D,21)));VAR28:=((VAR1E - MA(VAR1E,90)) / (0.015 * AVEDEV(VAR1E,90)));VAR29:=(((((((VAR28 + VAR27) + VAR26) + VAR25) + VAR1F) / 5) + 165) / 4);VAR2A:=(((((VAR19 + VAR1A) + (VAR1B * 30)) / 32) / 5) - 15);VAR2B:=(((VAR29 + VAR2A) / 2) / 1.1);VAR2C:=VAR2B;短线:=MA(VAR2C,26);MID:=(短线 + (2 * STD(VAR2C,26)));UPPER:=(短线 - (2 * STD(VAR2C,26)));LOWER:=IF((VAR2C > 短线),短线,VAR2C);XY:=MA(CLOSE,5);M80:=MA(CLOSE,80);短期底部:=(LLV(HIGH,30) * 0.93);MA80:=LLV(HIGH,30);短期底部2:=SMA(CLOSE,2,1);趋势:=(MA(LOW,10) * 0.96);趋:=(EMA(OPEN,107) * 0.897);超跌位2:=MA(CLOSE,15);GF:=MA(CLOSE,10);MAN:=(SMA(HIGH,21,2) * 1.05);上1:=(HHV(短底,60) * 0.92);压力2:=(SMA(HIGH,21,2) * 1.035);阻挡线:=(SMA(LOW,21,2) * 0.96);下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); RSV:=SMA(下档线,3,1);K:=SMA(RSV,3,1);D:=((3 * RSV) - (2 * K));J:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR2P:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR3P:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR4P:=(((J + (2 * VAR2P)) + (3 * VAR3P)) / 6);VAR5P:=MA(VAR4P,3);VAR6P:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100); RSV12:=SMA(VAR6P,3,1);K12:=SMA(RSV12,3,1);D12:=((3 * RSV12) - (2 * K12));J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); RSV24:=SMA(J12,3,1);K24:=SMA(RSV24,3,1);D24:=((3 * RSV24) - (2 * K24));J24:=IF(CROSS(D,D24),LOW,REF(LOW,BARSLAST(CROSS(D,D24))));压力位:=IF(CROSS(D24,D),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D))));支撑位:=IF((CLOSE >= MA(CLOSE,20)),80,50);U2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);L2L:=IF(((D < 支撑位) AND (REF(D,1) >= 支撑位)),HHV(REF(HIGH,1),(BARSLAST(((D >= 支撑位) AND (REF(D,1) < 支撑位))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((D >= 支撑位) AND (REF(D,1) < 支撑位))) - 1)),BARSLAST(((D < 支撑位) AND REF(D,1)))));RH1:=IF((HIGH > L2L),LOW,REF(LOW,BARSLAST((HIGH > L2L))));RH4:=IF((HIGH > L2L),D,REF(D,BARSLAST((HIGH > L2L))));RH42:=IF((((HIGH > RH1) AND (D < RH4)) AND (D <D24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH1) AND (D < RH4)) AND (D <D24)))));RH5:=IF(((D > U2L) AND (REF(D,1) <= U2L)),LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),BARSLAST(((D > U2L) AND REF(D,1))))); RL1:=IF((LOW < RH5),HIGH,REF(HIGH,BARSLAST((LOW < RH5))));RL4:=IF((LOW < RH5),D,REF(D,BARSLAST((LOW < RH5))));RL42:=IF((((LOW < RL1) AND (D > RL4)) AND (D >D24)),LOW,REF(LOW,BARSLAST((((LOW < RL1) AND (D > RL4)) AND (D > D24))))); 长期底部:=LLV(HIGH,30);DRAWTEXT(FILTER(((((RL42 = J24) AND (CLOSE > OPEN)) AND (CLOSE > 长期底部)) AND (LOW <= J24)),20),(LOW - 0.12),'底成'),COLOR0EABFF;RL5:=(SMA(HIGH,5,2) * 1.05);上:=(SMA(LOW,5,2) * 0.96);下:=SMA(LOW,2,1);中:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X1:=EMA(中,10);X2:=REF(X1,1);X3:=((REF(HIGH,1) + REF(LOW,1)) / 2);X4:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));X5:=REF(CLOSE,1);X6:=((SMA(MAX((CLOSE - X5),0),7,1) / SMA(ABS((CLOSE - X5)),7,1)) * 100);X7:=CROSS(79,X6);X8:=FILTER(X7,4);X9:=MA(CLOSE,115);VAR001:=EMA(CLOSE,8);飞龙顶底线:=EMA(VAR001,20);VAR002:=CROSS(VAR001,飞龙顶底线);VAR003:=(VAR001 < MA(CLOSE,20));VAR004:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100); VAR005:=SMA(VAR004,5,1);VAR006:=SMA(VAR005,8,1);VAR007:=(CROSS(VAR005,VAR006) AND (VAR006 < 5));VAR008:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR007); VAR009:=IF((CLOSE > 1000),VAR007,VAR008);VAR00F:=CROSS(X1,X2);MA115:=VAR00F;低买:=(VAR002 AND VAR003);黑马起步:=VAR009;DRAWTEXT(X8,(HIGH * 1.03),'出货'),COLOR9000F5;DRAWTEXT((黑马起步 > 0),(HIGH * 1.04),'逃命'),COLORFF0000;逃遁:=(SMA(HIGH,21,2) * 1.05);阻挡:=(SMA(LOW,21,2) * 0.94);DRAWTEXT(FILTER(((((((((CLOSE / OPEN) > 1.03) AND ((超跌位2 - REF(超跌位2,1)) > 0)) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (HIGH < 压力1)) AND (CLOSE < 压力1)) AND ((压力2 - REF(压力2,1)) > 0)) AND (CLOSE < MAN)),3),LOW,'出击'),COLOR646E69;DRAWTEXT((((((低买 > 0) AND ((X1 - REF(X1,1)) > 0)) AND (HIGH < 压力位)) AND (HIGH < X9)) AND ((X2 - REF(X2,1)) > 0)),LOW,'黑马'),COLOR00FF00; DRAWTEXT((((CROSS(VAR2C,UPPER) AND (HIGH < 压力1)) AND ((XY -REF(XY,1)) > 0)) AND (HIGH < 支撑)),LOW,'买'),COLORFFFFFF; DRAWTEXT(FILTER((((((MA115 AND (CLOSE < 压力位)) AND ((人 - REF(人,1)) >0)) AND ((X1 - REF(X1,1)) > 0)) AND (HIGH < 上1)) AND ((CLOSE / OPEN) >1.03)),5),LOW,'●买'),COLOR93EE7D;DRAWTEXT(((((LOW <= 上) AND (HIGH >= 短期底部)) AND (CLOSE >= 长期底部)) AND ((CLOSE / OPEN) > 1.03)),(LOW - 0.08),'★抄底'),COLOR0000FF;DRAWTEXT(FILTER((((((LOW <= 阻挡线) AND ((MA20 - REF(MA20,1)) > 0)) AND (OPEN <= 上1)) AND (HIGH > 上1)) AND (CLOSE > 阻挡线)),5),LOW,'涨10%'),COLORFFFFFF;DRAWTEXT(FILTER((((((B8 <= 1) AND (LOW <= 阻挡)) AND (CLOSE > OPEN)) AND (LOW <= 中期大底)) AND (CLOSE >= 长期底部)),3),(LOW - 0.08),'短抄E'),COLORA100FF;DRAWTEXT(FILTER((((CROSS(趋势,趋) AND (HIGH < M80)) AND (HIGH < 压力1)) AND LLV(LOW,0)),10),LOW,'果断买'),COLOR668800;DRAWTEXT(FILTER(((CROSS(中线,人) AND (LOW <= 人)) AND (CLOSE >= 人)),4),(LOW - 0.06),'买'),COLOR00FF00;DRAWTEXT(FILTER((((((((MA20 - REF(MA20,1)) > 0) AND (HIGH < 支撑)) AND ((AA10 - REF(AA10,1)) > 0)) AND (HIGH < 压力1)) AND (VOL >= REF(VOL,1))) AND CROSS(CLOSE,MA20)),57),LOW,'突破生命线'),COLOR0000FF;DRAWTEXT(FILTER(((((LOW <= MA80) AND (CLOSE > MA80)) AND (CLOSE > OPEN)) AND (短期底部2 <= MA80)),8),LOW,'底'),COLORFFFF00;DRAWTEXT(((CROSS(MA20,压力位) AND (LOW <= MA20)) AND ((MA20 -REF(MA20,1)) > 0.02)),(LOW - 0.03),'●绝佳买点'),COLORAFA0AF; DRAWTEXT((((((((CROSS(CLOSE,MA20) AND (HIGH < 压力位)) AND (OPEN < MA20)) AND (HIGH < 支撑)) AND ((MAN - REF(MAN,1)) > 0)) AND ((X1 - REF(X1,1)) > 0)) AND (D < 63)) AND ((MA20 - REF(MA20,1)) > 0)),(LOW - 0.05),'●大牛浮水'),COLOR73777F;DRAWTEXT(CROSS(中期大底,短期底部),(LOW - 0.02),'短线买');短趋势线:=MA(CLOSE,13);中趋势线1:=MA(CLOSE,33),LINETHICK1;中趋势线:=MA(CLOSE,55);涨:=IF(短趋势线>REF(短趋势线,1),短趋势线,DRAWNULL),COLORRED,LINETHICK3;平:=IF(短趋势线=REF(短趋势线,1),短趋势线,DRAWNULL),COLOR00FFFF,LINETHICK3;跌:=IF(短趋势线<REF(短趋势线,1),短趋势线,DRAWNULL),COLORGREEN,LINETHICK3;STICKLINE(CROSS(MA(CLOSE,13),C) AND MA(CLOSE,13)>REF(MA(CLOSE,13) ,1) AND V<REF(V,1) ANDMA(CLOSE,13)>MA(CLOSE,55) ,L,L*0.98,3,0),COLORYELLOW;DRAWTEXT(CROSS(MA(CLOSE,13),C) AND INDEXC>MA(INDEXC,13) ANDMA(CLOSE,13)>REF(MA(CLOSE,13) ,1) AND V<REF(V,1) ANDMA(CLOSE,13)>MA(CLOSE,55) ,L*0.95,'买'),COLORRED,LINETHICK2;VAR011:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA( CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;VAR012:=HHV(VAR011>20,10);DRAWTEXT(VAR011<-20 AND INDEXC<MA(INDEXC,13) AND FILTER(VAR011>REF(VAR011,1),5),L*0.93,'抄底'),COLORYELLOW,LINETHICK2;VAR013:=IF(MA(CLOSE,13)>REF(MA(CLOSE,13),1),MA(CLOSE,13),DRAWNULL); DRAWTEXT((IF(CLOSE>MA(CLOSE,13) ANDOPEN<CLOSE,-0.1,0))AND((C-REF(C,1))/(REF(C,1))>0.061)AND(MA(CLOSE,13)=VAR013) AND (MA(CLOSE,1),MA(CLOSE,13)) AND(VOL>REF(HHV(VOL,3),1)*2),L*0.98,'主力介入'),COLORMAGENTA;X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);Y:=EMA(CLOSE,10);【通达信】顶底主图(攻击线、操盘线、生命线)-指标公式效果图(文档来源:若水财经社区)。

通达信指标公式源码自己组合成交量附图

通达信指标公式源码自己组合成交量附图

VOLUME:VOL,VOLSTICK;VVOL:=IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,3,-1),COLOR00C0C0; EV:=VOL,;VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));成交:=VOL,POINTDOT;买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN )+(CLOSE-LOW)),VOL/2)),COLORRED,NODRAW;卖盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN, 0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR80FF00,NODRAW;成交量:EV/1,LINETHICK0;成交额(千万):AMOUNT/10000000,POINTDOT,COLORYELLOW;VAR5:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));流入:IF(CLOSE>OPEN,VAR5*(HIGH-LOW),IF(CLOSE<OPEN,VAR5*((HIGH-OPEN )+(CLOSE-LOW)),AMOUNT/2))/10000000,COLORRED,NODRAW;流出:IF(CLOSE>OPEN,0-VAR5*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN, 0-VAR5*(HIGH-LOW),0-AMOUNT/2))/10000000,COLOR00FF00,NODRAW;净流:流入+流出,COLORFFFF00,NODRAW;地量:=IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL*240/FROMOPEN,VOL)<LLV(IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),14)*1.001;天量:=IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL*240/FROMOPEN,VOL)/REF(V,1)>=2;主持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLOR FF00FF,LINETHICK2,NODRAW;主筹码:WINNER(C)*100 ,COLORRED,LINETHICK2,NODRAW;散筹码:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,COLOR80FF00,LINETHICK2,NODR AW;业绩:FINANCE(33),COLORWHITE,NODRAW;STICKLINE(C>0,0,VOL,3,0),COLOR005500;STICKLINE(C>0,0,VOL,2,0),COLOR007700;STICKLINE(C>0,0,VOL,1,0),COLOR009900;STICKLINE(C>0,0,VOL,0,0),COLOR00CC00;STICKLINE(买盘>0,0,买盘,3,0),COLOR000055;STICKLINE(买盘>0,0,买盘,2,0),COLOR000077;STICKLINE(买盘>0,0,买盘,1,0),COLOR000099;STICKLINE(买盘>0,0,买盘,0,0),COLOR0000FF;STICKLINE(天量,0,买盘,0.5,1),COLORMAGENTA;STICKLINE(地量>0,0,买盘,0.5,1),COLORYELLOW;MAVOL1:MA(VOLUME,M1),COLORFF9933,LINETHICK3;MAVOL2:MA(VOLUME,M2),COLORFF9933,LINETHICK3;。

通达信经典成交量指标公式

通达信经典成交量指标公式

通达信经典成交量指标公式N:=5; N1:=21;VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;VAR2:=8,COLORGREEN,LINETHICK0;小试牛刀: IF(CROSS(VAR1,VAR2),8,0),STICK,COLORRED;DRAWICON(小试牛刀>0,8,4);发现庄迹: IF(VAR1<=8,15,0),STICK,COLORCYAN,LINETHICK2;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<10),100,118) ,COLOR00CCFF,LINETHICK1;CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));CD3:=SMA(SMA(CD2,3,1),3,1);CD4:=(CD3-SMA(CD1,9,1))-0.5;CD5:=IF(CD4>0.00,CD4,0.00);CD6:=REF(CD5,1);VAR81:=MA(C,9),COLORRED;空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORGREEN;减仓空仓:CROSS(CD6,CD5),COLORGREEN;DRAWICON(减仓空仓>0,113,5);VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2A:=SMA(VAR1A,9,1) 100;VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4A:=SMA(VAR3A,3,1);VAR5A:=SMA(VAR4A,3,1) 100;VAR6A:=VAR5A-VAR2A;端庄窝:=IF(VAR6A>N1,VAR6A-N1,0),COLORLIRED;果断出击:IF(CROSS(端庄窝,0.01),18,0),STICK,COLOR0000CC,LINETHICK2;DRAWICON(果断出击>0,18,4);XG:=CROSS(端庄窝,0.01);LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;E:=CROSS(83,RSI);STICKLINE(REF(端庄窝,1)<端庄窝,端庄窝,REF(端庄窝,1),3,0),COLORRED;STICKLINE(REF(端庄窝,1)>端庄窝,端庄窝,REF(端庄窝,1),3,0),COLOR00FF00;红持绿空:0,COLORGREEN;。

通达信自用DDX成交量指标公式

通达信自用DDX成交量指标公式

通达信自用DDX成交量指标公式虚拟量:IF(CURRBARSCOUNT=1 AND PERIOD=5,vol*240/FROMOPEN,DRAWNULL),NODRAW;stICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚拟量,0,0.3,0.5),COLORRED;VOLUME:VOL,VOLSTICK;VAR1:=VOL/((H-L)*2-Abs(C-O));主买:=IF(C>O,VAR1*(H-L),IF(C<O,VAR1*((H-O)+(C-L)),VOL/2)),COLORRED,NODRAW;主卖:=IF(C>O,0-VAR1*((H-C)+(O-L)),IF(C<O,0-VAR1*(H-L),0+V/2)),COLOR00FF00,NODRAW;【差】:(主买+主卖),NODRAW,COLOR0000FF;K:=IF(【差】>0,【差】,-【差】);STICKLINE(【差】>0,0,K,2.5,0),COLOR000088;STICKLINE(【差】>0,0,K,1.8,0),COLOR0000AA;STICKLINE(【差】>0,0,K,1.2,0),COLOR0000CC;STICKLINE(【差】>0,0,K,0.4,0),COLOR0000EE;STICKLINE(【差】<0,0,K,2.5,0),COLOR008800;STICKLINE(【差】<0,0,K,1.8,0),COLOR00AA00;STICKLINE(【差】<0,0,K,1.2,0),COLOR00CC00;STICKLINE(【差】<0,0,K,0.4,0),COLOR00EE00;AA1:=VOL<REF(LLV(VOL,20),1);AA2:=VOL<REF(LLV(VOL,60),1);AA3:=VOL<REF(LLV(VOL,100),1);STICKLINE(AA1,0,V,1,1),COLORBLUE;STICKLINE(AA2,0,V,0.6,1),COLORMAGENTA;STICKLINE(AA3,0,V,0.3,1)COLORWHITE;ddx:=主买+主卖;DX:=MA(DDX,5)*5;DDX1:SMA(DX,3,1),COLORRED,LINETHICK1;DDX2:SMA(DDX1,3,1),COLORYELLOW,LINETHICK1;DDX3:EMA(DDX2,5),COLORF0F000,LINETHICK1;X1:=(3*C+L+H+O)/6;F:=(EMA(CLOSE,5)-EMA(CLOSE,21))*4;VAR10:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);VAR20:=C=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) AND REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);VAR30:=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);{股旁网-股票公式网站 }VAR40:=(20*X1+19*REF(X1,1)+18*REF(X1,2)+17*REF(X1,3)+ 16*REF(X1,4)+15*REF(X1,5)+14*REF(X1,6)+13*REF(X1,7)+12*REF(X1,8)+11*REF(X1,9)+10 *REF(X1,10)+9*REF(X1,11)+8*REF(X1,12)+7*REF(X1,13)+6*REF(X1,14)+5*REF(X1,15)+4*REF(X1,16)+3 *REF(X1,17)+2*REF(X1,18)+REF(X1,20))/210;mtm:=C-REF(C,1);DX1:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);CB:=EMA(VAR40,13);卖1:=HHV(DX1,2)=HHV(DX1,7) AND COUNT(DX1>50,2) AND crOSS(MA(DX1,2),DX1);DRAWTEXT(FILTER(卖1=1,1),VOLUME*-0.1,'卖'),COLOR00C800;买1:=LLV(DX1,2)=LLV(DX1,7) AND COUNT(DX1<0,2) AND CROSS(DX1,MA(DX1,2));DRAWTEXT(FILTER(DDX1>=DDX2 AND 买1=1,5),VOLUME*-0.1,'买'),COLORYELLOW;。

通达信彩带成交量主图指标公式

通达信彩带成交量主图指标公式

通达信彩带成交量主图指标公式DRAWBAND(MA(CLOSE,60),RGB(25,0,25),MA(CLOSE,90),RG B(16,16,16));DRAWBAND(MA(CLOSE,20),RGB(255,255,0),MA(CLOSE,30),R GB(0,0,0));DRAWBAND(MA(CLOSE,10),RGB(255,0,0),MA(CLOSE,20),RG B(0,0,0));MA5:MA(CLOSE,5),COLORFFFFFF;MA10:MA(CLOSE,10),COLOR00FFFF;MA20:MA(C,20),COLORFF00FF;MA30:MA(C,30),COLOR00FF00;MA60:MA(CLOSE,60),COLORFF9988;MA90:MA(CLOSE,90),COLOR0000FF;DRAWKLINE(HIGH,OPEN,LOW,CLOSE);BDGD:=C=HHV(C,13);GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1;高点:REF(C,GDSJ),COLORFF00FF,POINTDOT;突破:CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,NODRAW;STICKLINE(GDSJ<=6,高点,高点,3,0),COLORFF00FF;DRAWTEXT(突破,LOW,'↑'),COLOR00FFFF;BDDD:=C=LLV(C,13);DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),2))+1;低点:REF(C,DDSJ),COLOR00FF00,POINTDOT;STICKLINE(DDSJ<=6,低点,低点,3,0),COLOR00FF00;{}高点1:=REFDATE(HHV(H,140),DATE);调整:=0.99;{这里是避免跟信息地雷冲突}DRAWTEXT(CURRBARSCOUNT=140,高点1*调整,'主营收入(万):');{CURRBARSCOUNT=N根据自已的初始K线来调,我的初始K 线为140根}DRAWNUMBER(CURRBARSCOUNT=123,高点1*调整,FINANCE(20)/10000);DRAWTEXT(CURRBARSCOUNT=110,高点1*调整,'主营利润(万):');DRAWNUMBER(CURRBARSCOUNT=93,高点1*调整,FINANCE(21)/10000);DRAWTEXT(CURRBARSCOUNT=80,高点1*调整,'每股收益(元):');DRAWNUMBER(CURRBARSCOUNT=63,高点1*调整,FINANCE(33));DRAWTEXT(CURRBARSCOUNT=55,高点1*调整,'每股净资产(元):');DRAWNUMBER(CURRBARSCOUNT=35,高点1*调整,FINANCE(34));{}{KS:IF(MAA10>MAA30,MAA10,MAA30),COLORBLUE;}{股旁网-股票公式网站 }A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A4:=SMA(A3,3,1);A5:=SMA(A4,3,1);A6:=3*A4-2*A5;A7:=C-REF(C,1);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),COLORYELLOW;STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;{}XS:=MA(LOW,5)*(1-5/100),LINETHICK0;XS1:=MA(HIGH,5)*(1+5/100);DRAWTEXT(CROSS(XS1,C),H*1.01,'砸'),COLORWHITE;{}VAR2:=(2*CLOSE+HIGH+LOW)/4;VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);小股民:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;庄家:=EMA(0.667*REF(小股民,1)+0.333*小股民,2)*VAR3;DRAWTEXT(CROSS(小股民,庄家) AND 小股民<30,L-0.05,'←低吸'),COLORLIRED;DRAWTEXT(CROSS(庄家,小股民) AND 小股民>70,H+0.05,'←高抛');{}B1:=REF(CLOSE,1);WR:=-100*(HHV(HIGH,28)-CLOSE)/(HHV(HIGH,28)-LLV(LOW,28));DRAWICON(FILTER(CROSS(WR,(0 - 81)),10),B1,13);DRAWICON(FILTER(CROSS((0 -19),WR),10),H*1.02,15);DRAWTEXT(FILTER(CROSS(WR,(0 - 81)),21),L*0.99,' W&R'),COLORRED;DRAWTEXT(FILTER(CROSS(0 -19,WR),21),H*1.01,' W&R'),COLORGREEN;MA18:=MA(C,18);跟:=IF(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),1,0);DRAWTEXT(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),LOW*0.96,'跟'),COLOR7F52AF;买价:=((C-REF(MA5,1))/5+MA5)*1.004;买条件:=CROSS(C,买价) AND 买价>REF(买价,1);醉白K买进:IF(买条件,L,H),COLORWHITE,POINTDOT;STICKLINE(买条件,H,L,0,1),COLORWHITE,LINETHICK2;STICKLINE(买条件,O,C,4,1),COLORWHITE,LINETHICK2;加码价:=((C-REF(MA10,1))/20+MA10)*1.004;加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);醉黄K加码:IF(加码条件,L,H),COLORYELLOW,POINTDOT;STICKLINE(加码条件,H,L,0,1),COLORYELLOW,LINETHICK2;STICKLINE(加码条件,O,C,4,1),COLORYELLOW,LINETHICK2;HH0:=CONST(HHV(H,120))*1;LL0:=CONST(LLV(L,120))*1;MM0:=CONST((HH0+LL0)/2);HH1:=IF(CONST(C)<MM0,LL0-(HH0-LL0)*0.4,LL0-(HH0-LL0)*0.4),COLORRED;LL1:=LL0;HLMAX:=MAX(HH1,LL1);HLMIN:=MIN(HH1,LL1);HLMN1:=(HLMAX+HLMIN)/2;HLMN2:=(HLMAX-HLMIN);HLMN3:=HHV(V,250)/2;HLMN4:=HHV(V,250);VZ:=(V-HLMN3)*HLMN2/HLMN4+HLMN1;STICKLINE(C>=O,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,2.5,1),COLORRED;STICKLINE(C<O,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,2.5,0),COLORCYAN;(MA(V,5)-HLMN3)*HLMN2/HLMN4+HLMN1,COLORFFFFFF;(MA(V,10)-HLMN3)*HLMN2/HLMN4+HLMN1,COLOR00FFFF;T:=V=LLV(V,20);DRAWICON(T,(V-HLMN3)*HLMN2/HLMN4+HLMN1,1);STICKLINE(C/REF(C,1)>1.099,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,2,0),COLORRED;STICKLINE(C/REF(C,1)<0.901,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,2,0),COLORGREEN;VY:=(0-HLMN3)*HLMN2/HLMN4+HLMN1;STICKLINE(V>=2*REF(V,1),VZ,VY,0.3,0),COLORWHITE;STICKLINE(V>=3*REF(V,1),VZ,VY,0.3,0),COLORYELLOW;MA13:=MA(C,3);UU:=1,V<=LLV(V,13) AND MA13>REF(MA13,1);TJ:=1,REF(V,1)<=LLV(V,13) AND MA13>REF(MA13,1),COLORRED,LINETHICK3;DRAWTEXT(TJ=1,(V-HLMN3)*HLMN2/HLMN4+HLMN1+0.2,'买')COLORMAGENTA;BIAS11:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS12:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS13:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;BIAS1:=(C-MA(C,6))/MA(C,6)*100;BIAS2:=(C-MA(C,12))/MA(C,12)*100;BIAS3:=(C-MA(C,24))/MA(C,24)*100;BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;乖离:=MA(BIAS,3);。

通达信指标公式源码 成交量+主力动向

通达信指标公式源码 成交量+主力动向

{成交量+主力动向副图}量:V,VOLSTICK;PJJ:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN)))); 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)))));ZLL:=(VOL / CAPITAL);HSL1:=IF((ZLL > 10),10,ZLL);HSL:=((XVL / 20) / 1.15);进攻流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22));GJJ:=EMA(进攻流量,8); LLJX:=EMA(进攻流量,3);动态天量:=CONST(IF(V=HHV(V,20),V,REF(V,BARSLAST(V=HHV(V,20))))),COLOR00FF00,POINT DOT;STICKLINE(((HSL * 0.4) >= 0),动态天量+((HSL * 0.4) +LLJX)*20,动态天量,3,0),COLORYELLOW;STICKLINE(((HSL * 0.4) < 0),动态天量+((HSL * 0.4) +LLJX)*20,动态天量,3,0),COLOR00FF00;资金流入:=IF((HSL*0.4+LLJX)>0,(HSL*0.4+LLJX),DRAWNULL),COLORRED;资金流出:=IF((HSL*0.4+LLJX)<0,(HSL*0.4+LLJX),DRAWNULL),COLOR00FF00;资金收支:=(HSL*0.4+LLJX),LINETHICK0;万元:=AMOUNT/10000{0000},VOLSTICK,COLORFF00FF;资金净收支:IF((HSL*0.4+LLJX)>0,资金流入,资金流出),COLORWHITE,POINTDOT;收支比例%:IF((HSL*0.4+LLJX)>0,资金流入/万元*100,资金流出/万元*100),COLORYELLOW;连红天1:=BARSLASTCOUNT(资金净收支>0),,COLORA20FFD,NODRAW;连红天2:=IF(连红天1=0,REF(连红天1,1),连红天1),,COLORA20FFD,NODRAW;连红天3:=IF(连红天2=0,REF(连红天1,2),连红天2),,COLORA20FFD,NODRAW;连红天4:=IF(连红天3=0,REF(连红天1,3),连红天3),,COLORA20FFD,NODRAW;近期连红天:IF(连红天4=0,REF(连红天1,4),连红天4),,COLORYELLOW,NODRAW;三日资金:SUM(资金收支,3),COLORWHITE,NODRAW;五日资金:SUM(资金收支,5),COLORFF00FF,NODRAW;十日资金:SUM(资金收支,10),COLOR0000FF,NODRAW;资金流量:=LLJX,LINETHICK0,COLOR0000FF;STICKLINE((资金流量> 0),动态天量+资金流量*20,动态天量,3,0),COLOR0000FF; STICKLINE((资金流量< 0),动态天量+资金流量*20,动态天量,3,0),COLOR008000;。

【股票指标公式下载】-【通达信】多功能成交量(股价趋势、牛年奔牛、逃顶提示)

【股票指标公式下载】-【通达信】多功能成交量(股价趋势、牛年奔牛、逃顶提示)

【通达信】多功能成交量(股价趋势、牛年奔牛、逃顶提示)-指标公式源码股价趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(S MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);底部警戒:=10,COLORRED,LINETHICK2;底1:=CROSS(股价趋势,底部警戒);A1:=(2*CLOSE+HIGH+LOW)/4;A2:=LLV(LOW,27);A3:=HHV(HIGH,27);A4:=EMA((A1-A2)/(A3-A2)*100,13);A5:=EMA(0.618*REF(A4,1)+0.382*A4,3);底2:=CROSS(A4,A5) AND A4<16;波底:=底1 AND 底2;{牛年奔牛}VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;VAR4:=EMA(VAR3,5);VAR5:=3*VAR3-2*VAR4;牛:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;{逃顶提示}VARA2:=LLV(LOW,10);VARA3:=HHV(HIGH,25);动力线:= EMA((CLOSE-VARA2)/(VARA3-VARA2)*4,4);{突破与破位}N:=19;VARB1:=HHV(HIGH,N);VARB2:=LLV(LOW,N);阻力线:=EMA((CLOSE-VARB2)/(VARB1-VARB2),21)-0.5;操作线:=EMA((CLOSE-VARB2)/(VARB1-VARB2),5)-0.5;突破:=CROSS(操作线,阻力线) AND 阻力线<0.1;破位:=CROSS(阻力线,操作线) AND 阻力线>0.25;{立桩成立判断}V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1 );T12:=V2>=1;T0:=BARSLAST(T12);L1:=REF(L,T0);H1:=REF(H,T0);L11:=MIN(REF(L,1),L);L10:=MIN(L11,REF(L,2));L21:=MAX(REF(L,1),L);L20:=MAX(L21,REF(L,2));T111:=(REF(V2>=1,3) OR REF(V2>=1,2) OR REF(V2>=1,1)) AND((L10>L1 AND L20>H1) OR (L11>L1 AND L21>H1) OR (L>H1));T11:=T111 AND REF(T111,1)=0;{涨跌停}C3:=REF(C,1);涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);{顶背离与底背离}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);顶背离:=CROSS(88,RSI);底背离:=CROSS(FF,MA15);{45度攻击}X1:=(3*C+L+H+O)/6;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;EMA8:=EMA(C,8);T1:=FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10);{获利盘提示}获利盘:=WINNER(C)*100;{彩色成交量柱线}VOLUME:VOL,VOLSTICK;MAVOL1:MA(VOLUME,5),COLORWHITE;MAVOL2:MA(VOLUME,35),COLORYELLOW;MAVOL3:MA(VOLUME,135),COLORGREEN;{V2:IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1 ),NODRAW,COLORRED;}STICKLINE(V2>=1,0,VOL*0.5,2,0),COLORYELLOW;STICKLINE(动力线>=3.2,0,VOL,1,0),COLOR238E23;STICKLINE(波底,0,VOL,2,0),COLORMAGENTA;DRAWTEXT(波底,VOL*0.8,'底'),COLORWHITE;DRAWICON(波底,VOL*1.1,5);STICKLINE(牛,0,VOL,2,0),COLORRED;DRAWTEXT(牛,VOL*1.15,'牛'),COLORWHITE;STICKLINE(突破,0,VOL,1,0),COLORBLUE;DRAWTEXT(突破,VOL*0.5,'突破'),COLORWHITE;DRAWICON(突破,VOL*1.2,1);STICKLINE(破位,0,VOL,0.5,0),COLORBROWN;DRAWTEXT(破位,VOL*0.5,'破位'),COLORWHITE;DRAWICON(破位,VOL*1.05,2);STICKLINE(T11,O,VOL,2,0),COLORFF00FF;STICKLINE(涨停,VOL*0.5,VOL,2.5,0),COLORLIRED;STICKLINE(涨停,VOL*0.5,VOL,0,0),COLORRED;STICKLINE(跌停,VOL*0.5,VOL,2.5,0),COLOR2F4F2F;STICKLINE(跌停,VOL*0.5,VOL,0,0),COLORBLACK;STICKLINE(顶背离,VOL*0.8,VOL,2.5,0),COLORGREEN;STICKLINE(底背离,0,VOL*0.2,3,0),COLOR7F017F;DRAWTEXT(T1,VOL*1.1,'∠45'),COLOR00F3F5;DRAWTEXT(获利盘>=90 AND 动力线>=3.2,VOL*1.1,'获利90●'),COLORRED; DRAWTEXT(获利盘<75 AND 动力线>=3.2,VOL*1.1,'●'),COLORGREEN;VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*10 0;DRAWTEXT(CROSS(82,VARR1) OR CROSS(82,RSI),VOL*1.2,'逃'),COLOR22FF33; F:=(EMA(CLOSE,5)-EMA(CLOSE,21))*4;A:=EMA(F,5);MMD:=2*(F-A);{STICKLINE(MMD>0,0,MMD,1,1),COLOR0000FF;STICKLINE(MMD<0,0,MMD,1,1),COLOR00FF00;}短DIF:F,COLORFFFFFF;短DEA:A,COLOR00FFFF;DRAWICON(CROSS(短DIF,短DEA) AND 短DIF<=0.08,短DIF,1);DRAWICON(CROSS(短DEA,短DIF) AND 短DIF>=0.09,短DEA*1.05,2);MA13:MA(C,4),COLOR0000FF,LINETHICK3;VAR10:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);VAR20:=C=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) AND C<REF(C,1) AND C<REF(C,2);VAR30:=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);VAR40:=(20*X1+19*REF(X1,1)+18*REF(X1,2)+17*REF(X1,3)+16*REF(X1,4)+15* REF(X1,5)+14*REF(X1,6)+13*REF(X1,7)+12*REF(X1,8)+11*REF(X1,9)+10*REF(X1,10)+9*R EF(X1,11)+8*REF(X1,12)+7*REF(X1,13)+6*REF(X1,14)+5*REF(X1,15)+4*REF(X1,16)+3*REF(X1,17)+2*R EF(X1,18)+REF(X1,20))/210;MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);CB:=EMA(VAR40,13);{VAR5:=C>REF(C,1)*1.08;}MA130:MA(VOL,13),COLORE011FF,LINETHICK3;变异:IF(MA(X1,13)>MA(X1,5),MA(VOL,13),DRAWNULL),COLOR00FF00,LINETHICK3; 卖:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX); DRAWTEXT(FILTER(卖=1,1),VOL*1.02,'卖'),COLORGREEN;买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)); DRAWTEXT(FILTER(买=1,5),VOL*1.13,'买'),COLORRED;加仓:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;DRAWTEXT(FILTER((CROSS(加仓,0) OR CROSS(CLOSE,CB)) AND 买=1,3),VOL*1.05,'加'),COLORWHITE;跟:=MA(X1,18)>=REF(MA(X1,18),3) AND CROSS(CLOSE,MA(X1,18)); DRAWTEXT(跟,VOL*1.06,'跟'),COLORCC66FF;【通达信】多功能成交量(股价趋势、牛年奔牛、逃顶提示)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】主力能量(主力、大户、散户、多空趋势、操盘)

【股票指标公式下载】-【通达信】主力能量(主力、大户、散户、多空趋势、操盘)

【通达信】主力能量(主力、大户、散户、多空趋势、操盘)-指标公式源码V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);HY1:=REF(EMA(V1,3),1);主力:=MA(CLOSE,1),COLOR006400;大户:=HY1,COLOR400080;中户:=MA(HY1,17);散户:=MA(HY1,34);多空趋势:=(MA((CLOSE - HY1)*10,2))*0.1;操盘4:STICKLINE(多空趋势>=0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,1,0),COLORRED;减仓4:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,3,0),COLOR0D06AA;减仓5:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,2,0),COLOR2108C1;减仓6:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,1,0),COLORRED;DRAWTEXT(ISLASTBAR=1,IF(多空趋势>=0,6,6.3),'主力'),COLORMAGENTA;反弹3:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,3,0),COLOR00AA00;反弹4:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,2,0),COLOR40FF00;反弹5:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,1,0),COLORMAGENTA;寻底2:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,3,0),COLOR1B7411;寻底3:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,2,0),COLOR17A715;寻底4:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,1,0),COLOR40FF00;DRAWTEXT(ISLASTBAR=1,IF(多空趋势>=0,6,6.3),'多空'),NODRAW;均量:=(主力+大户+中户+散户)/4;主力能量:(主力-均量)COLORRED,NODRAW;大户量:(大户-均量)COLORMAGENTA,NODRAW;中户量:(中户-均量)COLORYELLOW,NODRAW;散户量:(散户-均量),NODRAW;操盘A:STICKLINE(多空趋势>=0 AND 多空趋势>=REF(多空趋势,1),4.5,4.5+多空趋势,2,0),COLOR440044;操盘B:STICKLINE(多空趋势>=0 AND 多空趋势>=REF(多空趋势,1),4.5,4.5+多空趋势,1,0),COLORFF00FF;反弹A:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),4.5,4.5+多空趋势,3,0),COLOR00CC20;反弹B:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),4.5,4.5+多空趋势,2,0),COLOR08D306;反弹C:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),4.5,4.5+多空趋势,1,0),COLOR40FF00;减仓:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),4.5,4.5+多空趋势,1,0),COLOR00CCCC;寻底:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),4.5,4.5+多空趋势,1,0),COLORFF9900;DRAWTEXT(ISLASTBAR=1,IF(多空趋势>=0,4.2,4.8),'机构'),COLORRED;操盘1:STICKLINE(主力能量>=0 AND 主力能量>=REF(主力能量,1),3,3+主力能量,1,0),COLORRED;减仓1:STICKLINE(主力能量>=0 AND 主力能量< REF(主力能量,1),3,3+主力能量,1,0),COLOR00CC20;反弹1:STICKLINE(主力能量<0 AND 主力能量>=REF(主力能量,1),3,3+主力能量,1,0),COLOR00CCCC;寻底1:STICKLINE(主力能量<0 AND 主力能量< REF(主力能量,1),3,3+主力能量,1,0),COLORFF9900;DRAWTEXT(ISLASTBAR=1,IF(主力能量>=0,2.7,3.3),'大户'),COLORMAGENTA; 操盘2:STICKLINE(大户量>=0 AND 大户量>=REF(大户量,1),1.5,1.5+大户量,1,0),COLORRED;反弹2:STICKLINE(大户量>=0 AND 大户量< REF(大户量,1),1.5,1.5+大户量,1,0),COLOR00CC20;减仓2:STICKLINE(大户量<0 AND 大户量>=REF(大户量,1),1.5,1.5+大户量,3,0),COLOR00CCCC;寻底0:STICKLINE(大户量<0 AND 大户量< REF(大户量,1),1.5,1.5+大户量,1,0),COLORFF9900;DRAWTEXT(ISLASTBAR=1,IF(中户量>=0,1.2,1.8),'中户'),COLORYELLOW;【通达信】主力能量(主力、大户、散户、多空趋势、操盘)-指标公式效果图(文档来源:若水财经社区)。

通达信资金叠加成交量主图指标公式

通达信资金叠加成交量主图指标公式

通达信资⾦叠加成交量主图指标公式套盘:=(1-WINNER(C))*100,COLORGREEN,NODRAW;TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1))))); MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);VVOL:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;虚拟换:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME/CAPITAL*100,DRAWNULL),COLORGREEN,NODRAW;换⼿:VOL/CAPITAL*100,POINTDOT,NODRAW,COLORMAGENTA;STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;超B:=L2_AMO(0,2)/10000.0;⼤B:=L2_AMO(1,2)/10000.0;中B:=L2_AMO(2,2)/10000.0;⼩B:=L2_AMO(3,2)/10000.0;超S:=L2_AMO(0,3)/10000.0;⼤S:=L2_AMO(1,3)/10000.0;中S:=L2_AMO(2,3)/10000.0;⼩S:=L2_AMO(3,3)/10000.0;净流⼊:(超B+⼤B+中B+⼩B)-(超S+⼤S+中S+⼩S),NODRAW;N:=30;ZJD:=HHV(净流⼊,N);ZJX:=LLV(净流⼊,N);CJ:=HHV(V,N);BEIS:=CJ/(ZJD-ZJX);值:=CONST(CJ+ABS(ZJX)*BEIS);STICKLINE(净流⼊>0 ,值,值+净流⼊*BEIS,2,0),COLOR0000AA;STICKLINE(净流⼊<=0 ,值,值+净流⼊*BEIS,2,0),COLOR00AA00;DRAWTEXT(ISLASTBAR=1 AND 净流⼊<=0,值*1.12,' 净流⼊'),COLORGREEN;DRAWTEXT(ISLASTBAR=1 AND 净流⼊>0,值*0.88,' 净流⼊'),COLORRED;VOLUME:VOL,VOLSTICK;V1:=MA(VOLUME,5);V2:=MA(VOLUME,10);V3:=MA(VOLUME,30);{空中加油}STICKLINE(C<O AND C>REF(C,1),0,V,2,0),COLORMAGENTA;量倍:V/REF(V,1),NODRAW,COLOR0000DD;STICKLINE(IF(V>REF(HHV(V,239),1),0.99,1)<1,V,0,-1,1),COLORDD00DD;STICKLINE(IF(V>REF(HHV(V,239),1),0.99,1)<1 AND O>C,V,0,-1,0),COLORDD00DD;STICKLINE(IF(V<REF(LLV(V,119),1),0.99,1)<1,V,0,-1,0),COLOR00DD00;STICKLINE(IF(V<REF(LLV(V,239),1),0.99,1)<1,V,0,-1,0),COLORDD0000;STICKLINE(V/REF(V,1)>2 ,0,V/2,2,0),COLORYELLOW;DRAWICON(LAST(V>REF(V,1),2,0),V/3,1);TESTSKIP(NOT(超B OR ⼤B OR 中B OR ⼩B OR 超S OR ⼤S OR 中S OR ⼩S)!=0);超⼤单:=(超B)-(超S);⼤单:=(⼤B)-(⼤S);中单:=(中B)-(中S);⼩单:=(⼩B)-(⼩S);DAZHI:=CONST(MAX(ABS(净流⼊),MAX(ABS(超⼤单),MAX(ABS(⼤单),MAX(ABS(中单),ABS(⼩单)))))),NODRAW;近3净⼊:=SUM(净流⼊,3);近3超:=SUM(超⼤单,3);近3⼤:=SUM(⼤单,3);近3中:=SUM(中单,3),;近3⼩:=SUM(⼩单,3);近5净⼊:=SUM(净流⼊,5);近5超:=SUM(超⼤单,5);近5⼤:=SUM(⼤单,5);近5中:=SUM(中单,5);近5⼩:=SUM(⼩单,5);近10净⼊:=SUM(净流⼊,10);近10超:=SUM(超⼤单,10);近10⼤:=SUM(⼤单,10);近10中:=SUM(中单,10),;近10⼩:=SUM(⼩单,10);流⼊:=ABS(超B+⼤B+中B+⼩B)*1000/VOL;流出:=ABS(超S+⼤S+中S+⼩S)*1000/VOL;近3流⼊:=ABS(SUM(超B,3)+SUM(⼤B,3)+SUM(中B,3)+SUM(⼩B,3))*1000/VOL;近3流出:=ABS(SUM(超S,3)+SUM(⼤S,3)+SUM(中S,3)+SUM(⼩S,3))*1000/VOL;近5流⼊:=ABS(SUM(超B,5)+SUM(⼤B,5)+SUM(中B,5)+SUM(⼩B,5))*1000/VOL;近5流出:=ABS(SUM(超S,5)+SUM(⼤S,5)+SUM(中S,5)+SUM(⼩S,5))*1000/VOL;近10流⼊:=ABS(SUM(超B,10)+SUM(⼤B,10)+SUM(中B,10)+SUM(⼩B,10))*1000/VOL;近10流出:=ABS(SUM(超S,10)+SUM(⼤S,10)+SUM(中S,10)+SUM(⼩S,10))*1000/VOL;{ 当⽇ }DRAWRECTREL(0,0,240,999.2,IF(120,RGB(10,0,0),0));{DRAWTEXT_FIX(CURRBARSCOUNT=1,0.0,0.001,0,'单位(万元)'),COLORDDDDDD;} DRAWRECTREL(0,ABS(CONST(480-(ABS(净流⼊)*300/DAZHI))),44,480,IF(CONST(净流⼊)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(48,ABS(CONST(480-(ABS(超⼤单)*300/DAZHI))),94,480,IF(CONST(超⼤单)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(98,ABS(CONST(480-(ABS(⼤单)*300/DAZHI))),142,480,IF(CONST(⼤单)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(146,ABS(CONST(480-(ABS(中单)*300/DAZHI))),190,480,IF(CONST(中单)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(194,ABS(CONST(480-(ABS(⼩单)*300/DAZHI))),238,480,IF(CONST(⼩单)>0,RGB(100,0,0),RGB(0,50,0)));DRAWTEXT_FIX(CURRBARSCOUNT=1,0.0,0.001,0,'当⽇'),COLORFFFFFF; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.005,0.49,0,'净流'),COLORRED;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.055,0.49,0,'超⼤'),COLOR00FFFF; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.100,0.49,0,'⼤单'),COLOR00FFFF; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.150,0.49,0,'中单'),COLOR00FFFF; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.197,0.49,0,'⼩单'),COLOR00FFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.0,0.40,0,CEILING(净流⼊)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.051,0.40,0,CEILING(超⼤单)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.097,0.40,0,CEILING(⼤单)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.151,0.40,0,CEILING(中单)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.200,0.40,0,CEILING(⼩单)),COLORFFFFFF; {3⽇ }DRAWRECTREL(240,0,445,999.2,IF(120,RGB(10,0,0),0));DRAWRECTREL(0,CONST(940-(ABS(近3净⼊)*10/DAZHI)),42,999,IF(CONST(近3净⼊)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(47,CONST(940-(ABS(近3超)*10/DAZHI)),94,999,IF(CONST(近3超)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(98,CONST(940-(ABS(近3⼤)*10/DAZHI)),142,999,IF(CONST(近3⼤)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(146,CONST(940-(ABS(近3中)*10/DAZHI)),190,999,IF(CONST(近3中)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(194,CONST(940-(ABS(近3⼩)*10/DAZHI)),238,999,IF(CONST(近3⼩)>0,RGB(100,0,0),RGB(0,50,0)));DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.001,0.89,0,CEILING(近3净⼊))COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.058,0.89,0,CEILING(近3超))COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.106,0.89,0,CEILING(近3⼤))COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.155,0.89,0,CEILING(近3中))COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.200,0.89,0,CEILING(近3⼩))COLORFFFFFF; { 5}DRAWRECTREL(240,ABS(CONST(480-(ABS(近5超)*50/DAZHI))),285,480,IF(CONST(近5超)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(290,ABS(CONST(480-(ABS(近5⼤)*50/DAZHI))),335,480,IF(CONST(近5⼤)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(341,ABS(CONST(480-(ABS(近5中)*50/DAZHI))),386,480,IF(CONST(近5中)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(395,ABS(CONST(480-(ABS(近5⼩)*50/DAZHI))),440,480,IF(CONST(近5⼩)>0,RGB(100,0,0),RGB(0,50,0)));DRAWTEXT_FIX(CURRBARSCOUNT=1,0.245,0.49,0,'绝对超'),COLORFF8000; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.294,0.49,0,'绝对⼤'),COLORFF8000; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.343,0.49,0,'绝对中'),COLORFF8000; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.394,0.49,0,'绝对⼩'),COLORFF8000; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.244,0.40,0,CEILING(近5超)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.295,0.40,0,CEILING(近5⼤)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.350,0.40,0,CEILING(近5中)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.395,0.40,0,CEILING(近5⼩)),COLORFFFFFF;{ 10 }DRAWRECTREL(240,ABS(CONST(970-(ABS(近10超)*10/DAZHI))),289,999,IF(CONST(近10超)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(293,ABS(CONST(970-(ABS(近10⼤)*10/DAZHI))),337,999,IF(CONST(近10⼤)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(341,ABS(CONST(970-(ABS(近10中)*10/DAZHI))),386,999,IF(CONST(近10中)>0,RGB(100,0,0),RGB(0,50,0)));DRAWRECTREL(395,ABS(CONST(970-(ABS(近10⼩)*10/DAZHI))),440,999,IF(CONST(近10⼩)>0,RGB(100,0,0),RGB(0,50,0)));DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.244,0.90,0,CEILING(近10超)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.295,0.90,0,CEILING(近10⼤)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.350,0.90,0,CEILING(近10中)),COLORFFFFFF; DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.395,0.90,0,CEILING(近10⼩)),COLORFFFFFF;⼤宗进:=(超B)+(⼤B),NODRAW;⼤宗出:=(超S)+(⼤S),NODRAW;⾮⼤宗进:=(中B)+(⼩B),NODRAW;⾮⼤宗出:=(中S)+(⼩S),NODRAW;⼤宗进限制:=IF((超B+⼤B)=0,0,⼤宗进);⼤宗出限制:=IF((超S+⼤S)=0,0,⼤宗出);⾮⼤宗进限制:=IF(中B+⼩B=0,0,⾮⼤宗进);⾮⼤宗出限制:=IF(中S+⼩S=0,0,⾮⼤宗出);主⼒净流⼊:=(超B+⼤B)-(超S+⼤S),COLORRED,NODRAW;散户净流⼊:=(中B+⼩B)-(中S+⼩S),COLORRED,NODRAW;⼤单流⼊:=(超B+⼤B)/(超B+⼤B+超S+⼤S)*100,NODRAW;⼤单流⼊限制:=IF((超B+⼤B+超S+⼤S)=0,0,⼤单流⼊);⼤单流出⽐:=(超S+⼤S)/(超B+⼤B+超S+⼤S)*100,NODRAW;⼤单流出限制:=IF((超B+⼤B+超S+⼤S)=0,0,⼤单流出⽐);总流⼊⽐:=(超B+⼤B+中B+⼩B)/(超B+⼤B+中B+⼩B+超S+⼤S+中S+⼩S)*100,NODRAW;总流出⽐:=(超S+⼤S+中S+⼩S)/(超B+⼤B+中B+⼩B+超S+⼤S+中S+⼩S)*100,NODRAW;成交总量:=(超B+⼤B+中B+⼩B+超S+⼤S+中S+⼩S),NODRAW;机构参与度:=(超B+超S+⼤B+⼤S)/成交总量*100,COLORYELLOW,NODRAW;⼤单强度:=(超B+⼤B-超S-⼤S)/成交总量*100,COLORYELLOW,NODRAW;⼤单强度限制:=IF(⼤单强度=0,-100,⼤单强度);⼤单强度⽐:=IF(⼤单强度>=0,(⼤单强度限制+100)/2,100-ABS((⼤单强度限制-100)/2)),NODRAW;超单强度:=(超B-超S)/(超B+超S)*100,COLORYELLOW,NODRAW;超单强度限制:=IF(超单强度=0,-100,超单强度);超单强度⽐:=IF(超单强度>0,(超单强度限制+100)/2,IF(超单强度<0,100-ABS((超单强度限制-100)/2),0)),NODRAW;资⾦流向买:=⼤宗进限制+⾮⼤宗进限制;资⾦流向卖:=⼤宗出限制+⾮⼤宗出限制;流⼊⽐:=净流⼊*1000000/AMOUNT,NODRAW;⼤宗净流⼊:=(超B+⼤B)-(超S+⼤S),NODRAW;⼤宗流⼊⽐:=⼤宗净流⼊*1000000/AMOUNT,NODRAW;DRAWRECTREL(00,0,240,95,RGB(0,100,0));DRAWRECTREL(00,0,120,95,RGB(0,100,0));DRAWRECTREL(00,0,20+CONST(总流⼊⽐*160/100),95,RGB(100,0,0));DRAWTEXT_FIX(1,0.00,0.01,0,STRCAT(STRCAT('今⽇流向 ',CON2STR(资⾦流向买,0)),'')),COLORYELLOW;DRAWTEXT_FIX(1,0.17,0.01,0,STRCAT(STRCAT(' ',CON2STR(资⾦流向卖,0)),' ')),COLORYELLOW; DRAWRECTREL(00,570,285,661,RGB(0,100,0));DRAWRECTREL(00,570,285,661,RGB(0,100,0));DRAWRECTREL(00,570,150+CONST(⼤宗流⼊⽐*160/100),661,RGB(100,0,0));DRAWTEXT_FIX(1,0.1,0.58,1,STRCAT(STRCAT('机构介⼊度 ',CON2STR(⼤宗流⼊⽐,0)),' ')),COLORYELLOW;DRAWRECTREL(240,570,443,661,RGB(0,100,0));DRAWRECTREL(240,570,360,661,RGB(0,100,0));DRAWRECTREL(240,570,270+CONST(流⼊⽐*160/100),661,RGB(100,0,0));DRAWTEXT_FIX(1,0.35,0.58,1,STRCAT(STRCAT('资⾦介⼊度 ',CON2STR(流⼊⽐,0)),'')),COLORYELLOW;主买A:=ACTINVOL,COLORRED,NODRAW;主卖A:=ACTOUTVOL,COLORGREEN,NODRAW;主买:主买A*100/(主买A+主卖A),NODRAW,COLORRED;主卖:主卖A*100/(主买A+主卖A),NODRAW,COLORGREEN;DRAWRECTREL(240,0,443,95,RGB(0,100,0));DRAWRECTREL(240,0,443,95,RGB(0,100,0));DRAWRECTREL(240,0,280+CONST(主买*160/100),95,RGB(100,0,0));DRAWTEXT_FIX(1,0.25,0.01,0,STRCAT(STRCAT('主动买卖⽐ ',CON2STR(主买,2)),'%')),COLORYELLOW;。

【股票指标公式下载】-【通达信】黄金量(顶、底、成交量、换手)

【股票指标公式下载】-【通达信】黄金量(顶、底、成交量、换手)

【通达信】黄金量(顶、底、成交量、换手)-指标公式源码VOLUME:VOL,VOLSTICK;顶:=HHV(V,90);底:=LLV(V,90);地:=底+(顶-底)*0.06;下:=底+(顶-底)*0.28;中:=底+(顶-底)*0.50;上:=底+(顶-底)*0.75;【金】:REFDATE(地,DATE),COLOR00FFFF;【银】:REFDATE(下,DATE),COLORFFFFFF;【铜】:REFDATE(中,DATE),COLORLIRED;【铁】:REFDATE(上,DATE),COLORRED;【顶】:REFDATE(HHV(V,90),DATE),COLORCYAN;MA1:=MA(VOL,5),COLORYELLOW;MA2:=MA(VOL,10),COLORWHITE;MA3:=MA(VOL,20),COLORWHITE;MA4:=MA(VOL,40),COLORMAGENTA;换手:=V*100/CAPITAL;{---------------------------------------------------}新股成交量:IF(BARSCOUNT(CLOSE)<40,VOL,DRAWNULL),VOLSTICK;AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));成交量(手):VOL,COLORWHITE,LINETHICK0;调整周期:IF(MA1<MA4,BARSLAST(CROSS(MA4,MA1))+1,BARSLAST(CROSS(MA4,MA1))-BAR SLAST(CROSS(MA1,MA4))),NODRAW;调整总换手:IF(MA1<MA4,SUM(换手,BARSLAST(CROSS(MA4,MA1))+1),SUM(换手,BARSLAST(CROSS(MA4,MA1))+1)-SUM(换手,BARSLAST(CROSS(MA1,MA4))+1)),NODRAW;调整均换手:调整总换手/调整周期,NODRAW;虚拟成交量:IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;放量上涨:C/REF(C,1)>=1.01 AND V/REF(V,1)>=1.5 AND V>MA(V,5) ANDREF(V,1)/REF(MA(V,5),1)<=1.8,NODRAW;{-------------------------------------------------------------} STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚拟成交量,0,4,-1),COLOR00C0C0; 主动买盘:=IF(C>OPEN,AA*(HIGH-LOW),IF(C<OPEN,AA*((HIGH-OPEN)+(C-LOW)),VOL/2) );主动卖盘:=IF(C>OPEN,0-AA*((HIGH-C)+(OPEN-LOW)),IF(C<OPEN,0-AA*(HIGH-LOW),0-VOL/2));STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,VOL,0,3,0),COLOR0000AA; STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,主动买盘,0,2.5,0),COLOR0000BB ;STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,主动买盘,0,1.5,0),COLOR0000CC ;STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,主动买盘,0,1,0),COLOR0000EE; STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),3,0),COLOR7B7B00;STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),2.5,0),COLOR909000;STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),1.5,0),COLORA8A800;STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),1,0),COLORCECE00;STICKLINE(主动买盘>主动卖盘 AND MA1<MA4,0,主动买盘,3,0),COLORRED; STICKLINE(主动买盘>主动卖盘 AND MA1<MA4,0,主动买盘,2.5,0),COLOR0066FF;STICKLINE(主动买盘>主动卖盘 AND MA1<MA4,0,主动买盘,1.5,0),COLOR0099FF;STICKLINE(主动买盘>主动卖盘 AND MA1<MA4,0,主动买盘,1,0),COLORYELLOW; STICKLINE(主动卖盘<主动买盘 AND MA1<MA4,主动买盘,主动买盘+ABS(主动卖盘),3,0),COLOR007B00;STICKLINE(主动卖盘<主动买盘 AND MA1<MA4,主动买盘,主动买盘+ABS(主动卖盘),2.5,0),COLOR009000;STICKLINE(主动卖盘<主动买盘 AND MA1<MA4,主动买盘,主动买盘+ABS(主动卖盘),1.5,0),COLOR00A800;STICKLINE(主动卖盘<主动买盘 AND MA1<MA4,主动买盘,主动买盘+ABS(主动卖盘),1,0),COLOR00FF00;DRAWICON(放量上涨,0,23);【通达信】黄金量(顶、底、成交量、换手)-指标公式效果图(文档来源:若水财经社区)。

通达信个股成交量公式(源码)(附图)

通达信个股成交量公式(源码)(附图)
买盘:=(YE9+YE8);
卖盘:=(YE6+YE7)*(-1);
买卖差:=(YE9+YE8)-(YE6+YE7);
净入率:买卖差/CAPITAL*100,COLORRED,NODRAW;
成交量增减:(100*((VOL/REF(VOL,1))-1)),NODRAW;
STICKLINE(买卖差>0,0,买卖差,2.5,0),COLOR00AAAA;
YE6:=SUM((YE1*YE5),1);
YE7:=SUM((YE2*YE5),1);
YE8:=SUM((YE3*YE5),1);
YE9:=SUM((YE4*YE5),1);
STICKLINE((YE9+YE8)>0,(YE9+YE8),0,2.5,0),COLOR0000AA;
STICKLINE((YE9+YE8)>0,(YE9+YE8),0,1.7,0),COLOR0000CC;
STICKLINE(买卖差>0,0,买卖差,1.7,0),COLOR00CCCC;
STICKLINE(买卖差>0,0,买卖差,0.9,0),COLOR00EEEE;
STICKLINE(买卖差>0,0,买卖差,0.04,0),COLOR00FFFF;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
N:=5;
M:=13;
请注意甄别内容中的联系方式诱导购买等信息谨防诈骗
通达信个股成交量公式(源码)(附图)
通达信个股成交量公式源码如下:
量比:DYNAINFO(17),COLORYELLOW,NODRAW;
成交量:VOL,COLORRED,NODRAW;

【股票指标公式下载】-【通达信】合并K线(主图)

【股票指标公式下载】-【通达信】合并K线(主图)
STICKLINE(CA>OA,HA,LA,0.1,0),COLORFF00FF;
STICKLINE(CA=OA AND CA>REF(CA,1),HA ,LA ,0.1,1),COLOR0000FF;
STICKLINE(CA=OA,HA ,LA ,0.1,1),COLORFF00FF,LINETHICK1;
开1:OA,POINTDOT,COLOR000000;高1:HA ,POINTDOT,COLOR000000;低1:LA,POINTDOT,COLOR000000;收1:CA ,POINTDOT,COLOR000000;
【通达信】合并K线(主图)-指标公式效果图
下载次数: 0
2010-12-11 11:43
STICKLINE(CA>CH,CA,OA,3,0),COLOR0000FF;
STICKLINE(CA<OA,HA,LA,0.1,1),COLOR38FC3A,LINETHICK1;
STICKLINE(CA<OA,CA,OA,3,0),COLOR38FC3A,LINETHICK1;
EXP50:EMA(CA,40),COLOR00FFFF;
k线指标公式通达信大盘k线通达信k线颜色通达信指标公式源码通达信boll指标公式通达信指标公式通达信分时指标公式通达信指标公式编写通达信指标公式supv慧眼k线公式
【通达信】合并K线(主图)-指标公式源码
{合并K线2日-标注形态}
CA:=C;OA:=REF(MIN(C,O),1);HA:=H;LA:=REF(L,1);CH:=REF(MAX(C,O),1);
STICKLINE(CA>CH,HA,LA,0.1,1),COLOR0000FF;
STICKLINE(CA>OA,CA,OA,3,0),COLORFF00FF;

【股票指标公式下载】-【通达信】成交量CT扫描(多头、空头、成交总量、买盘)

【股票指标公式下载】-【通达信】成交量CT扫描(多头、空头、成交总量、买盘)

【通达信】成交量CT扫描(多头、空头、成交总量、买盘)-指标公式源码■多头:0,COLOR0000FF;STICKLINE((CLOSE >MA(CLOSE,30)),0,VOL,3,1),COLOR0000FF;□空头:0,COLORFF937F;STICKLINE((CLOSE <MA(CLOSE,30)),0,VOL,3,1),COLORFF937F;VAR0:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));成交总量:VOL,POINTDOT;主买:IF(CLOSE>OPEN,VAR0*(HIGH-LOW),IF(CLOSE<OPEN,VAR0*((HIGH-OPEN)+(CLO SE-LOW)),VOL/2)),COLORRED,POINTDOT;VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));主买占%:买盘/100000,COLORRED,NODRAW;主卖:IF(CLOSE>OPEN,0-VAR0*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR0*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));主卖占%:-卖盘/100000,COLOR00FF00,POINTDOT,NODRAW;震动调整:=(买盘 + 卖盘);STICKLINE((震动调整 < 1),1,震动调整,3,0),COLOR70DB93;买卖量差%:(买盘+卖盘)/100000,COLORFF00FF;STICKLINE((买卖量差% < 0),0,买卖量差%,3,0),COLORWHITE,LINETHICK0;VAR2:=(HIGH - LOW);VAR3:=ABS((OPEN - CLOSE));VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);VAR6:=((VAR3 / VAR2) * VOL);VAR7:=((VAR4 / VAR2) * VOL);VAR8:=((VAR5 / VAR2) * VOL);STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,2,0),COLORFF0000;STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,2,0),COLORFFFFFF;STICKLINE((买盘 > 0),买盘,0,2,0),COLOR0000FF;成交量大于3日:BETWEEN(V,MA(V,3)*1.1,MA(V,3)*3),POINTDOT,COLOR6699FF;【通达信】成交量CT扫描(多头、空头、成交总量、买盘)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】主力买卖(买量、卖量)

【股票指标公式下载】-【通达信】主力买卖(买量、卖量)

【通达信】主力买卖(买量、卖量)-指标公式源码N:=5;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,COLORRED;卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*( HIGH-LOW),0-VOL/2)),LINETHICK0,COLORCYAN;WJ:=(H+L+C)/3;V1:=IF(H=L,1,H-MAX(O,C));V2:=IF(H=L,1,MAX(C,O)-WJ);V3:=IF(H=L,1,MIN(O,C)-L);V4:=IF(H=L,1,WJ-MIN(C,O));V5:=AMOUNT/IF(H=L,4,H-L)/10000;市值:=FINANCE(40)/10000,NODRAW;V6:=(V1*V5);V7:=(V2*V5);V8:=(V3*V5);V9:=(V4*V5);总万:=V9+V8+V6+V7,NODRAW;流入:=(V9+V8),NODRAW;流出:=-(V6+V7),NODRAW;净流:流入+流出,NODRAW;主力大单金额:IF(C=O,净流*0.6,(买量+卖量)/400*DYNAINFO(7)),NODRAW;主力流入率:主力大单金额/流入,NODRAW;率5:SUM(主力流入率,5),NODRAW;率10:SUM(主力流入率,10),NODRAW;散户:(净流-主力大单金额),NODRAW;主力3日:SUM(主力大单金额,3),NODRAW;主力5日:SUM(主力大单金额,N),NODRAW;主力10日:SUM(主力大单金额,10),NODRAW;主力20日:SUM(主力大单金额,20),NODRAW;总比:主力大单金额/FINANCE(40)*100000,NODRAW;总比3日:主力3日/FINANCE(40)*100000,NODRAW;总比5日:主力5日/FINANCE(40)*100000,NODRAW;STICKLINE(主力大单金额<0,0,主力大单金额,3,0),COLORFF6600; STICKLINE(主力大单金额<0,0,主力大单金额,2,0),COLORFF9900; STICKLINE(主力大单金额<0,0,主力大单金额,1.5,0),COLORFFCC00; STICKLINE(主力大单金额<0,0,主力大单金额,0.5,0),COLORCYAN; STICKLINE(主力大单金额>0,0,主力大单金额,3,0),COLOR000099; STICKLINE(主力大单金额>0,0,主力大单金额,2,0),COLOR0000CC; STICKLINE(主力大单金额>0,0,主力大单金额,1.5,0),COLOR0000FF; STICKLINE(主力大单金额>0,0,主力大单金额,0.5,0),COLORCC66FF;【通达信】主力买卖(买量、卖量)-指标公式效果图(文档来源:若水财经社区)。

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

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

【通达信】成交量(持币、持股、主力净流入、振幅)-指标公式源码周换: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,'☆地');【通达信】成交量(持币、持股、主力净流入、振幅)-指标公式效果图(文档来源:若水财经社区)。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
HH1:=IF(CONST(C)<0,HH0,HL0);{再次设定叠加副图的最高值,根据现价与中间值的关系可上可下}
LL1:=IF(CONST(C)>=0,LL0,HL0);{再次设定叠加副图的最低值}
HL1:=(HH1+LL1)/2;{最后确定副图的中间值位置}
STICKLINE(量Z>0,量Z,0,0,0);
【通达信】主图加成交量(量)-指标公式源码
量Z:V/200000,DRAW;
HH0:=CONST(LLV(L,60))*1;{以现价的N日最高值为高点,我取120日,这个取值可以根据
自己电脑的版面而定}
LL0:=CONST(LLV(L,0))*1;{以现价的N日最低值为高点}
HL0:=CONST(IF(CONST(C)>=0,(LL0-LL0)*0.2,(HH0+LL0)*0.2));
{STICKLINE(量Z>0 AND量Z>REF(MACDZ,1),MACDZ*2+HL1,HL1,1,0),COLOR00FFFF;};
STICKLINE(C>O,量Z,0,0,0),COLORRED;
STICKLINE(C<=O,量Z,0,0,0),COLORCYAN;
-指标公式源码
【通达信】主图加成交量(量)-指标公式效果图
下载次数: 0
2010-12-11 11:43
下载(65.59 KB)
2010-12-11 11:41
(文档来源:若水财经社区)
相关文档
最新文档