[通达信] 资金流入 资金流向 主力资金线 -- 三个资金指标
通达信公式主力资金进出指标
通达信公式主力资金进出指标通达信公式主力资金进出指标DRAWRECTREL(0,0,400,988,IF(120,RGB(10,0,0),0)); 超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; 主买A:=ACTINVOL,COLORRED,NODR主卖A:=ACTOUTVOL,COLORGREEN,NODRAW;主买:=主买A*100/(主买A+主卖A),NODRAW,COLORRED卖:二主卖A*100/(主买A+主卖"厂I 丿"7* _A),NODRAW,COLORGREEN;SAT:=(AMOUNT/C)/(HHV(AMO UNT,20)/HHV(C,20));■1 1 I X I#.:" \ t '【量能饱和】:IF(SAT>1,1,SAT)TOO,COLORYELLOW,NODRAW^ 力净买j- ————量:=(LARGEINTRDVOL-LARGEOUTTRDVOL),COLORYELLOW,NO大宗净流入:=(超B+大B)-(超S+大S),COLORRED,NODRAW动买卖差:=(ACTINVOL-ACTOUTVOL),COLORMAGENTA,NOD主力资金,--j I " f'差:=((L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1)))/10000,COLORCYAN,NODRAW;DRAWRECTREL(100,0,90+C主!?T( *300/100),40,RGB(230,65,0));DRAWRECTREL(100,60,90+CONST( 主卖*300/100),100,RGB(0,104,0));DRAWRECTREL(100,120,390,16 0,RGB(0,0,100));DRAWRECTREL(100,120,90+CONST(【量能饱和】*300/100),160,RGB(250,104,0)); 大单动向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW;T1:= 通达信公式主力资金进出指标IF(大单动向>OANDREF大单动向,1)T2:=IF( 大单动向>OANDREF大单动精心整理精心整理向,1)>0ANDREF(大单动向,2)T3:=IF(大单动向>OANDREF大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)T4:=IF(大单动向>0ANDREF大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)T5:=IF(大单动向>OANDREF大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)T6:=IF(大单动向>OANDREF大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)>0ANDREF (大单动向,6)T7:=IF(大单动向>0ANDREF大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF (大单动向,5)>0ANDREF(大单动向,6)>0ANDREF(大单动向,7)T8:=IF(大单动向>OANDREF大单动■i ' I X 1 ..:51111\ I Xj/'I ,- — f /向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)>0ANDREF (大单动向,6)>0ANDREF(大单动向,7)>0ANDREF(大单动向,8)T9:=IF(大单动向>OANDREF大单动* c \ \向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动,--j I '向,4)>0ANDREF(大单动向,5)>0ANDREF(大单动向,6)>0ANDREF(大单动向,7)>0ANDREF(大单动向,8)>0ANDREF (大单动向,9)T:=IF(大单动向>0ANDREF大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF (大单动向,5)>0ANDREF(大单动向,6)>0ANDREF(大单动向,7)>0ANDREF(大单动向,8)>0ANDREF(大单动向,9)>0,10,T9);D:=COUNT(大单动向>0,10),NODRAW;DRAWTEXT_FIX (1,0.005,0.01,0,STRCAT(STRCAT('【主买比】:',CON2STR(主买,1)),' %精心整理精心整理')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.07,0,STRCAT(ST RCAT('【主卖比】:',C0N2STR(主卖,1)),' %')),COLORGREEN;DRAWTEXT_FIX(1,0.005,0.13,0,STRCAT(STR CAT('【量能饱和】:',CON2STR(【量能饱和】,1)),' %')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.19,0,STRCAT(ST RCAT('【主力资金差】:',CON2STR(主力资金差,1)),'万元')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.19,0,STRCAT(STRC AT('【大宗净流入】:',C0N2STR(大宗净流入,1)),' 万元')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.25,0,STRCAT(ST RCAT('【主力净买量】:',C0N2STR(主力净买量,1)),'手')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.25,0,STRCAT(STRC AT('【主动■(1 r \ 1 \ i买卖差】:',CON2STR(主动买卖差,1)),'手j- ——一一')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.31,0,STRCAT(ST RCAT('【DDX 连红天数】:',CON2STR(T,0)),' 天')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.31,0,STRCAT(STRC AT('【DDX两,--j I '周红天数】:',CON2STR(D,0)),' 天')),COLORYELLOW;PJJ:=DMA((((HIGH+LOW)+(CLOSE*2))/4), 0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=(V0L/(((HIGH-L0W)*2)-ABS((CLOSE-OPEN))));XVL:=(IF((CLOSE>OPEN),(QJJ*(HIGH-LOW)),IF((CLOSEOPEN),(0-(QJJ*((HIGH-CLOSE)+(OPEN-L0W)))),IF((CL0SEZLL:=(V0L/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);STICKLINE(((HSL*0.4)>=0),((HSL*0.4)+LLJX),0,3,0),COLO R00FFFF;STICKLINE(((HSL*0.4)资金流入:=IF((HSL*0.4+LLJX)>0,(HSL*0.4+LLJX),DRAWNULL),COLO RRED;资金流出:=IF((HSL*0.4+LLJX)资金进出:=(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:=BARSLASTC0UN 资金净进出>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(连I x 1 产 \ % 'j ,-红天1,3),连红天3),,COLORA20FFD,NODRAW近期连红天:IF(连红天j- ——.丿丿4=0,REF(连红天1,4),连红天4),,COLORYELLOW,NODRAW多连红天1:=MAX(REF(近期连红天,1),近期连红天),COLORYELLOW,NODRAW多连红天2:=MAX(最多连红天1,REF(近期连红天,2)),C0L0RYELL0W,N0DRA最;,--j I '多连红天3:=MAX(最多连红天2,REF(近期连红天,3)),C0L0RYELL0W,N0DRA最多连红天4:=MAX(最多连红天3,REF(近期连红天,4)),C0L0RYELL0W,N0DRA最多连红天5:=MAX(最多连红天4,REF(近期连红天,5)),C0L0RYELL0W,N0DRA最多连红天:MAX(最多连红天5,REF(近期连红天,6)),C0L0RYELL0W,N0DRA三;日资金:SUM(资金进出,3),C0L0RWHITE,N0DRAW;日资金:SUM(资金进出,5),COLORFF00FF,NODRAW十日资金:SUM(资金进出,10),COLOR0000FF,NODRAV W金流精心整理精心整理量:=LLJX丄INETHICKO,COLOROOOOFF;STICKLINE((资金流量>0),资金流量,0,3,0),COLOR0000FF;STICKLINE(( 资金流量黄柱初出蓝:=REF(资金流出,1)30ANDC>OANDC>REF(C,1)ANDC>MA(C,3);X:=(3*C+2* L+O+H)/7;多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X ,4)+15*REF(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+ 10*REF(X ,10)+9*REF (X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15 )+4*R EF(X,16)+3*REF( X,17)+2*REF(X,18)+REF(X,20))/210; 长黄柱:=资金流入>300ANDCR0SS(多空线);DRAWTEXT黄柱初出蓝,-30,' ★ '),C0L0RFF00FF;DRAWTE X长黄柱,((HSL*0.4)*1.5)*1.4,' ★ '),COLORRED;精心整理。
通达信公式主力资金进出指标
通达信公式主力资金进出指标DRAWRECTREL(0,0,400,988,IF(120,RGB(10,0,0),0));超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;主买A:=ACTINVOL,COLORRED,NODRAW;主卖A:=ACTOUTVOL,COLORGREEN,NODRAW;主买:=主买A*100/(主买A+主卖A),NODRAW,COLORRED;主卖:=主卖A*100/(主买A+主卖A),NODRAW,COLORGREEN;SAT:=(AMOUNT/C)/(HHV(AMO UNT,20)/HHV(C,20));【量能饱和】:IF(SAT>1,1,SAT)*100,COLORYELLOW,NODRAW;主力净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL),COLORYELLOW ,NODRAW;大宗净流入:=(超B+大B)-(超S+大S),COLORRED,NODRAW;主动买卖差:=(ACTINVOL-ACTOUTVOL),COLORMAGENTA,NODRAW;主力资金差:=((L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1 )))/10000,COLORCYAN,NODRAW;DRAWRECTREL(100,0,90+CONST(主买*300/100),40,RGB(230,65,0));DRAWRECTREL(100,60,90+CO NST(主卖*300/100),100,RGB(0,104,0));DRAWRECTREL(100,120,390,16 0,RGB(0,0,100));DRAWRECTREL(100,120,90+CONST(【量能饱和】*300/100),160,RGB(250,104,0));大单动向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANC E(7),NODRAW;T1:=IF (大单动向>0 AND REF(大单动向,1)T2:=IF (大单动向>0 AND REF(大单动向,1)>0 ANDREF(大单动向,2)T3:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)T4:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)T5:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 ANDREF(大单动向,5)T6:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 ANDREF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)T7:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)T8:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)T9:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)>0 AND REF(大单动向,9)T:=IF (大单动向>0 AND REF(大单动向,1)>0 AND REF(大单动向,2)>0 AND REF(大单动向,3)>0 AND REF(大单动向,4)>0 AND REF(大单动向,5)>0 AND REF(大单动向,6)>0 AND REF(大单动向,7)>0 AND REF(大单动向,8)>0 AND REF(大单动向,9)>0,10,T9);D:=COUNT(大单动向>0,10),NODRAW;DRAWTEXT_FIX(1,0.005,0.01,0,STRCAT(S TRCAT('【主买比】:',CON2STR(主买,1)),' %')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.07,0,STRCAT(ST RCAT('【主卖比】:',CON2STR(主卖,1)),' %')),COLORGREEN;DRAWTEXT_FIX(1,0.005,0.13,0,STRCAT(STR CAT('【量能饱和】:',CON2STR(【量能饱和】,1)),' %')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.19,0,STRCAT(ST RCAT('【主力资金差】: ',CON2STR(主力资金差,1)),' 万元')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.19,0,STRCAT(STRC AT('【大宗净流入】: ',CON2STR(大宗净流入,1)),' 万元')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.25,0,STRCAT(ST RCAT('【主力净买量】: ',CON2STR(主力净买量,1)),' 手')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.25,0,STRCAT(STRC AT('【主动买卖差】: ',CON2STR(主动买卖差,1)),' 手')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.31,0,STRCAT(ST RCAT('【DDX连红天数】: ',CON2STR(T,0)),' 天')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.31,0,STRCAT(STRC AT('【DDX两周红天数】: ',CON2STR(D,0)),' 天')),COLORYELLOW;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),(0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE 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);STICKLINE(((HSL * 0.4) >= 0),((HSL * 0.4)+LLJX),0,3,0),COLOR00FFFF;STICKLINE(((HSL * 0.4) 资金流入:=IF((HSL*0.4+LLJX)>0,(HSL*0.4+LLJX),DRAWNULL),COLO RRED;资金流出:=IF((HSL*0.4+LLJX)资金进出:=(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;最多连红天1:=MAX(REF(近期连红天,1),近期连红天),COLORYELLOW,NODRAW;最多连红天2:=MAX(最多连红天1,REF(近期连红天,2)),COLORYELLOW,NODRAW;最多连红天3:=MAX(最多连红天2,REF(近期连红天,3)),COLORYELLOW,NODRAW;最多连红天4:=MAX(最多连红天3,REF(近期连红天,4)),COLORYELLOW,NODRAW;最多连红天5:=MAX(最多连红天4,REF(近期连红天,5)),COLORYELLOW,NODRAW;最多连红天:MAX(最多连红天5,REF(近期连红天,6)),COLORYELLOW,NODRAW;三日资金:SUM(资金进出,3),COLORWHITE,NODRAW;五日资金:SUM(资金进出,5),COLORFF00FF,NODRAW;十日资金:SUM(资金进出,10),COLOR0000FF,NODRAW;资金流量:=LLJX,LINETHICK0,COLOR0000FF;STICKLINE((资金流量> 0),资金流量,0,3,0),COLOR0000FF;STICKLINE((资金流量黄柱初出蓝:=REF(资金流出,1)30 AND C>O AND C>REF(C,1) AND C>MA(C,3);X:=(3*C+2*L+O+H)/7;多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X, 4)+15*REF(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*R EF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)+7*REF(X,13) +6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF( X,18)+REF(X,20))/210;长黄柱:= 资金流入>300 AND CROSS(C,多空线);DRAWTEXT(黄柱初出蓝,-30,'★'),COLORFF00FF;DRAWTEXT(长黄柱,((HSL * 0.4) * 1.5)*1.4 ,'★'),COLORRED;。
通达信公式主力资金指标
通达信公式主力资金指标文稿归稿存档编号:[KKUY-KKIO69-OTM243-OLUI129-G00I-FDQS58-通达信公式-主力资金指标主力资金指标/操盘线/筹码指标极品中的极品通达信公式-主力资金指标这个是我自己在用的通达信指标。
----------------------------------说明:1.这个指标是给通达信软件用的。
2.这个指标包含3部分,主图,副图趋势,选股系统。
3.公式新建办法:功能,专家系统,公式管理器,用户,其他,新建。
----------------------------------主图部分:复制到公式区,名称随意(比如主图),主图叠加主图说明:1、当天进出价位均用白色线显示,(只显示当天和变盘的那一天),其余时间表示趋势未变。
向上突破白色线进入,向下破位白色线必出,必须严格执行;2、当天发生变盘分别用黄色K线和绿色K线提示;3、进出价位分别用红线和绿线表示,第二天显示,未显示之前请参考短白色线,与红线和绿线价位一样;4、本指标请配合成交量使用,在向上与向下趋势中使用有较好的效果,能有效抓住主升段;5、本指标适于中小波段,不适用于上市不到20天的次新股和猴市(震荡市);6、本指标源码简单,与个人理念相符,实际上就是以均线斜率反映趋势;7、本指标与1-3号主图不同的特质就是标明了进出价位线,趋势也很明显,绿线下是空仓区,红线上是持股区。
工作线在生命线之上才适合操作(红色“工作区”);线上阴线买入,买错了也要买;线下阳线卖出,卖错了也要卖——指工作线(回抽买入,越接近均线越好);连续两日跌破止赢线短线卖出(绿箭头,中短线以上不管);跌破工作线止损,跌破生命线逃命。
使用:在主图区右键,主图指标,选择主图指标,选你的那个比如主图-----------主图代码----------A1:=EMA(C,14)COLORWHITE,LINETHICK1;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)C OLORRED,LINETHICK1;休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)CO LORGREEN,LINETHICK1;STICKLINE(CROSS(A1X,0),C,O,2,0)COLORYELLOW;STICKLINE(CROSS(0,A1X),C,O,2,0)COLORGREEN;STICKLINE(CROSS(A1X,0)ORCROSS(0,A1X),REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,2,0)COLORW HITE;STICKLINE(ISLASTBAR,REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,5,0 )COLORWHITE;工作线:=EMA(C,14);止盈线:EMA(C,7),LINETHICK1,COLORGRAY;工作区:IF(C>=工作线 AND EMA(C,14)>=EMA(C,25),工作线,DRAWNULL), COLORRED,LINETHICK2;{准备区:IF(C>=工作线 AND EMA(C,14)}准备区:IF(C>=工作线 AND EMA(C,14)休息区:IF(CEMA(C,14),L*0.99,1);{DRAWICON(COUNT(CEMA(C,14) AND COUNT(C>止盈线,6)>=3,H*1.03,2); } DRAWICON(COUNT(CEMA(C,14) AND COUNT(C>止盈线,6)>=3,H*1.03,2); DRAWICON(CROSS(工作线,C) AND EMA(C,14)>EMA(C,25),H*1.01,8);{止损位}IF(CROSS(生命线,工作线),HIGH*1.04,DRAWNULL),CIRCLEDOT,COLORGREEN;--------------------------副图部分,复制到公式区,名称随意(比如副图),副图使用:在副图区右键,指标,选择指标,选你的那个比如副图注意主力持仓线,和散筹。
通达信主力大户资金进出指标指标公式源码
通达信主力大户资金进出指标指标公式源码1.主力动向指标(DMI)的计算公式如下:DMI=((H-L)/(H+L))*100其中,H表示当日最高价,L表示当日最低价。
主力动向指标表达的是主力动能的强弱程度,当主力动向指标较大时,主力资金进出的力度较强,市场上涨的概率较大。
2.主力资金净流入指标(MF)的计算公式如下:MF=主力买入资金-主力卖出资金主力买入资金表示当日主力买入的成交额,主力卖出资金表示当日主力卖出的成交额。
主力资金净流入指标表达的是主力资金的净流入情况,当主力资金净流入较大时,意味着主力资金在市场中较为活跃,市场上涨的概率较大。
通过计算主力动向指标和主力资金净流入指标,可以综合判断主力资金的进出方向,以及主力资金净流入的大小。
当主力动向指标和主力资金净流入指标同时为正时,意味着主力资金正在大量流入市场,通常预示着市场的上涨趋势;当主力动向指标为负,主力资金净流入指标为负时,意味着主力资金正在大规模流出市场,通常预示着市场的下跌趋势。
在通达信软件中,可以通过编写相应的公式源码来计算主力大户资金进出指标。
以下是一个示例的源码:```cpp//定义主力动向指标(DMI)计算公式float DMI(float high, float low)return ((high - low) / (high + low)) * 100;//定义主力资金净流入指标(MF)计算公式float MF(float buy, float sell)return buy - sell;//主函数int maifloat high, low, buy, sell;//输入当日最高价、最低价、主力买入资金、主力卖出资金cout << "请输入当日最高价:";cin >> high;cout << "请输入当日最低价:";cin >> low;cout << "请输入主力买入资金:";cin >> buy;cout << "请输入主力卖出资金:";cin >> sell;//计算主力动向指标和主力资金净流入指标float dmi = DMI(high, low);float mf = MF(buy, sell);//输出结果cout << "主力动向指标(DMI)为:" << dmi << endl;cout << "主力资金净流入指标(MF)为:" << mf << endl;return 0;```以上是简单示例源码,可以根据具体需求进行修改和优化。
[通达信] 资金流入 资金流向 主力资金线 -- 三个资金指标
[通达信] 资金流入资金流向主力资金线--三个资金指标资金流入买:=IF(O=C AND(C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L) *2-ABS(O-C))*(C-L));买%:买/AMOUNT*100,COLORRED,NODRAW;流入亿元:AMOUNT*买%/10000000000,COLORMAGENTA,NODRAW;流出亿元:AMOUNT/100000000-流入亿元,COLORGREEN,NODRAW;净流亿元:流入亿元-流出亿元,COLORCYAN,NODRAW;净流亿元5:SUM(流入亿元-流出亿元,5),COLORCYAN,NODRAW;STICKLINE(AMOUNT,0,AMOUNT,2,1),COLORGREEN; STICKLINE(买,0,买,2,0),COLORRED;A:MA(买,3)COLORYELLOW;B:MA(买,5)COLORMAGENTA;资金流向AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSEOPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL 2)),LINETHICK0,COLORGREEN; 进出量:=买量+卖量,COLOR00FFFF;STICKLINE(进出量0,0,进出量,3,0),COLOR000099;STICKLINE(进出量>0,0,进出量,3,0),COLOR0000CC; STICKLINE(进出量>0,0,进出量,1.0,0),COLOR0000FF; STICKLINE(进出量>0,0,进出量,0.5,0),COLORCC66FF;N:=1;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""KDJ.D" AND "KDJ.D"小单;量振2:=特大0,A,0);B0:=IF(A<0,A,0);STICKLINE(A0,0,A0,1,0),COLOR000044;主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV( LOW,34)),3),COLORFF00FF;主力筹码集中度:WINNER(C)*100,COLORRED;主力资金线{N 2.00 500.00 3.00}A:=VOL*CLOSE;B:=SUM(A,2)/SUM(VOL,2);B1:=EMA(B,10);主力资金线:(B-B1)*100/B,COLORWHITE,LINETHICK2; MA1:MA(主力资金线,N),COLORBROWN;。
通达信指标:主散ABCD
通达信指标:主散ABCD指标简介:集五个重要指标为一体:1。
顶底雷达,由红白两线组合,红线代表主力,白线代表散户,红线上穿白线可看出主力进入,可考虑买入,反之考虑卖出。
底部用淡蓝色标出,提示“底”,股价上升提示“升”,股价到顶提示“见顶”;2.主力资金:由一条绿线组成,可看出整体资金在流入还是流出,作为买卖的参考;3.买卖指标之一:由↑和↓组成,提示股价的升降;4.买卖指标之二:由▲买和▼卖组成,提示股票的买卖;5.买卖指标之三:由黄竖线和白竖线组成,白线区域为买入,黄线区域为卖出;集以上五个指标为一体,很容易看出股票处于什么阶段,是考虑股票买卖参考的绝佳指标。
源码:N1:=7;LC:=REF(CLOSE,1);X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORYELLOW,LIN ETHICK1;魔鬼:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),X,1),COLOR00FF00;魔王:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),1,X),COLOR00FF00;TJ0:=X=魔王;TJ1:=X=魔鬼;TJ2:=X<REF(X,1);TJ3:=X>REF(1,X);JRS1:=DRAWICON(TJ1AND TJ2,X,1);JRS2:=DRAWICON(TJ0 ANDTJ3,X,2);DRAWICON(FILTER(JRS1>0,1),L*0.97,1);DRAWICON(FILTER(JRS2>0,1),H*1.02,2);LC1:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;顶部雷达:CROSS(80,RSI)*30,LINETHICK2 ,COLORGREEN;DRAWTEXT(CROSS(80,RSI),30,'见顶'),COLORGREEN;V ARB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;V ARC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;V ARD:=BARSCOUNT(CLOSE);底部雷达:(VARB< 20 AND V ARC< 25 AND V ARD> 50)*30,LINETHICK2, COLORFF9933; DRAWTEXT(CROSS(100,底部雷达) ,20,'底'),LINETHICK1,COLORF00FF0;主力:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2),LINETHICK2 ,COLORRED;散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7),LINETHICK2 ,COLORWHITE; DRAWTEXT(CROSS(主力,散户) AND 主力<-10,-20,'升'),COLOR00CCFF;DRAWICON(CROSS(主力,散户) AND 主力<-10 AND 散户>REF(散户,1)OR CROSS(主力,散户) AND 散户<-35 ,-15,1);DRAWTEXT(CROSS(18,RSI)AND 散户<-20 AND 底部雷达,25,'底'),LINETHICK1, COLORF00FF0;N:=10;TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,N))/(0.015*A VEDEV(TYP,N));CCI修正1:=EMA(CCI,3);CCI修正2:=EMA(CCI,6);(CROSS(CCI修正1,CCI修正2) OR (CCI修正1 >=CCI修正2)) AND CCI修正1>=-101 AND CCI修正1>=REF(CCI修正1,1) AND REF(CCI修正1,1)<-101 ;B:=ZIG(3,50/5)*1;G:=MA(B,2);D:=CROSS(B,G)*10;W:=CROSS(G,B)*10;DRAWTEXT(W=10,50,'▼卖' ),COLOR00FF00;DRAWTEXT(D=10,50,'▲买'),COLORRED;主力资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORGREEN,LINETHICK2;V AR1:=IF(DATE>=1990601,0,1);V AR2:=TROUGHBARS(3,15,1)<10;V AR3:=PEAKBARS(3,15,1)<10;V AR4:=IF(VAR2=1,50,0);V AR5:=IF(VAR3=1,50,0);底: IF(V AR4=50,60,0),STICK,LINETHICK1;顶: IF(V AR5=50,100,0),STICK,LINETHICK1;。
真实资金流通达信指标公式源码
真实资金流通达信指标公式源码【引言】【资金流指标介绍】资金流量指标(Money Flow Index,简称MFI)是一种衡量市场买卖力量和资金流动性的指标。
它与市场成交量和价格相关联,通过计算一段时间内的资金流入和流出量,来判断市场上的买卖趋势和是否出现超买或超卖的情况。
通达信中的资金流指标主要包括以下几个指标:主力资金流、超大单资金流、大单资金流、中单资金流、小单资金流等。
下面我们将逐一介绍这些指标的计算公式源码。
【主力资金流】主力资金流是指成交量与股价的乘积,用于衡量主力资金对市场的影响。
在通达信中,主力资金流的计算公式源码如下:REF(CLOSE,1)*VOL*0.01其中,REF(CLOSE,1)表示昨日收盘价,VOL表示成交量。
【超大单资金流】超大单资金流是指单笔交易金额大于当日平均交易金额的主力资金流,用于衡量超大单资金对市场的影响。
通达信中,超大单资金流的计算公式源码如下:C>REF(C,1)?VOL:0其中,C表示收盘价,REF(C,1)表示昨日收盘价,VOL表示成交量。
【大单资金流】大单资金流是指单笔交易金额大于当日平均交易金额的主力资金流,用于衡量大单资金对市场的影响。
通达信中,大单资金流的计算公式源码如下:C>REF(C,1)?VOL:0其中,C表示收盘价,REF(C,1)表示昨日收盘价,VOL表示成交量。
【中单资金流】中单资金流是指单笔交易金额大于当日平均交易金额的主力资金流,用于衡量中单资金对市场的影响。
C>REF(C,1)?VOL:0其中,C表示收盘价,REF(C,1)表示昨日收盘价,VOL表示成交量。
【小单资金流】小单资金流是指单笔交易金额小于当日平均交易金额的主力资金流,用于衡量小单资金对市场的影响。
通达信中,小单资金流的计算公式源码如下:C>REF(C,1)?VOL:0其中,C表示收盘价,REF(C,1)表示昨日收盘价,VOL表示成交量。
自己用的资金流向指标通达信
自己用的资金流向指标日线锁定:=IFF(PERIOD==4,1,DRAWNULL);日期锁定:=CURRENTDATE>=1100104;资金锁定:=(SYS_SUPERIN==0 AND SYS_SUPEROUT==0 AND SYS_BIGIN==0 AND SYS_BIGOUT==0 AND SYS_MIDIN==0 AND SYS_MIDOUT==0 AND SYS_SMALLIN==0 AND SYS_SMALLOUT==0)==0;主力流入:=SYS_SUPERIN+SYS_BIGIN;主力流出:=SYS_SUPEROUT+SYS_BIGOUT;主力净买:IFF(资金锁定AND 日期锁定AND 日线锁定,(主力流入-主力流出)/10000,DRAWNULL),NODRAW,funit万元,COLORMagenta;STICKLINE(主力净买>=0 AND 日期锁定AND 日线锁定,0,主力净买,8,0),COLOR0000FF; STICKLINE(主力净买<0 AND 日期锁定AND 日线锁定,0,主力净买,8,0),COLORFFFF00; ▲3日主力净买:IFF(资金锁定AND 日期锁定AND 日线锁定,SUM(主力净买,3),DRAWNULL),NODRAW,funit万元,COLORFFFFFF;▲5日主力净买:IFF(资金锁定AND 日期锁定AND 日线锁定,SUM(主力净买,5),DRAWNULL),NODRAW,funit万元,COLOR00FFFF;▲10日主力净买:IFF(资金锁定AND 日期锁定AND 日线锁定,SUM(主力净买,10),DRAWNULL),NODRAW,funit万元,COLORGRAY;连续流入天数:IFF(资金锁定AND 日期锁定AND 日线锁定,BARSLAST(主力净买<0),DRAWNULL),NODRAW,COLORGRAY;。
通达信公式主力资金进出指标
精心整理通达信公式主力资金进出指标DRAWRECTREL(0,0,400,988,IF(120,RGB(10,0,0),0));超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;中主买量入:=(差差*300/100),100,RGB(0,104,0));DRAWRECTREL(100,120,390,160,RGB(0,0 ,100));DRAWRECTREL(100,120,90+CONST(【量能饱和】*300/100),160,RGB(250,104,0));大单动向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW;T1:= IF(大单动向>0ANDREF(大单动向,1)T2:=IF(大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)T3:=IF(大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)T4:=IF(大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)T5:=IF(大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向向向向向向向向向向向向向向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)>0ANDREF(大单动向,6)>0ANDREF(大单动向,7)>0ANDREF(大单动向,8)>0ANDREF(大单动向,9)>0,10,T9);D:=COUNT(大单动向>0,10),NODRAW;DRAWTEXT_FIX(1,0.005,0.01,0,STRCAT(STRCAT('【主买比】:',CON2STR(主买,1)),'%')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.07,0,STRCAT(STRCAT('【主卖比】:',CON2STR(主卖,1)),'%')),COLORGREEN;DRAWTEXT_FIX(1,0.005,0.13,0,STRCAT(STRCAT('【量能饱和】:',CON2STR(【量能饱和】,1)),'%')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.19,0,STRCAT(STRCAT('【主【主【DDX两VL:=(IF((CLOSE>OPEN),(QJJ*(HIGH-LOW)),IF((CLOSEOPEN),(0-(QJJ*(( HIGH-CLOSE)+(OPEN-LOW)))),IF((CLOSEZLL:=(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);STICKLINE(((HSL*0.4)>=0),((HSL*0.4)+LLJX),0,3,0),COLOR00F FFF;STICKLINE(((HSL*0.4)资金流入:=IF((HSL*0.4+LLJX)>0,(HSL*0.4+LLJX),DRAWNULL),COLORRED;资金流出:=IF((HSL*0.4+LLJX)资金进出:=(HSL*0.4+LLJX),LINETHICK0;万元:=AMOUNT/10000{0000},VOLSTICK,COLORFF00FF;资金净进出出1,1),1,2),连红天红天最天近期4,REF(近期连红天,5)),COLORYELLOW,NODRAW;最多连红天:MAX(最多连红天5,REF(近期连红天,6)),COLORYELLOW,NODRAW;三日资金:SUM(资金进出,3),COLORWHITE,NODRAW;五日资金:SUM(资金进出,5),COLORFF00FF,NODRAW;十日资金:SUM(资金进出,10),COLOR0000FF,NODRAW;资金流量:=LLJX,LINETHICK0,COLOR0000FF;STICKLINE((资金流量>0),资金流量,0,3,0),COLOR0000FF;STICKLINE((资金流量黄柱初出蓝:=REF(资金流出,1)30ANDC>OANDC>REF(C,1)ANDC>MA(C,3);X:=(3*C+2*L+O+H)/7;多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*RE F(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X:=资蓝,-。
资金趋势指标(通达信)
资金趋势指标(通达信)资金趋势指标(通达信)股票软件源码如下:A:=VOL*CLOSE;B:=SUM(A,1)/SUM(VOL,1);B1:=EMA(B,17);资金:=(B-B1)*100/B;DIFF : EMA(资金,12) - EMA(资金,26);DEA : EMA(DIFF,9);MACD : 2*(DIFF-DEA), COLORSTICK;STICKLINE(MACD>=0,MACD,0,4,1),COLORF00FF0;STICKLINE(MACD<0,MACD,0,3.1,1),COLORWHITE;STICKLINE(MACD<REF(MACD,1)ANDMACD>0,0,MACD,3,0 ),COLOR00AAFF;STICKLINE(MACD<REF(MACD,1)ANDMACD>0,0,MACD,2.2,0 ),COLOR00BBFF;STICKLINE(MACD<REF(MACD,1)ANDMACD>0,0,MACD,1.8,0 ),COLOR00CCFF;STICKLINE(MACD<REF(MACD,1)ANDMACD>0,0,MACD,1.3,0 ),COLOR00DDFF;STICKLINE(MACD<REF(MACD,1)ANDMACD>0,0,MACD,0.9,0 ),COLOR00EEFF;STICKLINE(MACD<REF(MACD,1)ANDMACD>0,0,MACD,0.5,0 ),COLOR00FFFF;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,4 ,0 ),COLOR0000AA;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,3.3 ,0 ),COLOR0011BB;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2.2,0 ),COLOR0022CC;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.65 ,0 ),COLOR0033DD;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.1 ,0 ),COLOR0044EE;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,0.55 ,0 ),COLOR0055FF;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,4,0 ),COLORAA00BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,3.3 ,0 ),COLORBB11BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2.2,0 ),COLORCC22BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.65,0 ),COLORDD33BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.1,0 ),COLOREE44BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,0.55 ,0 ),COLORFF55BB;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,4,0 ),COLORFFAA00;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,3.3 ,0 ),COLORFFBB11;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2.2,0 ),COLORFFCC22;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.65 ,0 ),COLORFFDD33;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.1 ,0 ),COLORFFEE44;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,0.55 ,0 ),COLORFFFF55;IF(DIFF<0,DIFF,0),COLORRED,LINETHICK1;IF(DIFF<0,0,DIFF),COLORYELLOW,LINETHICK1;IF(DIFF<DEA,DIFF,DEA),COLOR00FF00,LINETHICK1;IF(DIFF>DEA,DEA,DEA),COLORWHITE,LINETHICK1;低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;STICKLINE(低位金叉,0,-4.5,2,0),COLORYELLOW;DRAWTEXT(低位金叉,-4,' 低位金叉'),COLORYELLOW;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;STICKLINE(二次金叉,0,-2.5,5,0),COLORFF00FF;DRAWICON(二次金叉,DEA*1.2,11) ;DRAWTEXT(二次金叉,-2,' 二次金叉'),COLORFF00FF;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);STICKLINE(底背离,0,2.5,3,0),COLOR00FF00;DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2;DRAWTEXT(底背离,2,' 底背离'),COLOR00FF00;A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);STICKLINE(顶背离,0,4.5,3,0),COLORFFFF00;DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORFFFF00,LINETHICK2;DRAWTEXT(顶背离,4,' 顶背离'),COLORFFFF00;。
通达信公式主力资金进出指标
通达信公式主力资金进出指标DRAWRECTREL(0,0,400,988,IF(120,RGB(10,0,0),0)); 超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; 主买A:=ACTINVOL,COLORRED,NODR主卖A:=ACTOUTVOL,COLORGREEN,NODRAW;主买:=主买A*100/(主买A+主卖A),NODRAW,COLORRED卖:二主卖A*100/(主买A+主卖"厂I 丿"7*A),NODRAW,COLORGREEN;SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));■1 I X I#.:" \ t '【量能饱和】:IF(SAT>1,1,SAT)TOO,COLORYELLOW,NODRAW^ 力净买j- ————量:=(LARGEINTRDVOL-LARGEOUTTRDVOL),COLORYELLOW,NO大宗净流入:=(超B+大B)-(超S+大S),COLORRED,NODRAW动买卖差:=(ACTINVOL-ACTOUTVOL),COLORMAGENTA,NOD主力资金,--j I " f'差:=((L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1)))/10000,C OLORCYAN,NODRAW;DRAWRECTREL(100,0,90+C主!®T(*300/100),40,RGB(230,65,0));DRAWRECTREL(100,60,90+CONST( 主卖*300/100),100,RGB(0,104,0));DRAWRECTREL(100,120,390,160,RGB(0,0,100));DRAWRECTREL(100,120,90+CONST(【量能饱和】*300/100),160,RGB(250,104,0)); 大单动向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW;T1:=通达信公式主力资金进出指标IF(大单动向>OANDREF大单动向,1)T2:=IF( 大单动向>OANDREF大单动精心整理精心整理向,1)>0ANDREF(大单动向,2)T3:=IF(大单动向>OANDREF大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)T4:=IF(大单动向>0ANDREF大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)T5:=IF(大单动向>OANDREF大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)T6:=IF(大单动向>OANDREF大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)>0ANDREF(大单动向,6)T7:=IF(大单动向>0ANDREF大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)>0ANDREF(大单动向,6)>0ANDREF(大单动向,7)T8:=IF(大单动向>OANDREF大单动■i ' I X 1 ..:\ I Xj/'I ,- — f /向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)>0ANDREF(大单动向,6)>0ANDREF(大单动向,7)>0ANDREF(大单动向,8)T9:=IF(大单动向>OANDREF大单动* c \ \向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动,--j I '向,4)>0ANDREF(大单动向,5)>0ANDREF(大单动向,6)>0ANDREF(大单动向,7)>0ANDREF(大单动向,8)>0ANDREF(大单动向,9)T:=IF(大单动向>0ANDREF大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)>0ANDREF(大单动向,6)>0ANDREF(大单动向,7)>0ANDREF(大单动向,8)>0ANDREF(大单动向,9)>0,10,T9);D:=COUNT(大单动向>0,10),NODRAW;DRAWTEXT_FIX(1,0.005,0.01,0,STRCAT(STRCAT('【主买比】:',CON2STR(主买,1)),' %精心整理精心整理')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.07,0,STRCAT(STRCAT('【主卖比】:',C0N2STR(主卖,1)),' %')),COLORGREEN;DRAWTEXT_FIX(1,0.005,0.13,0,STRCAT(STRCAT('【量能饱和】:',CON2STR(【量能饱和】,1)),' %')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.19,0,STRCAT(STRCAT('【主力资金差】:',CON2STR(主力资金差,1)),'万元')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.19,0,STRCAT(STRCAT('【大宗净流入】:',C0N2STR(大宗净流入,1)),' 万元')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.25,0,STRCAT(STRCAT('【主力净买量】:',C0N2STR(主力净买量,1)),'手')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.25,0,STRCAT(STRCAT('【主动■( r \ 1 \ i买卖差】:',CON2STR(主动买卖差,1)),'手j- ——一一')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.31,0,STRCAT(STRCAT('【DDX 连红天数】:',CON2STR(T,0)),' 天')),COLORYELLOW;DRAWTEXT_FIX(1,0.2,0.31,0,STRCAT(STRCAT('【DDX两,--j I '周红天数】:',CON2STR(D,0)),' 天')),COLORYELLOW;PJJ:=DMA((((HIGH+LOW)+(CLOSE*2))/4),0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=(V0L/(((HIGH-L0W)*2)-ABS((CLOSE-OPEN))));XVL:=(IF((CLOSE>OPEN),(QJJ*(HIGH-LOW)),IF((CLOSEOPEN),(0-(QJJ*((HIGH-CLOSE)+(OPEN-L0W)))),IF((CL0SEZLL:=(V0L/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);STICKLINE(((HSL*0.4)>=0),((HSL*0.4)+LLJX),0,3,0),COLOR00FFFF;STICKLINE(((HSL*0.4)资金流入:=IF((HSL*0.4+LLJX)>0,(HSL*0.4+LLJX),DRAWNULL),COLORRED;资金流出:=IF((HSL*0.4+LLJX)资金进出:=(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:=BARSLASTC0UN 资金净进出>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(连• I x 1 产 \ % 'j ,-红天1,3),连红天3),,COLORA20FFD,NODRAW近期连红天:IF(连红天j- ——.丿丿4=0,REF(连红天1,4),连红天4),,COLORYELLOW,NODRAW多连红天1:=MAX(REF(近期连红天,1),近期连红天),COLORYELLOW,NODRAW多连红天2:=MAX(最多连红天1,REF(近期连红天,2)),C0L0RYELL0W,N0DRA最;,--j I '多连红天3:=MAX(最多连红天2,REF(近期连红天,3)),C0L0RYELL0W,N0DRA最多连红天4:=MAX(最多连红天3,REF(近期连红天,4)),C0L0RYELL0W,N0DRA最多连红天5:=MAX(最多连红天4,REF(近期连红天,5)),C0L0RYELL0W,N0DRA最多连红天:MAX(最多连红天5,REF(近期连红天,6)),C0L0RYELL0W,N0DRA三;日资金:SUM(资金进出,3),C0L0RWHITE,N0DRAW;日资金:SUM(资金进出,5),COLORFF00FF,NODRAW十日资金:SUM(资金进出,10),COLOR0000FF,NODRAV W金流精心整理精心整理量:=LLJX丄INETHICKO,COLOROOOOFF;STICKLINE((资金流量>0),资金流量,0,3,0),COLOR0000FF;STICKLINE(( 资金流量黄柱初出蓝:=REF(资金流出,1)30ANDC>OANDC>REF(C,1)ANDC>MA(C,3);X:=(3*C+2*L+O+H)/7;多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X ,10)+9*REF (X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15 )+4*REF(X,16)+3*REF( X,17)+2*REF(X,18)+REF(X,20))/210; 长黄柱:=资金流入>300ANDCR0SS(多空线);DRAWTEXT黄柱初出蓝,-30,' ★ '),C0L0RFF00FF;DRAWTEX长黄柱,((HSL*0.4)*1.5)*1.4,' ★ '),COLORRED;精心整理。
通达信资金流向指标
资金流向轴:0,COLOR4B4B4B;PJJ:=DMA((H + L + C * 2) / 4,0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=VOL / ((H - L) * 2 - ABS(C - O));XVL:=IF(C > O,QJJ * (H - L),IF(C < O,QJJ * (H - O + (C - L)),VOL / 2)) + IF(C > O,0 - QJJ * (H - C + (O - L)),IF(C < O,0 - QJJ * (H - L),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);流量:LLJX,COLORC875B7,NODRAW;STICKLINE(流量> 0,流量,0,2.3,0)COLOR0000FF;STICKLINE(流量< 0,流量,0,2.3,0),COLORFF4242;流量基线:GJJ,COLOR00BBBB;STICKLINE(HSL * 0.4 >= 0,HSL * 0.4 * 1.5,0,0,1)COLORYELLOW;STICKLINE(HSL * 0.4 < 0,HSL * 0.4 * 1.5,0,0,1)COLORGREEN;ZJLL:=REF(LLJX,1);QZJJ:=(((LLJX - ZJLL) / ZJLL) * 100);流量幅%:IF(((LLJX > 0) AND (ZJLL < 0)),ABS(QZJJ),IF((((LLJX < 0) AND (ZJLL < 0)) AND (LLJX < ZJLL)),(0 - QZJJ),QZJJ))COLORWHITE,NODRAW;力度:HSL / 1000,COLOR9B37FF,NODRA W;周流量:SUM(LLJX,5),COLORFFBFDF,NODRAW;BB:=REF(周流量,1);ZQZJJ:=(周流量-BB)/BB*100;周幅%:IF(周流量>0 AND BB<0,ABS(ZQZJJ),IF(周流量<0 AND BB<0 AND 周流量<BB,-ZQZJJ,ZQZJJ))COLORWHITE,NODRAW;股价资金线1、股价资金线公式是在赢在龙头的个股资金生命线公式的基础上,增加了个股趋势、主筹码、获利、建仓天数、阶段成本。
通达信公式-主力资金指标
通达信公式-主力资金指标主力资金指标/操盘线/筹码指标极品中的极品通达信公式-主力资金指标这个是我自己在用的通达信指标。
----------------------------------说明:1.这个指标是给通达信软件用的。
2.这个指标包含3部分,主图,副图趋势,选股系统。
3.公式新建办法:功能,专家系统,公式管理器,用户,其他,新建。
----------------------------------主图部分:复制到公式区,名称随意(比如主图),主图叠加主图说明:1、当天进出价位均用白色线显示,(只显示当天和变盘的那一天),其余时间表示趋势未变。
向上突破白色线进入,向下破位白色线必出,必须严格执行;2、当天发生变盘分别用黄色K线和绿色K 线提示;3、进出价位分别用红线和绿线表示,第二天显示,未显示之前请参考短白色线,与红线和绿线价位一样;4、本指标请配合成交量使用,在向上与向下趋势中使用有较好的效果,能有效抓住主升段;5、本指标适于中小波段,不适用于上市不到20天的次新股和猴市(震荡市);6、本指标源码简单,与个人理念相符,实际上就是以均线斜率反映趋势;7、本指标与1-3号主图不同的特质就是标明了进出价位线,趋势也很明显,绿线下是空仓区,红线上是持股区。
工作线在生命线之上才适合操作(红色“工作区”);线上阴线买入,买错了也要买;线下阳线卖出,卖错了也要卖——指工作线(回抽买入,越接近均线越好);连续两日跌破止赢线短线卖出(绿箭头,中短线以上不管);跌破工作线止损,跌破生命线逃命。
使用:在主图区右键,主图指标,选择主图指标,选你的那个比如主图-----------主图代码----------A1:=EMA(C,14)COLORWHITE,LINETHICK1;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1 ),DRAWNULL)COLORRED,LINETHICK1;休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1), DRAWNULL)COLORGREEN,LINETHICK1; STICKLINE(CROSS(A1X,0),C,O,2,0)COLORYELLOW; STICKLINE(CROSS(0,A1X),C,O,2,0)COLORGREEN; STICKLINE(CROSS(A1X,0)ORCROSS(0,A1X),REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,2,0 )COLORWHITE;STICKLINE(ISLASTBAR,REF(EMA(C,14),1),REF(EMA(C,14), 1)*0.998,5,0)COLORWHITE;工作线:=EMA(C,14);止盈线:EMA(C,7),LINETHICK1,COLORGRAY;工作区:IF(C>=工作线AND EMA(C,14)>=EMA(C,25),工作线,DRAWNULL), COLORRED,LINETHICK2;{准备区:IF(C>=工作线AND EMA(C,14)}准备区:IF(C>=工作线AND EMA(C,14)休息区:IF(CEMA(C,14),L*0.99,1);{DRAWICON(COUNT(CEMA(C,14) AND COUNT(C>止盈线,6)>=3,H*1.03,2); }DRAWICON(COUNT(CEMA(C,14) AND COUNT(C>止盈线,6)>=3,H*1.03,2);DRAWICON(CROSS(工作线,C) ANDEMA(C,14)>EMA(C,25),H*1.01,8);{止损位}IF(CROSS(生命线,工作线),HIGH*1.04,DRAWNULL),CIRCLEDOT,COLORGREEN; --------------------------副图部分,复制到公式区,名称随意(比如副图),副图使用:在副图区右键,指标,选择指标,选你的那个比如副图注意主力持仓线,和散筹。
通达信监控主力资金好指标
通达信监控主⼒资⾦好指标监控主⼒资⾦的好指标,有了这个指标便可清楚观察主⼒资⾦的动向,以便进退。
{主⼒资⾦}VA1:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);VA2:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);VA3:=VA1<REF(VA2,1) AND VOL>REF(VOL,1) ANDCLOSE>REF(CLOSE,1);DRAWTEXT(VA3 AND COUNT(VA3,30)=1,15,'有⼤资⾦进关注'),LINETHICK1,COLORFF00FF;A:=WINNER(CLOSE+CLOSE*15/100)*100;B:=WINNER(CLOSE+CLOSE*0/100)*100;CC:=A-B;D:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;E:=CC<3 AND D<0.5 ANDOPEN!=LOW;A1:=DYNAINFO(6);A2:=IF(LOW>A1,0,IF(HIGH<A1,1,(A1-LOW+0.01)/(HIGH-LOW+0.01)));A3:=VOL/WINNER(LOW);A4:=REF(HHV(CLOSE,120),1);A5:=REF(LLV(CLOSE,120),1);A6:=100*(CLOSE-A5)/(A4-A5);A7:=A2>0 OR A2=1;A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);A10:=A8 AND A9;A11:=IF(FILTER(A8,3),5,0);A12:=IF(FILTER(A10,3) OR E,10,0);资⾦进场⽇:IF(A11>0,8,DRAWNULL),COLOR00FFFF,LINETHICK3,STICK;资⾦加仓⽇:IF(A12>0,15,DRAWNULL),COLORFF00FF,LINETHICK4,STICK;DRAWTEXT(A11,8,'资⾦进场');DRAWTEXT(A12,17,'资⾦加仓');VAR1:=(CLOSE*2+HIGH+LOW)/4*10;VAR2:=EMA(VAR1,13)-EMA(VAR1,34);VAR3:=EMA(VAR2,5);VAR4:=2*(VAR2-VAR3)*5.5;主⼒:VAR4,COLORRED,LINETHICK2;{0,COLORWHITE;}VAR5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;VAR6:=EMA(3*VAR5-2*SMA(VAR5,18,1),5);VAR7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;VAR8:=(INDEXC*2+INDEXH+INDEXL)/4;VAR9:=EMA(VAR8,13)-EMA(VAR8,34);VARA:=EMA(VAR9,3);VARB:=(VAR9-VARA)/2;⼤盘资⾦:VARB,COLORGREEN,LINETHICK2;VARE:=MA(100* (CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VAR10:=(HIGH+LOW+CLOSE)/3;VAR11:=(VAR10-MA(VAR10,14))/(0.015*AVEDEV(VAR10,14));VAR12:=(VAR10-MA(VAR10,70))/(0.015*AVEDEV(VAR10,70));VAR13:=IF(VAR11>=150 AND VAR11<200 AND VAR12>=150 ANDVAR12<200,10,0);VAR14:=IF(VAR11<=-150 AND VAR11>-200 AND VAR12<=-150 AND VAR12>-200,-10,VAR13);VAR15:= (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*100;VAR16:=100-ABS(VAR15);VAR17:=IF(VAR16<90,VAR16,100);VAR1A:=IF(VARE>0,VARE,0);VAR1B:=IF(VAR12>=200 ANDVAR11>=150,15,IF(VAR12<=-200 AND VAR11<=-150,-15,VAR14))+60;VAR1C:=VAR1A>48 AND VAR1B>60 ANDVAR17<100;DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,15,'⼤笔出货.缩量(低位)则洗.'),LINETHICK1,COLORFFCC66;。
通达信公式-主力资金指标
通达信公式-主力资金指标主力资金指标/操盘线/筹码指标极品中的极品通达信公式-主力资金指标这个是我自己在用的通达信指标。
----------------------------------说明:1.这个指标是给通达信软件用的。
2.这个指标包含3部分,主图,副图趋势,选股系统。
3.公式新建办法:功能,专家系统,公式管理器,用户,其他,新建。
----------------------------------主图部分:复制到公式区,名称随意(比如主图),主图叠加主图说明:1、当天进出价位均用白色线显示,(只显示当天和变盘的那一天),其余时间表示趋势未变。
向上突破白色线进入,向下破位白色线必出,必须严格执行;2、当天发生变盘分别用黄色K线和绿色K 线提示;3、进出价位分别用红线和绿线表示,第二天显示,未显示之前请参考短白色线,与红线和绿线价位一样;4、本指标请配合成交量使用,在向上与向下趋势中使用有较好的效果,能有效抓住主升段;5、本指标适于中小波段,不适用于上市不到20天的次新股和猴市(震荡市);6、本指标源码简单,与个人理念相符,实际上就是以均线斜率反映趋势;7、本指标与1-3号主图不同的特质就是标明了进出价位线,趋势也很明显,绿线下是空仓区,红线上是持股区。
工作线在生命线之上才适合操作(红色“工作区”);线上阴线买入,买错了也要买;线下阳线卖出,卖错了也要卖——指工作线(回抽买入,越接近均线越好);连续两日跌破止赢线短线卖出(绿箭头,中短线以上不管);跌破工作线止损,跌破生命线逃命。
使用:在主图区右键,主图指标,选择主图指标,选你的那个比如主图-----------主图代码----------A1:=EMA(C,14)COLORWHITE,LINETHICK1;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1 ),DRAWNULL)COLORRED,LINETHICK1;休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1), DRAWNULL)COLORGREEN,LINETHICK1; STICKLINE(CROSS(A1X,0),C,O,2,0)COLORYELLOW; STICKLINE(CROSS(0,A1X),C,O,2,0)COLORGREEN; STICKLINE(CROSS(A1X,0)ORCROSS(0,A1X),REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,2,0 )COLORWHITE;STICKLINE(ISLASTBAR,REF(EMA(C,14),1),REF(EMA(C,14), 1)*0.998,5,0)COLORWHITE;工作线:=EMA(C,14);止盈线:EMA(C,7),LINETHICK1,COLORGRAY;工作区:IF(C>=工作线AND EMA(C,14)>=EMA(C,25),工作线,DRAWNULL), COLORRED,LINETHICK2;{准备区:IF(C>=工作线AND EMA(C,14)}准备区:IF(C>=工作线AND EMA(C,14)休息区:IF(CEMA(C,14),L*0.99,1);{DRAWICON(COUNT(CEMA(C,14) AND COUNT(C>止盈线,6)>=3,H*1.03,2); }DRAWICON(COUNT(CEMA(C,14) AND COUNT(C>止盈线,6)>=3,H*1.03,2);DRAWICON(CROSS(工作线,C) ANDEMA(C,14)>EMA(C,25),H*1.01,8);{止损位}IF(CROSS(生命线,工作线),HIGH*1.04,DRAWNULL),CIRCLEDOT,COLORGREEN; --------------------------副图部分,复制到公式区,名称随意(比如副图),副图使用:在副图区右键,指标,选择指标,选你的那个比如副图注意主力持仓线,和散筹。
通达信监控主力资金好指标
通达信监控主力资金好指标2017-11-17 10:36XXCC:EMA(EMA(EMA(EMA(CLOSE,3),3),3),3),LINETHICK1,COLOR0000F F;XXCC1: EMA(REF(XXCC,1),3),LINETHICK1,COLOR00FFFF;ZZCC:EMA(EMA(EMA(EMA(EMA(CLOSE,65),3),3),3),3),LINETHICK1,COL ORFF0000;AA:= MA(WINNER(CLOSE*0.95)*100,3);VAR83:= 1/WINNER(CLOSE);VAR84:= (CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR85:= 100-ABS(VAR84);VAR86:= 3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR87:= 3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR88:= 100-VAR87;VAR89:= 100-VAR86;VAR90:= MA(WINNER(CLOSE*0.95)*100,3);VAR91:= IF(VAR83>5,IF(VAR83<100,VAR83,VAR85-10),0);VAR92: = MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VAR93:= 100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR94:= 100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR95:= VAR93REF(VOL,1) AND CLOSE>REF(CLOSE,1);AAE:= WINNER(CLOSE+CLOSE*15/100)*100;BBE:= WINNER(CLOSE+CLOSE*0/100)*100;CCE:= AAE-BBE;DDE:= (WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;EEE:= CCE<3 AND DDE<0.5 AND OPENAE1:= DYNAINFO(6);AE2:= IF(LOW>AE1,0,IF(HIGHAE3:= VOL/WINNER(LOW);AE4:= REF(HHV(CLOSE,120),1);AE5:= REF(LLV(CLOSE,120),1);AE6:= 100*(CLOSE-AE5)/(AE4-AE5);AE7:= AE2>0 OR AE2=1;AE8:= AE7 AND AE3/REF(AE3,3)>=3 AND AE6<80;AE9:= REF(AE8,1) OR REF(AE8,2) OR REF(AE8,3) OR REF(AE8,4);AE10:= AE8 AND AE9;AE11:= IF(FILTER(AE8,3),5,0);AE12:= FILTER(IF(FILTER(AE10,3) OR EEE,10,0),3);VARA:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VARB:= SMA(VARA,3,1);VARC:= SMA(VARB,3,1);探索:= EMA(3*VARB-2*VARC,3);主力:= (-1)*(EMA(VAR89,1)-50)+50;Z1:= MA(主力,9);VARD:= (-1)*(EMA(VAR89,1)-50)+50;VARE:= (-1)*(EMA(VAR89,12)-50)+50;LCC:= REF(CLOSE,1);RSI1:= SMA(MAX(CLOSE-LCC,0),6,1)/SMA(ABS(CLOSE-LCC),6,1)*100;天涯:= IF(RSI1>93 OR AA>90 AND RSI1>80,80,100);苦海:= EMA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),6);ZS:= MA(探索,3);ZM:= MA(MA(探索,3),3);A11:= 3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1);黑马线:= EMA(A11,5);A12:= (黑马线-REF(黑马线,1))/REF(黑马线,1)*100;A4:= (CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;趋势线3:= MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2);A5:= (HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;N:= 3;VAR1:= REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:= SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:= EMA(VAR2,10);VAR4:= LLV(LOW,33);VAR5:= EMA(IF(LOW<=VAR4,VAR3,0),5);VAR6:= REF(CLOSE,1);VAR7:= SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;VAR8:= LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;VAR9:= CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;VAR10:= VAR8 AND VAR9;VAR11:= (2*CLOSE+HIGH+LOW)/4;VAR12:= LLV(LOW,13);VAR13:= HHV(HIGH,13);VAR14:= LLV(LOW,1)=LLV(LOW,35) AND CLOSE>=OPEN*1.04;VAR15:= CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;VAR16:= EMA((VAR11-VAR12)/(VAR13-VAR12)*100,13);VAR17:= ((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;VAR18:= 1/WINNER(CLOSE);VAR19:= MA(CLOSE,13);VAR20:= 100-ABS((CLOSE-VAR19)/VAR19*100);VAR21:= LLV(LOW,75);VAR22:= HHV(HIGH,75);VAR23:= (VAR22-VAR21)/100;VAR24:= SMA((CLOSE-VAR21)/VAR23,20,1);VAR25:= SMA((OPEN-VAR21)/VAR23,20,1);VAR26:= 3*VAR24-2*SMA(VAR24,15,1);VAR27:= MA(HHV(HIGH,485),17);VAR28:= MA(HHV(HIGH,222),17);VAR29:= MA(HHV(HIGH,96),17);VAR30:= MA(LLV(LOW,485),17);VAR31:= MA(LLV(LOW,222),17);VAR32:= MA(LLV(LOW,96),17);VAR33:=MA((VAR30*0.96+VAR31*0.96+VAR32*0.96+VAR27*0.558+VAR 28*0.558+VAR29*0.558)/6,17);MA((VAR30*1.25+VAR31*1.23+VAR32*1.2+VAR27*0.55+VAR28* 0.55+VAR29*0.65)/6,17);VAR35:=MA((VAR30*1.3+VAR31*1.3+VAR32*1.3+VAR27*0.68+VAR28*0. 68+VAR29*0.68)/6,17);VAR36:= LLV(LOW,30);VAR37:= MA((VAR33*3+VAR34*2+VAR35)/6*1.738,17);VAR38:= IF(DATE<=1050531,VAR37,VAR37*DAY);VAR39:= LOW;VAR40:= REF(LOW,1);VAR41:= SMA(ABS(VAR39-VAR40),3,1)/SMA(MAX(VAR39-VAR40,0),N,1)*100;VAR42:=MA(IF(CLOSE*1.35<=VAR38,VAR41*10,VAR41/10),N);VAR43:= HHV(VAR42,30);VAR44:= 1080531;VAR45:= 3*VAR25-2*SMA(VAR25,15,1);VAR46:= 100-VAR45;VAR47:= IF(900101<99991232,1,0);VAR49:= REF(LOW,1)*0.9;VAR50:= LOW*0.9;VAR51:= (VAR50*VOL+VAR49*(CAPITAL-VOL))/CAPITAL;VAR52:= EMA(VAR51,30);VAR53:= CLOSE-REF(CLOSE,1);VAR54:= MAX(VAR53,0);VAR55:= ABS(VAR53);VAR56:= SMA(VAR54,7,1)/SMA(VAR55,7,1)*100;VAR57:= SMA(VAR54,13,1)/SMA(VAR55,13,1)*100;VAR58:= BARSCOUNT(CLOSE);SMA(MAX(VAR53,0),6,1)/SMA(ABS(VAR53),6,1)*100;VAR60:= (-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;VAR61:= (CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR62:= SMA((SMA(VAR61,4,1)-50)*2,3,1);VAR63:= (INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;VAR64:= SMA(VAR63,4,1);VAR65:= SMA(VAR64,3,1);VAR66:= (HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR67:= VAR59<=25 AND VAR60<(-95) AND VAR66>20 AND VAR62<(-30) AND VAR65<30 AND VAR52-CLOSE>=(-0.25) AND VAR56<22 AND VAR57<28 AND VAR58>50;VAR68:= (HIGH+LOW+CLOSE)/3;VAR69:= (VAR68-MA(VAR68,14))/(0.015*AVEDEV(VAR68,14));VAR70:= (VAR68-MA(VAR68,70))/(0.015*AVEDEV(VAR68,70));VAR71:= IF(VAR69>=150 AND VAR69<200 AND VAR70>=150 AND VAR70<200,10,0);VAR72:= IF(VAR69<=(-150) AND VAR69>(-200) AND VAR70<=(-150) AND VAR70>(-200),-10,VAR71);VAR73:= (CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VAR74:= REVERSE(VAR73);VAR75:= SMA(VAR73,3,1);绝佳买点:= IF(DATE<=VAR44,MA(IF(LOW<=VAR36,(VAR42+VAR43*2)/2,0), N),100000000);跑:= FILTER(REF(黑马线,1)>90 AND A12<0 ,7);买线:= EMA(CLOSE,2);卖线:= EMA(SLOPE(CLOSE,21)*20+CLOSE,42);指數位置:= 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);抄底:= CROSS(指數位置,10);A1:= VOL=HHV(VOL,120);A2:= CLOSE/OPEN>1.05;TJ:= A1 AND A2;龙:= VAR10;买4:= VAR14;AA1:= AMOUNT/VOL;BB1:= LOWCC1:= (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;DD1:= LOWEE1:= VOLFF1:= BB1 AND CC1 AND DD1 AND EE1;买3:= FILTER(FF1,3) AND DATE<=1080530;二十天最低跌幅:= HHV(CLOSE,20)/LLV(CLOSE,20);RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:= SMA(RSV,3,1);D:= SMA(K,3,1);J:= 3*K-2*D;X:= LLV(J,2)=LLV(J,8);买1:= CROSS(J,REF(J+0.01,1)) AND X AND J<20 AND 二十天最低跌幅>=1.3 ;长期底部:= LLV(HIGH,30);上:= SMA(LOW,5,2)*0.96;短期底部:= LLV(HIGH,30)*0.93;LC:= REF(CLOSE,1);RSI:= SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;大顶:= FILTER(VAR17>20 AND FILTER(VAR17VAR76:= (OPEN+LOW+HIGH+CLOSE)/4;MAN:= SMA(HIGH,21,2)*1.05;短底2:= EMA(VAR76,5);支撑:= HHV(短底2,60);VAR77:= (HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR78:= SMA(VAR77,5,1);VAR79:= SMA(VAR78,8,1);VAR80:= CROSS(VAR78,VAR79) AND VAR79<5;VAR81:= CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND VAR80;VAR82:= IF(CLOSE>1000,VAR80,VAR81);黑马起步:= VAR82;逃:= FILTER(HIGH>支撑AND CLOSE<支撑AND CLOSE/OPEN>0-1.06 AND CLOSE逃命:= 黑马起步>0;选逃:= FILTER(逃命 OR 逃 OR CROSS(84,RSI) OR 大顶,3);上线:= SMA(CLOSE,6.5,1);下线:= SMA(CLOSE,13.5,1);WW:= 1;散户:= SMA(VAR75,3,1)*VAR47*WW;新庄:= SMA(散户,3,1)*VAR47*WW;高抛:= CROSS(新庄,散户) AND 新庄>75;买:= CROSS(买线,卖线);卖:= CROSS(卖线,买线);大黑马:= CROSS(趋势线3,0) AND 黑马线<40;大买:= FILTER(绝佳买点>30000,5);选底:= FILTER(LOW<=上AND HIGH>=短期底部AND CLOSE>=长期底部 AND CLOSE/OPEN>1.03,3);稳赚10买:= FILTER(买3 OR 选底,3) AND COUNT(买1+买4+龙,3)>0;大资金进场:= VAR95 AND COUNT(VAR95,30)=1;STICKLINE(买线>=卖线,LOW,HIGH,1,0),COLOR0000FF;STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLOR0000AA;STICKLINE(买线>=卖线 ,CLOSE,OPEN,3,0),COLOR0000CC;STICKLINE(买线>=卖线 ,CLOSE,OPEN,3,0),COLOR0000CC;STICKLINE(买线>=卖线 ,CLOSE,OPEN,2,0),COLOR0000EE;STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORAAAA00;STICKLINE(买线<卖线 ,CLOSE,OPEN,3,0),COLORBBBB00;STICKLINE(买线<卖线 ,CLOSE,OPEN,3,0),COLORCCCC00;STICKLINE(买线<卖线 ,CLOSE,OPEN,2,0),COLOREEEE00;STICKLINE(买线<卖线 ,LOW,HIGH,1,0),COLORFFFF00;选买:= FILTER(买3 OR 选底,3) AND COUNT(买1+买4+龙,3)>0 ;STICKLINE(选买 ,CLOSE,HHV(HIGH,90)*0.94,0.3,0),COLORFF0000;DRAWTEXT(选买 ,HHV(HIGH,90)*1,'稳赚'),COLORFF0000;DRAWTEXT(选买,HHV(HIGH,90)*0.97,'10%买'),COLORFF0000;DRAWTEXT(选逃,HIGH*1.04,'逃'),COLOR00FFFF;DRAWTEXT(买,LOW*0.996,'买'),COLOR0000FF;DRAWTEXT(卖,HIGH*1,'卖'),COLOR00FFFF;DRAWTEXT(AE12,HIGH*1.095,'私募'),COLOR008000;DRAWTEXT(AE12,HIGH*1.06,'加仓'),COLOR008000;DRAWTEXT(VAR95 AND COUNT(VAR95,30)=1,HIGH*1.095,'大资金'),COLOR008000;DRAWTEXT(VAR95 AND COUNT(VAR95,30)=1,HIGH*1.06,'进场'),COLOR008000;DRAWTEXT(跑,HIGH*1.02,'跑'),COLOR00FFFF;DRAWTEXT(大黑马,LOW*0.98,'大黑马'),COLORFFFFFF;DRAWTEXT(CROSS(新庄,散户) AND 新庄>75,HIGH*1.04,'抛'),COLOR00FFFF;DRAWTEXT(大买,LOW*0.96,'大买'),COLOR0000FF;DRAWTEXT(IF(选底,100,0),LOW*0.995,'底'),COLOR399C71;DRAWTEXT(AE12 OR VAR95 AND COUNT(VAR95,30)=1,HIGH*1.01,'↓'),COLOR008000;VAR330:=0;位置:= (CLOSE+REF(CLOSE,105))/2;。
通达信主力资金进入指标公式
通达信主力资金进入指标公式【控盘、出货、吸货、对倒出货洗盘、黄色底部吸货、多头买入、多头卖出】VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF;STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF; VAR1:=EMA(EMA(CLOSE,3),1);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,控盘,0,3.5,0),COLORFFAA00;STICKLINE(控盘<0,控盘,0,3.5.2,0),COLORFF4400;STICKLINE(控盘<0,控盘,0,2.5,0),COLORFF8800;STICKLINE(控盘<0,控盘,0,0,0),COLORFFAA00;主力出货:0,COLORFFAA00;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR000088;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR0000AA;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR0000CC;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR0000EE;主力吸货:0,COLOR0000FF;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,3.5,0),COLOR008800;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,2.5,0),COLOR00AA00;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1.5,0),COLOR00CC00;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR00EE00;STICKLINE(DDX<0,0,DDX,3.5,0),COLOR008800;STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;对倒出货洗盘:0,COLOR00FF00;黄色底部吸货:0,COLORYELLOW;DRAWTEXT(CROSS(控盘,0),0-3,'买。
通达信公式主力资金进出指标
精心整理通达信公式主力资金进出指标DRAWRECTREL(0,0,400,988,IF(120,RGB(10,0,0),0));超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;中主买量入:=(差差*300/100),100,RGB(0,104,0));DRAWRECTREL(100,120,390,160,RGB(0,0 ,100));DRAWRECTREL(100,120,90+CONST(【量能饱和】*300/100),160,RGB(250,104,0));大单动向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW;T1:= IF(大单动向>0ANDREF(大单动向,1)T2:=IF(大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)T3:=IF(大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)T4:=IF(大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向,4)T5:=IF(大单动向>0ANDREF(大单动向,1)>0ANDREF(大单动向,2)>0ANDREF(大单动向,3)>0ANDREF(大单动向向向向向向向向向向向向向向,3)>0ANDREF(大单动向,4)>0ANDREF(大单动向,5)>0ANDREF(大单动向,6)>0ANDREF(大单动向,7)>0ANDREF(大单动向,8)>0ANDREF(大单动向,9)>0,10,T9);D:=COUNT(大单动向>0,10),NODRAW;DRAWTEXT_FIX(1,0.005,0.01,0,STRCAT(STRCAT('【主买比】:',CON2STR(主买,1)),'%')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.07,0,STRCAT(STRCAT('【主卖比】:',CON2STR(主卖,1)),'%')),COLORGREEN;DRAWTEXT_FIX(1,0.005,0.13,0,STRCAT(STRCAT('【量能饱和】:',CON2STR(【量能饱和】,1)),'%')),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.19,0,STRCAT(STRCAT('【主【主【DDX两VL:=(IF((CLOSE>OPEN),(QJJ*(HIGH-LOW)),IF((CLOSEOPEN),(0-(QJJ*(( HIGH-CLOSE)+(OPEN-LOW)))),IF((CLOSEZLL:=(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);STICKLINE(((HSL*0.4)>=0),((HSL*0.4)+LLJX),0,3,0),COLOR00F FFF;STICKLINE(((HSL*0.4)资金流入:=IF((HSL*0.4+LLJX)>0,(HSL*0.4+LLJX),DRAWNULL),COLORRED;资金流出:=IF((HSL*0.4+LLJX)资金进出:=(HSL*0.4+LLJX),LINETHICK0;万元:=AMOUNT/10000{0000},VOLSTICK,COLORFF00FF;资金净进出出1,1),1,2),连红天红天最天近期4,REF(近期连红天,5)),COLORYELLOW,NODRAW;最多连红天:MAX(最多连红天5,REF(近期连红天,6)),COLORYELLOW,NODRAW;三日资金:SUM(资金进出,3),COLORWHITE,NODRAW;五日资金:SUM(资金进出,5),COLORFF00FF,NODRAW;十日资金:SUM(资金进出,10),COLOR0000FF,NODRAW;资金流量:=LLJX,LINETHICK0,COLOR0000FF;STICKLINE((资金流量>0),资金流量,0,3,0),COLOR0000FF;STICKLINE((资金流量黄柱初出蓝:=REF(资金流出,1)30ANDC>OANDC>REF(C,1)ANDC>MA(C,3);X:=(3*C+2*L+O+H)/7;多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*RE F(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X:=资蓝,-。
通达信公式主力资金流向监控指标
通达信公式主力资金流向监控指标有100线上下的柱线显示资金进出情况,20线上灰白柱线提示散户筹码,彩色柱线提示主力筹码运行,从吸货拉升到出货(由蓝-黄-红-绿),散兵坑予示底部,20线下深蓝柱提示关注,亮红柱提示建仓。
三根线与柱线综合观察分析,就可以获得极隹的买卖点。
{价量线主线快线}价量: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),COLOR00CCFF,NODRAW;主线:(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),COLORCYAN,NODRAW;快线:(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25) ,COLOR55AAFF,NODRAW;RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;{变异KD风险系数}TGLXS:=(TFXXS-REF(TFXXS,1));{变异KD乖离系数:资金流向}{红}STICKLINE(TGLXS>0 ANDTGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR0000AA;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR0022CC;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF;{粉}STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORAA00BB;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORCC22BB;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFF55BB;{黄}STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00AAFF;STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR00CCFF;STICKLINE(TGLXS>0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR00FFFF;{蓝}STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORFF7700;STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORFFAA22;STICKLINE(TGLXS<0 AND TGLXS<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFFFF55;STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,100,TGLXS+100,8,0),COLORBROWN;STICKLINE(TGLXS=0 AND REF(TGLXS,1)<0,100,TGLXS+100,8,0),COLORWHITE;ZLCM:=EMA(WINNER(CLOSE)*70,3);{主力筹码估算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;{散户套牢筹码系数}ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{主力控盘筹码系数}ZSHJJ:=EMA(ZSHTL,55);{散户警戒}ZZLJJ:=EMA(ZZLKP,55);{主力警戒}散兵坑:IF(ZZLKP<=10,ZZLKP,ZZLKP),COLORMAGENTA,NODRAW;{散户套牢筹码}STICKLINE(C>0,ZSHTL,ZZLKP,2,0),COLOR808080;{散户筹码警戒}STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C 0C0;{主力控盘筹码}{粉}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORAA00BB;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORCC22BB;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5,0 ),COLOREE44BB;{蓝}STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORFF7700;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORFFAA22;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5 ,0 ),COLORFFFF55;{亮红}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLOR131FFD;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLOR5050FF;STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5,0 ),COLOR7E7EFF;{深蓝}STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLORAA0000;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLORCC0000;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5 ,0 ),COLORFF0000;{主力筹码警戒}{黄}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2.5,0 ),COLOR00A AFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,1.5,0 ),COLOR00C CFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,0.5,0 ),COLOR00F FFF;{红}STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,2.5,0 ),COLOR0000AA;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,1.5,0 ),COLOR0022CC;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,0.5 ,0 ),COLOR0055FF;{红}STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,2.5,0 ),COLOR0000AA;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50 AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,1.5,0 ),COLOR0022CC;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50 AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,0.5 ,0 ),COLOR0055FF;{铸顶风险区}{绿}STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,2.5,0),COLOR00AA00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,1.5,0),COLOR00CC00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,0.5,0),COLOR00FF00;{散兵坑}STICKLINE(ZZLKP<=10,ZZLKP,0,5,0),COLORDD00DD;100,COLORGREEN;80,COLORGREEN;{0,COLORGREEN;}{主线快线}价量,COLOR0CC0FF,LINETHICK2;主线,COLOR00FFAA,LINETHICK2;快线,LINESTICK,COLORFF68DD;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
[通达信] 资金流入资金流向主力资金线--三个资金
指标
资金流入买:=IF(O=C AND
(C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L) *2-ABS(O-C))*(C-L));
买%:买/AMOUNT*100,COLORRED,NODRAW;
流入亿元:AMOUNT*
买%/10000000000,COLORMAGENTA,NODRAW;
流出亿元:AMOUNT/100000000-流入亿
元,COLORGREEN,NODRAW;
净流亿元:流入亿元-流出亿元,COLORCYAN,NODRAW;
净流亿元5:SUM(流入亿元-流出亿
元,5),COLORCYAN,NODRAW;
STICKLINE(AMOUNT,0,AMOUNT,2,1),COLORGREEN; STICKLINE(买,0,买,2,0),COLORRED;
A:MA(买,3)COLORYELLOW;
B:MA(买,5)COLORMAGENTA;资金流向
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买
量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSEOPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-A
A*(HIGH-LOW),0-VOL 2)),LINETHICK0,COLORGREEN; 进出量:=买量+卖量,COLOR00FFFF;STICKLINE(进出量0,0,进出量,3,0),COLOR000099;
STICKLINE(进出量>0,0,进出量,3,0),COLOR0000CC; STICKLINE(进出量>0,0,进出量,1.0,0),COLOR0000FF; STICKLINE(进出量>0,0,进出
量,0.5,0),COLORCC66FF;N:=1;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""KDJ.D" AND "KDJ.D"小单;
量振2:=特大0,A,0);B0:=IF(A<0,A,0);
STICKLINE(A0,0,A0,1,0),COLOR000044;主力持
仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV( LOW,34)),3),COLORFF00FF;主力筹码集中
度:WINNER(C)*100,COLORRED;主力资金线{N 2.00 500.00 3.00}
A:=VOL*CLOSE;
B:=SUM(A,2)/SUM(VOL,2);
B1:=EMA(B,10);
主力资金线:(B-B1)*100/B,COLORWHITE,LINETHICK2; MA1:MA(主力资金线,N),COLORBROWN;。