很棒的大智慧指标公式-主力进出
指标中有主力进出和主力出货的指标公式
指标中有主力进出和主力出货的指标公式主力进出和主力出货是衡量市场活跃度和资金流向的重要指标,对于投资者来说具有很大的参考价值。
本文将分别介绍主力进出和主力出货的指标公式,并解释其含义和应用。
一、主力进出指标公式主力进出指标是通过计算市场上主力资金的流入和流出情况来衡量市场的活跃度和资金动向。
它通常使用主力资金流入与流出的比例来表示,其公式如下:主力进出指标 = (主力资金流入 - 主力资金流出) / 总成交量其中,主力资金流入表示市场上主力资金的净流入情况,主力资金流出表示市场上主力资金的净流出情况,总成交量表示市场的总成交量。
主力进出指标越大,表示市场上的主力资金流入越多,市场活跃度越高,投资者情绪越好;反之,主力进出指标越小,表示市场上的主力资金流出越多,市场活跃度越低,投资者情绪越差。
主力进出指标的应用主要有以下几点:1. 辅助判断市场行情:主力进出指标可以帮助投资者判断市场的买卖氛围,当主力进出指标大于0时,表示市场买气较强,有利于买入;当主力进出指标小于0时,表示市场卖气较强,有利于卖出。
2. 确定买卖点:主力进出指标的变化可以用来确定买卖点。
当主力进出指标由负转正时,表示市场上的主力资金开始流入,可能是一个买入信号;当主力进出指标由正转负时,表示市场上的主力资金开始流出,可能是一个卖出信号。
3. 验证市场趋势:主力进出指标可以用来验证市场的上涨或下跌趋势。
当市场上涨时,主力进出指标通常会保持在较高的水平;当市场下跌时,主力进出指标通常会保持在较低的水平。
如果市场趋势与主力进出指标不一致,可能意味着市场即将发生反转。
二、主力出货指标公式主力出货指标是指市场上主力资金的净流出情况,用来衡量主力资金的离场行为。
它通常使用主力资金流出与总成交量的比例来表示,其公式如下:主力出货指标 = 主力资金流出 / 总成交量主力出货指标越大,表示市场上的主力资金流出越多,市场活跃度越低,投资者情绪越差;反之,主力出货指标越小,表示市场上的主力资金流出越少,市场活跃度越高,投资者情绪越好。
大智慧主力建仓和出货指标公式
AAA:=(DMA(VAR11,(VOL /SUM(VOL,90))) * 60);
BBB:=(DMA(VAR11,(VOL / CAPITAL)) * 60);
VAR7:=(EMA(VAR6,3) - 10);
A:=1.1*C;
B:=0.9*C;
B1:=100*(WINNER(A)-WINNER(B));
C1:=MA(C,13)<REF(MA(C,13),1);
D1:=IF(C>1000,CROSS(VAR3,22),CROSS(VAR3,24));
锁定筹码:=100-B1;
请注意甄别内容中的联系方式诱导购买等信息谨防诈骗
大智慧主力建仓和出货指标公式
VAR0:=DYNAINFO(5);
VAR1:=BARSCOUNT(HIGH);
VAR2:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);
低位金叉跟进:=IF((VAR1 > 20),VAR2,0);
VAR5:=EMA(VAR4,8);
VAR6:=((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)));
锁定区:STICKLINE(锁定筹码>70 AND C1,0,锁定筹码-65,8,0),COLOR0000FF;
很棒的大智慧指标公式-主力进出
很棒的大智慧指标公式-主力进出(幅图指标)主力进出公式A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);主力:MA(A,4),LINETHICK0,color00FFFF;游资:MA(A,8),LINETHICK0,color00FF00;大户:MA(A,16),LINETHICK0,color0000FF;散户:MA(A,32),LINETHICK0,colorFFFF00;主力参与比例:CEILING(((主力/ (((主力+ 游资) + 大户) + 散户)) * 100)),LINETHICK0,color00FFFF;游资参与比例:CEILING(((游资/ (((主力+ 游资) + 大户) + 散户)) * 100)),LINETHICK0,color00FF00;大户参与比例:CEILING(((大户/ (((主力+ 游资) + 大户) + 散户)) * 100)),LINETHICK0,color0000FF;散户参与比例:CEILING(((散户/ (((主力+ 游资) + 大户) + 散户)) * 100)),LINETHICK0,colorFFFF00;警戒线:MA(A,180),colorFF00FF;STICKLINE((主力> 0),0,主力,8,0),color0000FF;STICKLINE((主力> 0),0,主力,7.8,0),color0018FF;STICKLINE((主力> 0),0,主力,7.5,0),color001BFF;STICKLINE((主力> 0),0,主力,7.3,0),color0022FF;STICKLINE((主力> 0),0,主力,7,0),color0035FF;STICKLINE((主力> 0),0,主力,6.8,0),color0041FF;STICKLINE((主力> 0),0,主力,6.5,0),color0050FF;STICKLINE((主力> 0),0,主力,6.3,0),color0059FF;STICKLINE((主力> 0),0,主力,6,0),color0062FF;STICKLINE((主力> 0),0,主力,5.7,0),color006CFF;STICKLINE((主力> 0),0,主力,5.5,0),color007AFF;STICKLINE((主力> 0),0,主力,5.3,0),color0080FF;STICKLINE((主力> 0),0,主力,5,0),color0089FF;STICKLINE((主力> 0),0,主力,4.5,0),color0095FF;STICKLINE((主力> 0),0,主力,3.5,0),color009CFF;STICKLINE((主力> 0),0,主力,3,0),color00ABFF;STICKLINE((主力> 0),0,主力,2.5,0),color00C0FF;STICKLINE((主力> 0),0,主力,1.5,0),color00D1FF;STICKLINE((主力> 0),0,主力,1,0),color00EAFF;STICKLINE((主力> 0),0,主力,0.7,0),color00FFFF;STICKLINE((游资> 0),0,游资,8,0),color006800;STICKLINE((游资> 0),0,游资,7.8,0),color007F00;STICKLINE((游资> 0),0,游资,7,5),color008B00;STICKLINE((游资> 0),0,游资,7,3),color008B00;STICKLINE((游资> 0),0,游资,6.8,0),color009500; STICKLINE((游资> 0),0,游资,6.5,0),color009C00; STICKLINE((游资> 0),0,游资,6.3,0),color00A300; STICKLINE((游资> 0),0,游资,6,0),color00AB00; STICKLINE((游资> 0),0,游资,5.7,0),color00AF00; STICKLINE((游资> 0),0,游资,5.5,0),color00B900; STICKLINE((游资> 0),0,游资,5.3,0),color00C000; STICKLINE((游资> 0),0,游资,5,0),color00C100; STICKLINE((游资> 0),0,游资,4.5,0),color00CA00; STICKLINE((游资> 0),0,游资,3.5,0),color00D300; STICKLINE((游资> 0),0,游资,3,0),color00DB00; STICKLINE((游资> 0),0,游资,2.5,0),color00EA00; STICKLINE((游资> 0),0,游资,1.5,0),color00FF00; STICKLINE((大户> 0),0,大户,8,0),color102088; STICKLINE((大户> 0),0,大户,7,0),color102099; STICKLINE((大户> 0),0,大户,6,0),color1020AA; STICKLINE((大户> 0),0,大户,5,0),color1020BB; STICKLINE((大户> 0),0,大户,4,0),color1020CC; STICKLINE((大户> 0),0,大户,3,0),color1020DD; STICKLINE((大户> 0),0,大户,2,0),color1020EE;STICKLINE((大户> 0),0,大户,1,0),color1020FF; STICKLINE((大户> 0),0,大户,8,0),color102088; STICKLINE((大户> 0),0,大户,7,0),color102099; STICKLINE((大户> 0),0,大户,6,0),color1020AA; STICKLINE((大户> 0),0,大户,5,0),color1020BB; STICKLINE((大户> 0),0,大户,4,0),color1020CC; STICKLINE((大户> 0),0,大户,3,0),color1020DD; STICKLINE((大户> 0),0,大户,2,0),color1020EE; STICKLINE((大户> 0),0,大户,1,0),color1020FF; STICKLINE((散户> 0),0,散户,8,0),colorFF7700; STICKLINE((散户> 0),0,散户,7,0),colorFF8800; STICKLINE((散户> 0),0,散户,6,0),colorFF9900; STICKLINE((散户> 0),0,散户,5,0),colorFFAA00; STICKLINE((散户> 0),0,散户,4,0),colorFFBB00; STICKLINE((散户> 0),0,散户,3,0),colorFFCC00; STICKLINE((散户> 0),0,散户,2,0),colorFFDD00; STICKLINE((散户> 0),0,散户,1,0),colorFFEE00; STICKLINE((散户> 0),0,散户,8,0),colorFF7700; STICKLINE((散户> 0),0,散户,7,0),colorFF8800; STICKLINE((散户> 0),0,散户,6,0),colorFF9900; STICKLINE((散户> 0),0,散户,5,0),colorFFAA00; STICKLINE((散户> 0),0,散户,4,0),colorFFBB00; STICKLINE((散户> 0),0,散户,3,0),colorFFCC00;STICKLINE((散户> 0),0,散户,1,0),colorFFEE00;逃顶专家公式用法:两条k线相重合,顶部到来,出现蓝色k线,逃顶。
大智慧主力资金进出指标公式源码编程思路破译
大智慧主力资金进出指标公式源码编程思路破译编程思路破译VAR2赋值:1日前的最低价VAR3赋值:最低价-VAR2的绝对值的13日[1日权重]移动平均/最低价-VAR2和0的较大值的13日[1日权重]移动平均*100 VAR4赋值:如果收盘价*1.2,返回VAR3*13,否则返回VAR3/13的13日指数移动平均VAR5赋值:34日内最低价的最低值VAR6赋值:34日内VAR4的最高值VAR7赋值:如果56日内最低价的最低值,返回1,否则返回0VAR8赋值:如果最低价<=VAR5,返回(VAR4+VAR6*2)/2,否则返回0的3日指数移动平均/618*VAR7VAR9赋值:收盘价的5日指数移动平均VAR10赋值:(收盘价-收盘价的34日简单移动平均)/收盘价的34日简单移动平均*(10)VAR11赋值:如果最低价<=VAR5,返回(VAR4+VAR6*2)/2,否则返回0的3日指数移动平均/618*VAR7*(-1)VAR12赋值:收盘价的5日指数移动平均*(-1)当满足条件VAR8>1日前的VAR8时,在0和VAR8位置之间画柱状线,宽度为4,1不为0则画空心柱.,COLOR10FFFF,线宽为0 输出主力进场:如果VAR8>1日前的VAR8,返回VAR8*8,否则返回0,COLOR10FFFF,线宽为0当满足条件VAR11>1日前的VAR11时,在0和VAR11位置之间画柱状线,宽度为4,1不为0则画空心柱.,COLORFFF810输出洗盘:如果VAR11>1日前的VAR11,返回VAR11*8,否则返回0,COLORFFF810,线宽为0输出主力持仓:最低价,COLORFF10FF,线宽为05,画白色XL1赋值:最低价的2日简单移动平均*0.96XL2赋值:最低价的26日简单移动平均*0.85XL3赋值:1日前的XL1当满足条件XL3时,在VAR8*3.2位置书写文字,COLOR006EFF(34),画红色程序源码VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);VAR5:=LLV(LOW,34);VAR6:=HHV(VAR4,34);VAR7:=IF(LLV(LOW,56),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VA R7;VAR9:=EMA(CLOSE,5);VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(10);VAR11:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*V AR7*(-1);VAR12:=EMA(CLOSE,5)*(-1);STICKLINE(VAR8>REF(VAR8,1),0,VAR8,4,1),COLOR10FFFF,LIN ETHICK0;主力进场:IF(VAR8>REF(VAR8,1),VAR8*8,0),COLOR10FFFF,LINETHICK0;STICKLINE(VAR11>REF(VAR11,1),0,VAR11,4,1),COLORFFF810;洗盘:IF(VAR11>REF(VAR11,1),VAR11*8,0),COLORFFF810,LINETHICK 0;主力持仓:LOW,COLORFF10FF,LINETHICK0;5,COLORWHITE;XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1);DRAWTEXT(XL3,VAR8*3.2,'买'),COLOR006EFF;(34),COLORRED;。
大智慧主力进退线指标公式源码编程思路破译
大智慧主力进退线指标公式源码编程思路破译编程思路破译VAR1赋值:((21日内最高价的最高值-收盘价)/(21日内最高价的最高值-21日内最低价的最低值))*100-10VAR2赋值:((收盘价-21日内最低价的最低值)/(21日内最高价的最高值-21日内最低价的最低值))*100VAR3赋值:VAR2的13日[8日权重]移动平均VAR4赋值:VAR1的21日[8日权重]移动平均X赋值:VAR3的13日[8日权重]移动平均的向上舍入输出底:如果(X-VAR4<(-65)),返回1,否则返回6,COLOR00FF00 输出顶:如果(X-VAR4>85),返回95,否则返回100,COLORF0F000 RSV赋值: (收盘价-21日内最低价的最低值)/(21日内最高价的最高值-21日内最低价的最低值)*100FASTK赋值:RSV的7日[1日权重]移动平均输出K:FASTK的7日[1日权重]移动平均输出D:K的9日[1日权重]移动平均,COLORFFFFFF当满足条件K>D时,在K和D位置之间画柱状线,宽度为6,0不为0则画空心柱.,画红色当满足条件K<D时,在K和D位置之间画柱状线,宽度为2,0不为0则画空心柱.,画白色输出强弱分界线: 50,POINTDOT, COLORF00FF0VAR1X赋值:如果月份<12,返回1,否则返回1VAR3X赋值:(2*收盘价+最高价+最低价)/4VAR4X赋值:34日内最低价的最低值VAR5X赋值:34日内最高价的最高值输出主力进退线:(VAR3X-VAR4X)/(VAR5X-VAR4X)*100的13日指数移动平均*VAR1X,线宽为2,画红色当满足条件主力进退线上穿D时,在D位置书写文字,画红色当满足条件D上穿主力进退线时,在D位置书写文字,画黄色。
【股票指标公式下载】-【大智慧】分时副图(突破、主力流入、主力流出、中户流入)
【大智慧】分时副图(突破、主力流入、主力流出、中户流入)-指标公式源码rcc:=DYNAINFO(3); s2:=sma(c,3,1); s6:=sma(c,5,1);dk:=10*(s2-s6); kk:=IF(DATATYPE=8,0.95,1);STICKLINE(dk>0,rcc*kk,rcc*kk+dk,0,1),COLORRED;STICKLINE(dk<0,rcc*kk,rcc*kk+dk,0,1),COLORCYAN;XG:HHV(H,480),DOTLINE,COLORRED;STICKLINE(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,C,8,0),COLORGREEN; DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,'上突'),COLORYELLOW; T:=BARSCOUNT(C);TP:= FILTER( C>=HHV(H,T) AND V>MA(V,0)*2 AND DYNAINFO(17)>1 AND TIME0>39600 ,240) ;DRAWTEXT(TP,L,'★突破'),COLORred;VERTLINE( tp,1),COLORGREEN,LINETHICK1;HHV(h,T),DOTLINE,Color00FFFF;ZLLR:=AMOUNT*(DYNAINFO(95)+DYNAINFO(94))/10000;ZLLC:=AMOUNT*(DYNAINFO(98)+DYNAINFO(97))/10000;TDLR:=AMOUNT*DYNAINFO(95)/10000;TDLC:=AMOUNT*DYNAINFO(98)/10000;DDLR:=AMOUNT*DYNAINFO(94)/10000;DDLC:=AMOUNT*DYNAINFO(97)/10000;ZDLR:=AMOUNT*DYNAINFO(93)/10000;ZDLC:=AMOUNT*DYNAINFO(96)/10000;XDLR:=1-(AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10000; XDLC:=1-(AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10000; SHJM:=SUM(XDLR-XDLC,0);ZHJM:=SUM(ZDLR-ZDLC,0);DHJM:=SUM(DDLR-DDLC,0);JGJM:=SUM(TDLR-TDLC,0);ZLJM:=SUM(ZLLR-ZLLC,0);ZLMR:=SUM(ZLLR,0);ZLMC:=SUM(ZLLC,0);JGMR:=SUM(TDLR,0);JGMC:=SUM(TDLC,0);DHMR:=SUM(DDLR,0);DHMC:=SUM(DDLC,0);ZHMR:=SUM(ZDLR,0);ZHMC:=SUM(ZDLC,0);SHMR:=SUM(XDLR,0);SHMC:=SUM(XDLC,0);DRAWTEXTABS(1,10,'主力流入:'+ NUMTOSTRN(ZLMR,1)),ColorFF00FF,LINETHICK1; DRAWTEXTABS(110,10,'主力流出:'+ NUMTOSTRN(ZLMC,1)),COLOR00ff00,LINETHICK1; DRAWTEXTABS(220,10,'主力净买:'+ NUMTOSTRN(ZLJM,1)),COLORRED,LINETHICK2; DRAWTEXTABS(1,25,'机构流入:'+ NUMTOSTRN(JGMR,1)),ColorFF00FF,LINETHICK1; DRAWTEXTABS(110,25,'机构流出:'+ NUMTOSTRN(JGMC,1)),COLOR00ff00,LINETHICK1; DRAWTEXTABS(220,25,'机构净买:'+ NUMTOSTRN(JGJM,1)),COLORRED,LINETHICK2; DRAWTEXTABS(1,40,'大户流入:'+ NUMTOSTRN(DHMR,1)),ColorFF00FF,LINETHICK1; DRAWTEXTABS(110,40,'大户流出:'+ NUMTOSTRN(DHMC,1)),COLOR00ff00,LINETHICK1; DRAWTEXTABS(220,40,'大户净买:'+ NUMTOSTRN(DHJM,1)),COLORRED,LINETHICK2; DRAWTEXTABS(1,55,'中户流入:'+ NUMTOSTRN(ZHMR,1)),ColorFF00FF,LINETHICK1; DRAWTEXTABS(110,55,'中户流出:'+ NUMTOSTRN(ZHMC,1)),COLOR00ff00,LINETHICK1; DRAWTEXTABS(220,55,'中户净买:'+ NUMTOSTRN(ZHJM,1)),COLORRED,LINETHICK2; DRAWTEXTABS(1,70,'散户流入:'+ NUMTOSTRN(SHMR,1)),ColorFF00FF,LINETHICK1; DRAWTEXTABS(110,70,'散户流出:'+ NUMTOSTRN(SHMC,1)),COLOR00ff00,LINETHICK1;DRAWTEXTABS(220,70,'散户净买:'+NUMTOSTRN(SHJM,1)),COLORRED,LINETHICK2;【大智慧】分时副图(突破、主力流入、主力流出、中户流入)-指标公式效果图(文档来源:若水财经社区)。
(整理)大智慧指标公式.
REFLINE: 0, ,, , ;Var2:=1/WINNER(CLOSE);Var3:=100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100);STICKLINE(Var2>5,Var3<100,Var2,5,0),;Var4:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;Var5:=SMA(Var4,5,1);Var6:=SMA(Var5,9,1);STICKLINE(VOL AND Var6<18,0,V ar2*0.5,5,0),coloryellow;〖觅庄建仓〗:0,coloryellow;5>1/WINNER(CLOSE) AND Var6<18;控盘强弱Vur1:=VOL/CAPITAL;Vur2:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);Vur3:=2.5*MAX(Vur1,Vur2);Vur4:=DMA(CLOSE,Vur3);Vur5:=20*(Vur4/REF(Vur4,1)-1)*38;Vur6:=EMA(Vur5,2);Vur7:=EMA(Vur5,2);Vur8:=EMA(Vur7,3);VurS:=EMA(Vur7,8);Vur9:=1.1*(MAX(INDEXH,REF(INDEXC,1))/MIN(INDEXL,REF(INDEXC,1))-1); VurA:=2.5*MAX(Vur1,Vur9);VurB:=DMA(INDEXC,VurA);VurC:=EMA(20*(VurB/REF(VurB,1)-1),1)*38;VurD:=EMA(VurC,2);VurE:=EMA(VurC,2);D强:STICKLINE(VurD>0,0,VurD,6.5,1),colorB210E4;D弱:STICKLINE(VurD<0,0,VurD,6.5,1),colorFFA6A6;极强:STICKLINE(Vur5>0,0,Vur5,6.5,0),COLORYELLOW;强势:STICKLINE(Vur6>0,0,Vur6,6.5,0),COLORRED;极弱:STICKLINE(Vur5<0,0,Vur5,6.5,0),color10D010;弱势:STICKLINE(Vur6<0,0,Vur6,6.5,0),colorE4E410;DX:VurE,color1088FF,LINETHICK2;界:VurS,color6CBC10,LINETHICK2;控:Vur8,colorFF10FF;指:Vur7,color10E4E4;V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;庄秘撤: IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2;庄秘进: IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);V A:=EMA(V9,3);VB:=(V9-VA)/2;大筹金进场: IF(VB>=0,VB,0),COLORYELLOW,LINETHICK2;大筹金撤走: IF(VB<=0,VB,0),COLORBLUE,LINETHICK2;aa:=WINNER(CLOSE+CLOSE*15/100)*100;bb:=WINNER(CLOSE+CLOSE*0/100)*100;cc:=aa-bb;dd:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100; ee:=cc<3 and dd<0.5 and OPEN<>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 ee,10,0);筹码进场日:IF(a11,8,0),LINETHICK0;STICKLINE(a12,0,15,5,0),colorff00ff;筹码加仓日:IF(a12,88,0),LINETHICK0;STICKLINE(a12,0,15,5,0),colorff00ff;STICKLINE(a11,0,5,5,0),colorff7700;STICKLINE(a11,0,5,4.5,0),colorff8800;STICKLINE(a11,0,5,4,0),colorff9900;STICKLINE(a11,0,5,3.5,0),colorffaa00;STICKLINE(a11,0,5,3,0),colorffbb00;STICKLINE(a11,0,5,2.5,0),colorffcc00;STICKLINE(a11,0,5,2,0),colorffdd00;STICKLINE(a11,0,5,1,0),colorffee00;STICKLINE(a12,0,15,4.5,0),color102099;STICKLINE(a12,0,15,4,0),color1020aa;STICKLINE(a12,0,15,3.5,0),color1020bb;STICKLINE(a12,0,15,3,0),color1020cc;STICKLINE(a12,0,15,2.5,0),color1020dd;STICKLINE(a12,0,15,2,0),color1020ee;STICKLINE(a12,0,15,1,0),color1020ff;DRAWTEXT(a11,8,'筹码进场');DRAWTEXT(a12,17,'筹码加仓');Var1:=REF(LOW,1);Var2:=SMA(ABS(LOW-Var1),13,1)/SMA(MAX(LOW-Var1,0),13,1)*4;Var3:=EMA(Var2,13);Var4:=LLV(LOW,34);Var5:=EMA(IF(LOW<=Var4,Var3,0),3);主力进场:IF(Var5>REF(Var5,1),V AR5,0),COLORred,LINETHICK2;STICKLINE(Var5>REF(Var5,1),0,V ar5,7,0 ),COLORRED;洗盘:IF(V AR5<REF(VAR5,1),V AR5,0),COLORGREEN,LINETHICK2;STICKLINE(V AR5<REF(V AR5,1),0,V AR5,2,1),COLORGREEN;Var6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SM A(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var7:=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);Var8:=Var6<REF(Var7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(V ar8 AND COUNT(Var8,30)=1,40,'★有筹码进场');天使报佳音vor03:=EMA(c,3);vor07:=EMA(c,7);vor13:=EMA(c,13);vor21:=EMA(c,21);vor34:=EMA(c,34);vor55:=EMA(c,55);y03:EMA(vor03,3),linethick1,colorred;y07:EMA(vor07,7),linethick1,COLOR0099FF;y13:EMA(vor13,13),linethick1,coloryellow;y21:EMA(vor21,21),linethick1,colorblue;y34:EMA(vor34,34),linethick1,colorcf88ee;y55:EMA(vor55,55),linethick1,colorwhite;vor023:=hhv(y03,3)/hhv(h,3);vor027:=hhv(y07,7)/hhv(h,7);vor213:=hhv(y13,13)/hhv(h,13);vor221:=hhv(y21,21)/hhv(h,21);vor234:=hhv(y34,34)/hhv(h,34);vor255:=hhv(y55,55)/hhv(h,55);vor33:=c*vor023;vor37:=c*vor027;vor313:=c*vor213;vor321:=c*vor221;vor334:=c*vor234;vor355:=c*vor255;vor43:=longcross(vor023,y03+0.1,10);vor47:=longcross(vor027,y07+0.1,10);vor413:=longcross(vor313,y13+0.1,10);vor421:=longcross(vor321,y21+0.1,10);vor434:=longcross(vor334,y21+0.1,10);vor455:=longcross(vor355,y55+0.1,10);DRAWICON(vor413,HIGH*1.235,1);DRAWICON(vor421,HIGH*1.235,1);DRAWICON(vor434,HIGH*1.35,1);DRAWICON(vor455,HIGH*1.46,1);stickline(vor43,if(c>0,llv(y03,22),y03),if(c>0,hhv(y03,22),y03),6,0),colorred;stickline(vor47,if(c>0,llv(y07,33),y07),if(c>0,hhv(y07,33),y07),6,0),COLOR0099FF;stickline(vor413,if(c>0,llv(y13,44),y13),if(c>0,hhv(y13,44),y13),6,0),coloryellow;stickline(vor421,if(c>0,llv(y21,55),y21),if(c>0,hhv(y21,55),y21),6,0),colorblue;stickline(vor434,if(c>0,llv(y34,66),y34),if(c>0,hhv(y34,66),y21),6,0),colorcf88ee;stickline(vor455,if(c>0,llv(y55,88),y55),if(c>0,hhv(y55,88),y21),6,0),colorwhite;资金流量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));STICKLINE(((HSL * 0.4) >= 0),((HSL * 0.4) * 1.5),0,1,0),color808080;STICKLINE(((HSL * 0.4) < 0),((HSL * 0.4) * 1.5),0,1,0),color808080;GJJ:=EMA(攻击流量,8);LLJX:=EMA(攻击流量,3);资金流量:LLJX,LINETHICK0,color0000FF;STICKLINE((资金流量> 0),资金流量,0,7,0),color0000FF;STICKLINE((资金流量< 0),资金流量,0,7,0),colorFF0000;流量基线:GJJ,color00FFFF;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)),LINETHICK0;力度:(HSL / 1000),LINETHICK0;周流量:SUM(LLJX,5),LINETHICK0;BB:=REF(周流量,1);ZQZJJ:=(((周流量- BB) / BB) * 100);周增幅:IF(((周流量> 0) AND (BB < 0)),ABS(ZQZJJ),IF((((周流量< 0) AND (BB < 0)) AND (周流量< BB)),(0 - ZQZJJ),ZQZJJ)),LINETHICK0;0,color808080;庄见愁获利线:EMA(WINNER(C)*100,3),colorwhite;庄筹线:EMA(WINNER(C)*70,5),colorred,linethick2;散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,5),coloryellow,linethick2;收:=winner(C)*100;开:=winner(O)*100;博弈K线长:MAX(ABS(收-开),ABS(收-REF(收,1))),pointdot,colorwhite;STICKLINE(庄筹线>散筹线,庄筹线,散筹线,0,0),COLOrwhite;stickline(收>=REF(收,1),0,博弈K线长,4,0),colorred;stickline(收<=REF(收,1),0,博弈K线长,4,0),color00ff00;{庄筹线:EMA(WINNER(C)*70,5), colorred, linethick2;散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),colorgreen, linethick2;}5,colorwhite,pointdot;20,coloryellow,pointdot;40,colorffcc66,pointdot;60,colorff00ff,pointdot;cc:FILTER((CROSS(5,庄筹线) and 散筹线<20 )*60,10 ),colorff00ff;DRAWTEXT(cc ,60 ,'海底捞活鱼(抄底)' ),colorff00ff;aa:= ref(庄筹线,30)>40 or ref(庄筹线,20)>40;aa1:=cross(庄筹线,散筹线);DRAWTEXT(AA1,70,'鸡雀升天'),color00ff00;bb:=CROSS(28,庄筹线) and 散筹线>40 and aa=1 and LLV(l ,60 )>LLV(l ,250 ); DRAWTEXT(bb,30,'决战诱空'),colorwhite;IF(bb,30,60 ),colorffcccc;135均线法则EMA13:EMA(C,13),COLORBLUE,LINETHICK2;EMA17:EMA(C,17),COLORRED,LINETHICK2;EMA34:EMA(C,34),COLORGREEN;EMA55:EMA(C,55),COLORFF00FF;EMA120:EMA(C,120),COLORFFCC66;AR1:=EMA55>EMA34 AND EMA34>EMA13;AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);AR3:=EMA13>=REF(EMA13,2);AR4:=COUNT(CROSS(C,EMA13),AR2)=1;AR5:=AR1 AND AR2 AND AR3 AND AR4;AR6:=AR5 AND FILTER(AR5,10);DRAWTEXT(AR6,L-0.09,'红杏出墙'),COLORYELLOW;{STICKLINE(AR6,H,L,0.5,1),COLORYELLOW;STICKLINE(AR6,O,C,6,1),LINETHICK2,COLORYELLOW;}BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3) OR REF(C,4)<REF(EMA55,4) OR REF(C,5)<REF(EMA55,5));BR4:=BR1 AND BR2 AND BR3;DRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'蚂蚁上树'),COLOR00C5FF; {STICKLINE(BR4 AND FILTER(BR4,10),H,L,0.5,1),COLOR00C5FF;STICKLINE(BR4 AND FILTER(BR4,10),O,C,6,1),LINETHICK2,COLOR00C5FF;}CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.03;CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);{STICKLINE(CR6,H,L,0.5,1),COLORF00FF0;STICKLINE(CR6,O,C,6,1),LINETHICK2,COLORF00FF0;}DRAWTEXT(CR6,L-0.09,'红衣侠女'),COLORF00FF0;DR1:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(C,1) ;DR7:= DR1 AND DR5 AND DR6 ;DR8:=DR7 AND FILTER(DR7 ,10);DRAWTEXT(DR8,L-0.09,'黑客点击'),COLORD6BA63;{STICKLINE(DR8,H,L,0.5,1),COLORD6BA63;STICKLINE(DR8,O,C,6,1),LINETHICK2,COLORD6BA63;}ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55); DRAWTEXT(ER,L-0.09,'均线互换'),COLOR0099FF;{STICKLINE(ER,H,L,0.5,1),COLOR0099FF;STICKLINE(ER,O,C,6,1),LINETHICK2,COLOR0099FF;}FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34);DRAWTEXT(FR,L-0.09,'梅开二度'),COLORWHITE;{STICKLINE(FR,H,L,0.5,1),COLORWHITE;STICKLINE(FR,O,C,6,1),LINETHICK2,COLORWHITE;}GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);GR4:=H=HHV(H,GR1);GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);GR6:=GR2 AND GR3 AND GR4;GR7:=GR2 AND GR3 AND GR4 AND GR5;DRAWTEXT(GR6 AND GR7,H+0.13,'*!'),COLOR00FF00;STICKLINE(GR6 AND GR7,H,H+0.09,4,0),COLOR00FF00;HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55);DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.09,'三线推进'),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),H,L,0.5,1),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),O,C,6,1),LINETHICK2,COLORFFC8FF;。
【股票指标公式下载】-【大智慧】精确买卖(主力撤、主力进、趋势线、卖临界)
【大智慧】精确买卖(主力撤、主力进、趋势线、卖临界)-指标公式源码V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;主力撤: IF(V4<=0,V4,0),colorblue;主力进: IF(V4>=0,V4,0),colorff00ff;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);VA:=EMA(V9,3);VB:=(V9-VA)/2;大盘资金进场:IF(VB>=0,VB,0),Colorred;大盘资金撤走:IF(VB<=0,VB,0),colorgreen;V11:=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(V11,3);V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;准备现金: STICKLINE(趋势线<=13,0,20,5,0),colorcc9900;aa:=(趋势线<=13) and filter((趋势线<=13),15);drawtext (aa,30,'准备现金'),colorcc9900;买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),color0099ff;bb:= (趋势线<=13 AND V12>13) and filter((趋势线<=13 AND V12>13),10) ; drawtext (bb,60,'买入股票'),color0099ff;卖临界: STICKLINE(趋势线>90 and 趋势线>ref(趋势线,1),100,95,15,1),COLORFFFF00;见顶清仓:filter(趋势线>90 and 趋势线<ref(趋势线,1) and 主力进<ref(主力进,1),8);DRAWTEXT( 见顶清仓,90,'逃顶'),coloryellow;cc:=(趋势线>=90 AND V12) and filter((趋势线>=90 AND V12),10);stickline(大盘资金进场 and 趋势线<13,0,30,10,0),colorred;stickline(大盘资金撤走 and 趋势线>90,0,30,10,0),colorgreen;stickline(主力进 and 趋势线<13,0,40,10,0),colorff00ff;stickline(主力撤 and 趋势线>90,0,40,10,0),colorblue;【大智慧】精确买卖(主力撤、主力进、趋势线、卖临界)-指标公式效果图(文档来源:若水财经社区)。
大智慧主力吸筹指标公式
大智慧主力吸筹指标公式价量: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;主线:(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),COLORCYAN;快线:(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25) ,COLOR55AAFF;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 AND TGLXS>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;{散户套牢筹码}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>50AND ZZLJJ>REF(ZZLJJ,1),ZZLKP,50,1.5,0 ),COLOR0022CC;STICKLINE(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50AND 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、十年不败V1:=LLV(LOW,10);V2:=HHV(HIGH,20);lyf1:=EMA(((CLOSE-V1)/(V2-V1))*((-100)),3);V ARg5:=((CLOSE)/(REF(CLOSE,5))>=1.15);V ARg6:=BACKSET(VARg5,5);入市日:=IF((VARg6 AND (COUNT(V ARg6,5)=1) or (CLOSE>=HHV(HIGH,HIGH)) AND ((CLOSE)/(REF(CLOSE,1))>1.098) AND (REF(VOL,LOW)>REF(VOL,34)) AND (REF(VOL,LOW)>REF(VOL,1)) AND (L YF1>(-93))AND (REF(VOL,LOW)>REF(VOL,8))),60,0);cross(入市日,(58));2、私募进场aa:=winner(c+c*15/100)*100;bb:=winner(c+c*0/100)*100;cc:=aa-bb;dd:=(winner(c-c*0.1/100)-winner(c-c*15/100))*100;ee:=cc<3 and dd<0.5 and o<>l;a1:=dynainfo(6);a2:=if(l>a1,0,if(h<a1,1,(a1-l+0.01)/(h-l+0.01)));a3:=v/winner(l);a4:=ref(hhv(c,120),1);a5:=ref(llv(c,120),1);a6:=100*(c-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 ee,10,0);私募机构进场日:stickline(a11,0,5,5,0),colorff7700;私募机构加仓日:stickline(a12,0,15,5,0),colorff00ff;stickline(a11,0,5,5,0),colorff7700;stickline(a11,0,5,4.5,0),colorff8800;stickline(a11,0,5,4,0),colorff9900;stickline(a11,0,5,3.5,0),colorffaa00;stickline(a11,0,5,3,0),colorffbb00;stickline(a11,0,5,2.5,0),colorffcc00;stickline(a11,0,5,2,0),colorffdd00;stickline(a11,0,5,1,0),colorffee00;stickline(a12,0,15,4.5,0),color102099;stickline(a12,0,15,4,0),color1020aa;stickline(a12,0,15,3.5,0),color1020bb;stickline(a12,0,15,3,0),color1020cc;stickline(a12,0,15,2.5,0),color1020dd;stickline(a12,0,15,2,0),color1020ee;stickline(a12,0,15,1,0),color1020ff;drawtext(a11,8,'S'),COLORYELLOW;drawtext(a12,17,'J'),COLORWHITE;3、底部换手OBVobv1:=sum(if(c>ref(c,1),v,if(c<ref(c,1),-v,0)),0);{求得obv}HS:=SUMBARS(v,CAPITAL); {换手一次时间}AA:=if(c>llv(c,HS),1,-1);{期间股价是否创新底}BB:= if(obv1>llv(obv1,HS),1,-1);{期间obv是否创新底}CC:=AA*BB;DD:if(cc=-1,obv1*1.12,obv1);{两者是否背离}obv:obv1;4、火焰觅庄Var1:=EMA(HHV(HIGH,500),21);Var2:=EMA(HHV(HIGH,250),21);Var3:=EMA(HHV(HIGH,90),21);Var4:=EMA(LLV(LOW,500),21);Var5:=EMA(LLV(LOW,250),21);Var6:=EMA(LLV(LOW,90),21);Var7:=EMA((Var4*0.96+V ar5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21); Var8:=EMA((Var4*1.25+V ar5*1.23+V ar6*1.2+Var1*0.55+V ar2*0.55+Var3*0.65)/6,21);Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21); VarA:=EMA((Var7*3+Var8*2+V ar9)/6*1.738,21);VarB:=REF(LOW,1);VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;VarD:=EMA(IF(CLOSE*1.35<=VarA,VarC*10,VarC/10),3);VarE:=LLV(LOW,30);VarF:=HHV(VarD,30);Var10:=IF(MA(CLOSE,58),1,0);火焰山:EMA(IF(LOW<=VarE,(VarD+VarF*2)/2,0),3)/618*Var10,coloryellow;火焰:=STICKLINE(火焰山>0 ,0 ,火焰山,4 ,1);今量:火焰山;STICKLINE(火焰山>0,0 ,今量*1.2,8,0 ),COLOR00EEff;STICKLINE(火焰山>0,0 ,今量*0.8,8,0 ),COLOR00BBff;STICKLINE(火焰山>0,0 ,今量*0.6,8,0 ),COLOR0099ff;STICKLINE(火焰山>0,0 ,今量*0.4,8,0 ),COLOR0066ff;STICKLINE(火焰山>0,0 ,今量*0.2,8,0 ),COLOR0000ff;5、金牌逃顶{p1 1 100 12 ; p2 1 100 50}V AR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70; V AR2:=SMA(V AR1,9,1)+100;V AR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;V AR4:=SMA(V AR3,3,1);V AR5:=SMA(V AR4,3,1)+100;V AR6:=V AR5-V AR2;趋势: IF(VAR6>45,V AR6-45,0);STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋势,1),5,0),colorff00ff; STICKLINE(REF(趋势,1)> 趋势, 趋势,REF(趋势,1),5,0),color00ff00;强弱分界:50,POINTDOT,Colorffffcc;0,Color00Ffff;20,POINTDOT,COlORFFAA66,linethick1;80,POINTDOT,COlORFFAA66,linethick1;100,Colorffff33;v1:=llv(low,10);v2:=hhv(h,25);价位线:=ema((c-v1)/(v2-v1)*4,4);DRAWTEXT(CROSS(价位线,0.3),7,'●'),ColorFFFfff;DRAWTEXT(CROSS(3.5,价位线),102,'●'),ColorFFFfff;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<=V ar5q,(Var4q+Var6q*2)/2,0),3)/618*Var7q;Var9q:=IF(Var8q>100,100,Var8q);吸筹:STICKLINE(Var9q>-120,0,V ar9q,6,1),coloryellow;AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:=CEILING(SMA(AA5,13,8));AA6:=SMA(AA3,21,8);卖临界:STICKLINE(走势-AA6>85,103,100,15,1),Color0000ff,linethick2;6、真实成交量VOL,VOLSTICK;V AR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));{成交:VOL,POINTDOT; }主动买盘:IF(CLOSE>OPEN,V AR1*(HIGH-LOW),IF(CLOSE<OPEN,V AR1*((HIGH-OPEN)+(CLOSE -LOW)),VOL/2)),COLORRED,POINTDOT;主动卖盘:IF(CLOSE>OPEN,0-V AR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-V AR1*( HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;STICKLINE(VOL>0,VOL,0,4,1),COLORWHITE;STICKLINE(主动买盘>0,0,主动买盘,4,0),COLORRED;STICKLINE(主动卖盘<0,0,主动卖盘,4,0),COLOR00FF00;净买盘:主动买盘+主动卖盘,pointdot,coloryellow;换手率%:VOL/CAPITAL*100,POINTDOT,COLORYELLOW;7、波段神偷{m:3,100,60; n:3,100,30。
大智慧】资金详细源码(当日资金流入、主力资金进出、控盘度)
大智慧】资金详细源码(当日资金流入、主力资金进出、控盘度)大智慧】资金详细源码(当日资金流入、主力资金进出、控盘度)-股票指标公式下载S1X:=10;S1Y:=15;HS:=vol/capital;DD:=BIGORDER(1,3)-BIGORDER(2,3);DT:=HS*DD*100;特大户 := (DT * capital) * DYNAINFO(11)/10000;DRAWMOVETEXT(1,'当日资金流入特大:'+NUMTOSTRN(特大户,0)+'万元'),colorred;DRAWTEXTABS(S1X,S1Y*1,'特大资金进出');DRAWTEXTABS(S1X,S1Y*2,'3日流入:'+NUMTOSTRN(sum (特大户,3),0)+'万元'),colorred;DRAWTEXTABS(S1X,S1Y*3,'5日流入:'+NUMTOSTRN(sum (特大户,5),0)+'万元'),colorred;DRAWTEXTABS(S1X,S1Y*4,'10日流入:'+NUMTOSTRN(sum (特大户,10),0)+'万元'),colorred;DRAWTEXTABS(S1X,S1Y*5,'20日流入:'+NUMTOSTRN(sum (特大户,20),0)+'万元'),colorred;DRAWTEXTABS(S1X,S1Y*6,'30日流入:'+NUMTOSTRN(sum (特大户,30),0)+'万元'),colorred;DRAWTEXTABS(S1X,S1Y*7,'60日流入:'+NUMTOSTRN(sum (特大户,60),0)+'万元'),colorred;HS1:=vol/capital;DD1:=(BIGORDER(1,2)-BIGORDER(2,2))-(BIGORDER(1,3)-BIGORDER(2,3));DT1:=HS1*DD1*100;大户 := (DT1 * capital) * DYNAINFO(11)/10000;s2x:=s1x+130;s2y:=15;DRAWMOVETEXT(1,'大户:'+NUMTOSTRN(大户,0)+'万元'),colorred;DRAWTEXTABS(s2X,S2Y*1,'大户资金进出');DRAWTEXTABS(S2X,S2Y*2,'3日流入:'+NUMTOSTRN(sum (大户,3),0)+'万元'),colorred;DRAWTEXTABS(S2X,S2Y*3,'5日流入:'+NUMTOSTRN(sum (大户,5),0)+'万元'),colorred;DRAWTEXTABS(S2X,S2Y*4,'10日流入:'+NUMTOSTRN(sum (大户,10),0)+'万元'),colorred;DRAWTEXTABS(S2X,S2Y*5,'20日流入:'+NUMTOSTRN(sum (大户,20),0)+'万元'),colorred;DRAWTEXTABS(S2X,S2Y*6,'30日流入:'+NUMTOSTRN(sum (大户,30),0)+'万元'),colorred;DRAWTEXTABS(S2X,S2Y*7,'60日流入:'+NUMTOSTRN(sum (大户,60),0)+'万元'),colorred;HS2:=vol/capital;dd2:=(BIGORDER(1,1)-BIGORDER(2,1))-(BIGORDER(1,2)-BIGORDER(2,2));DT2:=HS2*DD2*100;中户 := (DT2 * capital) * DYNAINFO(11)/10000;s3x:=s2x+130;s3y:=15;DRAWMOVETEXT(1,'中户:'+NUMTOSTRN(中户,0)+'万元'),colorgreen;DRAWTEXTABS(S3X,S3Y*1,'中户资金进出');DRAWTEXTABS(S3X,S3Y*2,'3日流入:'+NUMTOSTRN(sum (中户,3),0)+'万元'),colorgreen;(中户,5),0)+'万元'),colorgreen;DRAWTEXTABS(S3X,S3Y*4,'10日流入:'+NUMTOSTRN(sum (中户,10),0)+'万元'),colorgreen;DRAWTEXTABS(S3X,S3Y*5,'20日流入:'+NUMTOSTRN(sum (中户,20),0)+'万元'),colorgreen;DRAWTEXTABS(S3X,S3Y*6,'30日流入:'+NUMTOSTRN(sum (中户,30),0)+'万元'),colorgreen;DRAWTEXTABS(S3X,S3Y*7,'60日流入:'+NUMTOSTRN(sum (中户,60),0)+'万元'),colorgreen;HS3:=vol/capital;dd3:=-(BIGORDER(1,1)-BIGORDER(2,1));DT3:=HS3*DD3*100;散户 := (DT3 * capital) * DYNAINFO(11)/10000;s4x:=s3x+130;s4y:=15;DRAWMOVETEXT(1,'散户:'+NUMTOSTRN(散户,0)+'万元'),colorgreen;DRAWTEXTABS(S4X,S4Y*1,'散户资金进出');DRAWTEXTABS(S4X,S4Y*2,'3日流入:'+NUMTOSTRN(sum (散户,3),0)+'万元'),colorgreen;DRAWTEXTABS(S4X,S4Y*3,'5日流入:'+NUMTOSTRN(sum (散户,5),0)+'万元'),colorgreen;DRAWTEXTABS(S4X,S4Y*4,'10日流入:'+NUMTOSTRN(sum (散户,10),0)+'万元'),colorgreen;DRAWTEXTABS(S4X,S4Y*5,'20日流入:'+NUMTOSTRN(sum (散户,20),0)+'万元'),colorgreen;DRAWTEXTABS(S4X,S4Y*6,'30日流入:'+NUMTOSTRN(sum (散户,30),0)+'万元'),colorgreen;(散户,60),0)+'万元'),colorgreen;HS4:=vol/capital;dd4:=BIGORDER(1,2)-BIGORDER(2,2);DT4:=HS4*DD4*100;主力 := (DT4 * capital) * DYNAINFO(11)/10000;主力买入手数 := (capital*DT4);s5x:=s4x+130;s5y:=15;DRAWMOVETEXT(1,'主力:'+NUMTOSTRN(主力,0)+'万元'+ ' 占流通盘:'+主力买入手数/CAPITAL+'%'+' 占成交量:'+主力买入手数/vol+'%'),colorred;DRAWTEXTABS(S5X,S5Y*1,'主力资金进出 (特大户+大户)');DRAWTEXTABS(S5X,S5Y*2,'3日流入:'+NUMTOSTRN(sum (主力,3),0)+'万元' + ' 占流通盘:'+sum(主力买入手数,3)/CAPITAL+'%'+' 占成交量:'+sum(主力买入手数,3)/sum(vol,3)+'%'),colorred;DRAWTEXTABS(S5X,S5Y*3,'5日流入:'+NUMTOSTRN(sum (主力,5),0)+'万元'+ ' 占流通盘:'+sum(主力买入手数,5)/CAPITAL+'%'+' 占成交量:'+sum(主力买入手数,5)/sum(vol,5)+'%'),colorred;DRAWTEXTABS(S5X,S5Y*4,'10日流入:'+NUMTOSTRN(sum (主力,10),0)+'万元'+ ' 占流通盘:'+sum(主力买入手数,10)/CAPITAL+'%'+' 占成交量:'+sum(主力买入手数,10)/sum(vol,10)+'%'),colorred;DRAWTEXTABS(S5X,S5Y*5,'20日流入:'+NUMTOSTRN(sum (主力,20),0)+'万元'+ ' 占流通盘:'+sum(主力买入手数,20)/CAPITAL+'%'+' 占成交量:'+sum(主力买入手数,20)/sum(vol,20)+'%'),colorred;DRAWTEXTABS(S5X,S5Y*6,'30日流入:'+NUMTOSTRN(sum(主力,30),0)+'万元'+ ' 占流通盘:'+sum(主力买入手数,30)/CAPITAL+'%'+' 占成交量:'+sum(主力买入手数,30)/sum(vol,30)+'%'),colorred;DRAWTEXTABS(S5X,S5Y*7,'60日流入:'+NUMTOSTRN(sum (主力,60),0)+'万元'+ ' 占流通盘:'+sum(主力买入手数,60)/CAPITAL+'%'+' 占成交量:'+sum(主力买入手数,60)/sum(vol,60)+'%'),colorred;。
指标中有主力进出和主力出货的指标公式
指标中有主力进出和主力出货的指标公式主力进出和主力出货是股市分析中常用的指标,用于分析市场中主力资金的流向和操作情况。
本文将介绍主力进出和主力出货的指标公式,以及它们在股市分析中的应用。
一、主力进出指标公式主力进出指标是通过计算主力资金的流入和流出来衡量市场资金的活跃程度和主力资金的操作意图。
主力进出指标的公式如下:主力进出 = 大单买入额 - 大单卖出额其中,大单买入额是指当日所有买入成交额超过一定金额的交易,大单卖出额是指当日所有卖出成交额超过一定金额的交易。
主力进出指标的数值越大,表示主力资金越活跃,市场信心越强烈。
主力进出指标可以用来判断市场的买盘和卖盘力量,进而预测股价的走势。
当主力进出指标为正值时,表示主力资金净流入,市场情绪乐观,可能会推动股价上涨;当主力进出指标为负值时,表示主力资金净流出,市场情绪悲观,可能会导致股价下跌。
二、主力出货指标公式主力出货指标是通过计算主力资金的卖出量和总成交量之比来衡量主力资金的出货意愿。
主力出货指标的公式如下:主力出货 = 主力卖出量 / 总成交量主力卖出量是指当日主力资金卖出的股票数量,总成交量是指当日市场的总交易量。
主力出货指标的数值越大,表示主力资金出货比例越高,市场情绪可能较为悲观。
主力出货指标可以用来判断主力资金的操作意图和市场情绪。
当主力出货指标较高时,表示主力资金有较大的出货意愿,可能预示着股价下跌的风险;当主力出货指标较低时,表示主力资金出货比例较小,市场情绪较为乐观,股价可能有上涨的机会。
三、主力进出和主力出货的应用主力进出和主力出货指标在股市分析中具有重要的应用价值。
它们可以帮助投资者判断市场资金的流向和主力资金的操作意图,从而做出更明智的投资决策。
主力进出指标可以用来判断市场的买卖力量,帮助投资者捕捉市场的热点和趋势。
当主力资金净流入时,表示市场情绪较为乐观,投资者可以考虑逢低买入;当主力资金净流出时,表示市场情绪较为悲观,投资者应谨慎操作。
大智慧资金流指标公式(一)
大智慧资金流指标公式(一)大智慧资金流指标公式1. 什么是大智慧资金流指标公式?大智慧资金流指标公式是一种用于分析股票市场中资金流向的指标,通过计算买入和卖出的成交额,可以揭示资金的动向和趋势。
在股票交易中,资金流指标是非常重要的参考工具,能够帮助投资者判断市场的强弱。
2. 主力资金净流入指标(主力净流入)主力净流入指标用于衡量主力资金在股票市场中的活动情况。
该指标表示主力买入金额与主力卖出金额的差额。
主力净流入 = 主力买入金额 - 主力卖出金额举例:假设某股票在一天内的交易中,主力买入金额为500万元,主力卖出金额为300万元,则主力净流入为200万元,表示主力资金净流入。
3. 超大单净流入指标(超大单净流入)超大单净流入指标用于衡量超大单资金在股票市场中的活动情况。
超大单是指单笔买入或卖出金额超过一定阈值(一般为100万元)的交易。
超大单净流入 = 超大单买入金额 - 超大单卖出金额超大单卖出金额为100万元,则超大单净流入为50万元,表示超大单资金净流入。
4. 大单净流入指标(大单净流入)大单净流入指标用于衡量大单资金在股票市场中的活动情况。
大单是指单笔买入或卖出金额超过一定阈值(一般为50万元)的交易。
大单净流入 = 大单买入金额 - 大单卖出金额举例:某股票在一天内的交易中,大单买入金额为80万元,大单卖出金额为60万元,则大单净流入为20万元,表示大单资金净流入。
5. 中单净流入指标(中单净流入)中单净流入指标用于衡量中单资金在股票市场中的活动情况。
中单是指单笔买入或卖出金额在一定阈值(一般为10万元至50万元)范围内的交易。
中单净流入 = 中单买入金额 - 中单卖出金额举例:某股票在一天内的交易中,中单买入金额为30万元,中单卖出金额为20万元,则中单净流入为10万元,表示中单资金净流入。
6. 小单净流入指标(小单净流入)小单净流入指标用于衡量小单资金在股票市场中的活动情况。
小单是指单笔买入或卖出金额低于一定阈值(一般为10万元)的交易。
【股票指标公式下载】-【大智慧】看资金(主力流入净量、主力账户、统计分类)
【大智慧】看资金(主力流入净量、主力账户、统计分类)-指标公式源码VAR0:=REF(AMOUNT,3)/10000/10000;VAR1:=REF(AMOUNT,4)/10000/10000;VAR2:=REF(AMOUNT,2)/10000/10000;VAR3:=REF(AMOUNT,1)/10000/10000;VAR4:=AMOUNT/10000/10000;DRAWTEXTABS(16,8,'统计分类'),COLORWHITE;VAR5:=AMOUNT * BIGORDER(1,3);VAR6:=AMOUNT * (BIGORDER(1,2) - BIGORDER(1,3));VAR7:=AMOUNT * (BIGORDER(1,1) - BIGORDER(1,2));VAR8:=AMOUNT * (1 - BIGORDER(1,1));VAR9:=VAR5 + VAR6 + VAR7 + VAR8;VAR10:=AMOUNT * BIGORDER(2,3);VAR11:=AMOUNT * (BIGORDER(2,2) - BIGORDER(2,3));VAR12:=AMOUNT * (BIGORDER(2,1) - BIGORDER(2,2));VAR13:=AMOUNT * (1 - BIGORDER(2,1));VAR14:=(BIGORDER(1,2) - BIGORDER(2,2)) * VOL/CAPITAL * 100;VAR15:=BIGORDER(1,2) * AMOUNT/10000;VAR16:=BIGORDER(2,2) * AMOUNT/10000;主力流入净量:VAR15 - VAR16,LINETHICK0,COLOR00AAFF;VAR17:=REF(VAR15,0);VAR18:=REF(VAR15,1);VAR19:=REF(VAR15,2);VAR20:=REF(VAR15,3);VAR21:=REF(VAR15,5);VAR22:=REF(VAR16,0);VAR23:=REF(VAR16,1);VAR24:=REF(VAR16,2);VAR25:=REF(VAR16,3);VAR26:=REF(VAR16,4);DRAWTEXTABS(8,35,'主力账户'),COLORWHITE;DRAWTEXTABS(8,60,'超大账户'),COLORWHITE;DRAWTEXTABS(8,85,'大户账户'),COLORWHITE;DRAWTEXTABS(8,110,'中户账户'),COLORWHITE; DRAWTEXTABS(8,135,'散户账户'),COLORWHITE; DRAWTEXTABS(5,165,'股价涨幅(%)'),COLORWHITE; DRAWTEXTABS(16,190,'' + STKNAME + ''),COLORWHITE; DRAWTEXTABS(78,190,'' + STKLABEL + ''),COLORRED;VAR27:=BKNAME;VAR28:=' 板块类别: ' + VAR27; DRAWTEXTABS(140,190,VAR28),COLORWHITE;DRAWTEXTABS(515,60,'' + SUM(REF(VAR5 - VAR10,0)/10000,2) + ''),COLORWHITE;DRAWTEXTABS(625,60,'' + SUM(REF(VAR5 - VAR10,0)/10000,3) + ''),COLORWHITE;DRAWTEXTABS(735,60,'' + SUM(REF(VAR5 - VAR10,0)/10000,4) + ''),COLORWHITE;DRAWTEXTABS(845,60,'' + SUM(REF(VAR5 - VAR10,0)/10000,5) + ''),COLORWHITE;DRAWTEXTABS(515,85,'' + SUM(REF(VAR6 - VAR11,0)/10000,2) + ''),COLORWHITE;DRAWTEXTABS(625,85,'' + SUM(REF(VAR6 - VAR11,0)/10000,3) + ''),COLORWHITE;DRAWTEXTABS(735,85,'' + SUM(REF(VAR6 - VAR11,0)/10000,4) + ''),COLORWHITE;DRAWTEXTABS(845,85,'' + SUM(REF(VAR6 - VAR11,0)/10000,5) + ''),COLORWHITE;DRAWTEXTABS(515,110,'' + SUM(REF(VAR7 - VAR12,0)/10000,2) + ''),COLORWHITE;DRAWTEXTABS(625,110,'' + SUM(REF(VAR7 - VAR12,0)/10000,3) + ''),COLORWHITE;DRAWTEXTABS(735,110,'' + SUM(REF(VAR7 - VAR12,0)/10000,4) + ''),COLORWHITE;DRAWTEXTABS(845,110,'' + SUM(REF(VAR7 - VAR12,0)/10000,5) + ''),COLORWHITE;DRAWTEXTABS(515,135,'' + SUM(REF(VAR8 - VAR13,0)/10000,2) + ''),COLORWHITE;DRAWTEXTABS(625,135,'' + SUM(REF(VAR8 - VAR13,0)/10000,3) +''),COLORWHITE;DRAWTEXTABS(735,135,'' + SUM(REF(VAR8 - VAR13,0)/10000,4) +''),COLORWHITE;DRAWTEXTABS(845,135,'' + SUM(REF(VAR8 - VAR13,0)/10000,5) +''),COLORWHITE;DRAWTEXTABS(515,35,'' + SUM(REF(VAR17 - VAR22,0),2) + ''),COLORWHITE; DRAWTEXTABS(625,35,'' + SUM(REF(VAR17 - VAR22,0),3) + ''),COLORWHITE; DRAWTEXTABS(735,35,'' + SUM(REF(VAR17 - VAR22,0),4) + ''),COLORWHITE; DRAWTEXTABS(845,35,'' + SUM(REF(VAR17 - VAR22,0),5) + ''),COLORWHITE; DRAWTEXTABS(485,8,'连续2日总计(万元)'),COLOR088FFF;DRAWTEXTABS(705,8,'连续4日总计(万元)'),COLOR088FFF;DRAWTEXTABS(595,8,'连续3日总计(万元)'),COLOR088FFF;DRAWTEXTABS(815,8,'连续5日总计(万元)'),COLOR088FFF;DRAWTEXTABS(502,163,'2日:' + SUM((CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,2) + '%'),COLORWHITE;DRAWTEXTABS(612,163,'3日:' + SUM((CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,3) + '%'),COLORWHITE;DRAWTEXTABS(722,163,'4日:' + SUM((CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,4) + '%'),COLORWHITE;DRAWTEXTABS(832,163,'5日:' + SUM((CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,5) + '%'),COLORWHITE;DRAWTEXTABS(385,60,'超大:' + NUMTOSTRN(REF(VAR5 -VAR10,0)/10000,0)),COLORWHITE;DRAWTEXTABS(320,60,NUMTOSTRN(REF(VAR5 - VAR10,1)/10000,0)),COLORWHITE; DRAWTEXTABS(220,60,NUMTOSTRN(REF(VAR5 - VAR10,2)/10000,0)),COLORWHITE; DRAWTEXTABS(120,60,NUMTOSTRN(REF(VAR5 - VAR10,3)/10000,0)),COLORWHITE; DRAWTEXTABS(385,85,'大户:' + NUMTOSTRN(REF(VAR6 -VAR11,0)/10000,0)),COLORWHITE;DRAWTEXTABS(320,85,NUMTOSTRN(REF(VAR6 - VAR11,1)/10000,0)),COLORWHITE; DRAWTEXTABS(220,85,NUMTOSTRN(REF(VAR6 - VAR11,2)/10000,0)),COLORWHITE; DRAWTEXTABS(120,85,NUMTOSTRN(REF(VAR6 - VAR11,3)/10000,0)),COLORWHITE; DRAWTEXTABS(385,110,'中户:' + NUMTOSTRN(REF(VAR7 -VAR12,0)/10000,0)),COLORWHITE;DRAWTEXTABS(320,110,NUMTOSTRN(REF(VAR7 -VAR12,1)/10000,0)),COLORWHITE;DRAWTEXTABS(220,110,NUMTOSTRN(REF(VAR7 -VAR12,2)/10000,0)),COLORWHITE;DRAWTEXTABS(120,110,NUMTOSTRN(REF(VAR7 -VAR12,3)/10000,0)),COLORWHITE;DRAWTEXTABS(385,135,'散户:' + NUMTOSTRN(REF(VAR8 -VAR13,0)/10000,0)),COLORWHITE;DRAWTEXTABS(320,135,NUMTOSTRN(REF(VAR8 -VAR13,1)/10000,0)),COLORWHITE;DRAWTEXTABS(220,135,NUMTOSTRN(REF(VAR8 -VAR13,2)/10000,0)),COLORWHITE;DRAWTEXTABS(120,135,NUMTOSTRN(REF(VAR8 -VAR13,3)/10000,0)),COLORWHITE;DRAWTEXTABS(385,35,'主力:' + NUMTOSTRN(VAR17 - VAR22,0)),COLORWHITE; DRAWTEXTABS(320,35,NUMTOSTRN(VAR18 - VAR23,0)),COLORWHITE; DRAWTEXTABS(220,35,NUMTOSTRN(VAR19 - VAR24,0)),COLORWHITE; DRAWTEXTABS(120,35,NUMTOSTRN(VAR20 - VAR25,0)),COLORWHITE; DRAWTEXTABS(385,163,'涨幅:' + NUMTOSTRN((CLOSE -REF(CLOSE,1))/REF(CLOSE,1) * 100,2) + '%'),COLORWHITE; DRAWTEXTABS(315,163,NUMTOSTRN((REF(CLOSE,1) -REF(CLOSE,2))/REF(CLOSE,2) * 100,2) + '%'),COLORWHITE; DRAWTEXTABS(215,163,NUMTOSTRN((REF(CLOSE,2) -REF(CLOSE,3))/REF(CLOSE,3) * 100,2) + '%'),COLORWHITE; DRAWTEXTABS(115,163,NUMTOSTRN((REF(CLOSE,3) -REF(CLOSE,4))/REF(CLOSE,4) * 100,2) + '%'),COLORWHITE; DRAWTEXTABS(83,8,'四日前净买(万元)'),COLOR088FFF;DRAWTEXTABS(188,8,'前日净买(万元)'),COLOR088FFF;DRAWTEXTABS(289,8,'昨日净买(万元)'),COLOR088FFF;DRAWTEXTABS(389,8,'今日净买(万元)'),COLOR088FFF;DRAWGBKLAST(1,STRIP(RGB(0,0,0),RGB(30,40,55),0));DRAWRECTABS(0,0,920,210,0),COLOR777777;DRAWRECTABS(79,155,920,185,2301560),COLOR777777;DRAWRECTABS(0,25,920,156,3614750),COLOR777777;DRAWRECTABS(0,79,920,105,3939930),COLOR777777;DRAWRECTABS(379,25,480,156,10330),COLOR777777;DRAWRECTABS(0,25,80,185,2626650),COLOR777777;DRAWRECTABS(0,184,920,210,3614750),COLOR777777;DRAWRECTABS(0,0,80,185,0),COLOR777777;DRAWRECTABS(0,0,180,185,0),COLOR777777;DRAWRECTABS(0,0,280,185,0),COLOR777777;DRAWRECTABS(0,0,380,185,0),COLOR777777;DRAWRECTABS(0,0,480,185,0),COLOR777777;DRAWRECTABS(0,0,590,185,0),COLOR777777;DRAWRECTABS(0,0,700,185,0),COLOR777777;DRAWRECTABS(0,0,810,185,0),COLOR777777;【大智慧】看资金(主力流入净量、主力账户、统计分类)-指标公式效果图(文档来源:若水财经社区)。
很牛很好用的大智慧技术指标公式源码
很牛很好用的大智慧公式源码奉献给大家,共享(方法是只要你复制以下公式到大智慧公式编辑器即可):一、专吸庄血(公式源码)N:=5;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),,1),COLORYELLOW,LINETHICK0; VAR2:8,COLORGREEN,LINETHICK0;上升在即: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;专吸庄血: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;DRAWTEXT(CROSS(VAR1,VAR2),80,'准备买入'),COLOR00FFFF;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<10),80,100) ,COLOR00CCFF,LINETHICK1;0,LINETHICK2 ,COLORFFCC00;二、资金判牛(公式源码)做空能量线:SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGREEN,LINETHICK3;做多能量线: SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORRED,LINETHICK3; 短线通道:15,COLORGREEN;强弱分界:45,COLOR00FFFF;短线顶部:85,COLORFF00FF;FILLRGN(做多能量线,短线通道,做多能量线<=短线通道),COLORRED;FILLRGN(做空能量线,短线顶部,做空能量线>=短线顶部),COLORRED;FILLRGN(做空能量线,短线通道,做空能量线<=短线通道),COLORBLUE;FILLRGN(做多能量线,短线顶部,做多能量线>=短线顶部),COLORBLUE;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),3);主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),LINETHICK0,COLORRED; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,6,0 ),COLORRED;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,5,0 ),COLOR000055; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,4,0 ),COLOR000077; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,,0 ),COLOR000099;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,,0 ),COLOR0000BB;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,,0 ),COLOR0000DD;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1,0 ),COLOR0000FF;洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),LINETHICK0,COLORGREEN; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,6,0),COLORGREEN;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,5,0),COLOR005500;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,4,0),COLOR007700; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR009900;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,,0),COLOR00BB00;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,,0),COLOR00DD00;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1,0),COLOR00FF00;VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);VAR13:=EMA(VAR12,10);VAR14:=HHV(H,33);VAR15:=EMA(IF(H>=VAR14,VAR13,0),3);冲顶:IF(VAR15>REF(VAR15,1),VAR15,0),LINETHICK0,COLORFF00FF; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,6,0),COLORFF00FF; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,5,0 ),COLOR550055; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,4,0 ),COLOR770077; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0 ),COLOR990099; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,,0 ),COLORBB00BB; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,,0 ),COLORDD00DD; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1,0 ),COLORFF00FF;主力出场:IF(VAR15<REF(VAR15,1),VAR15,0),LINETHICK0,COLORYELLOW;STICKLINE(VAR15<REF(VAR15,1),0,VAR15,6,0 ),COLORYELLOW; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,5,0),COLOR005555; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,4,0),COLOR007777; STICKLINE(VAR15<REF(VAR5,1),0,VAR15,3,0),COLOR009999; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,,0),COLOR00BBBB; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,,0),COLOR00DDDD; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,1,0),COLOR00FFFF;A1:=REF(CLOSE,2);A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100; 波段介入点:IF(A2<19,19,0),COLORWHITE;4、新VOL(公式源码)当日:VOL;量5:MA(VOL,5),colorred;量10:MA(VOL,10);VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),Color0 000FF,STICK;主动卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),Color0 0E521,STICK;买卖盘比:主动买盘/主动卖盘;WJ:=(HIGH+LOW+CLOSE)/3;VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));VD5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);VD6:=(VD1*VD5);VD7:=(VD2*VD5);VD8:=(VD3*VD5);VD9:=(VD4*VD5);买入量:=(VD9+VD8);卖出量:=(VD6+VD7);买入资金:=买入量*close/100;卖出资金:=卖出量*close/100;资金进出:=买入资金-卖出资金;买卖资金比:=买入资金/卖出资金;挂单买盘:=MA(主动买盘,3);挂单卖盘:=(MA(主动卖盘,3));STICKLINE((主动买盘 > 0),0,主动买盘,8,0),color0000FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0018FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color001BFF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0022FF;STICKLINE((主动买盘 > 0),0,主动买盘,7,0),color0035FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0041FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0050FF;STICKLINE((主动买盘> 0),0,主动买盘,,0),color0059FF;STICKLINE((主动买盘 > 0),0,主动买盘,6,0),color0062FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color006CFF;STICKLINE((主动买盘> 0),0,主动买盘,,0),color007AFF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0080FF;STICKLINE((主动买盘 > 0),0,主动买盘,5,0),color0089FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0095FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color009CFF;STICKLINE((主动买盘 > 0),0,主动买盘,3,0),color00ABFF;STICKLINE((主动买盘> 0),0,主动买盘,,0),color00C0FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color00D1FF;STICKLINE((主动买盘> 0),0,主动买盘,1,0),color00EAFF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color00FFFF;STICKLINE((主动卖盘 > 0),0,主动卖盘,8,0),color006800;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color007F00;STICKLINE((主动卖盘 > 0),0,主动卖盘,7,5),color008B00;STICKLINE((主动卖盘 > 0),0,主动卖盘,7,3),color008B00;STICKLINE((主动卖盘> 0),0,主动卖盘,7,0),color009000;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color009500;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color009C00;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color00A300;STICKLINE((主动卖盘 > 0),0,主动卖盘,6,0),color00AB00;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color00AF00;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color00B900;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color00C000;STICKLINE((主动卖盘 > 0),0,主动卖盘,5,0),color00C100;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color00CA00;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color00D300;STICKLINE((主动卖盘> 0),0,主动卖盘,3,0),color00DB00;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color00EA00;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color00FF00;DRAWTEXTABS(1,1,'【买卖盘解量(手)】');DRAWTEXTABS(1,30,'┃当日买卖量='+NUMTOSTR(VOL)),ColorFF00FF;DRAWTEXTABS(1,60,'┃当日主动买量='+NUMTOSTR(主动买盘)),Color00ff00; DRAWTEXTABS(1,90,'┃当日主动卖量='+NUMTOSTR(主动卖盘)),Coloryellow; DRAWTEXTABS(1,120,'┃当日买卖盘比='+NUMTOSTR(买卖盘比)),ColorFF00FF; DRAWTEXTABS(250,30,'┃买入资金累计万元: '+NUMTOSTR(买入资金)),Colorred,LINETHICK1;DRAWTEXTABS(250,60,'┃卖出资金累计万元: '+NUMTOSTR(卖出资金)),Color00ff00,LINETHICK1; DRAWTEXTABS(250,90,'┃资金进出万元: '+NUMTOSTR(资金进出)),Coloryellow,LINETHICK1; DRAWTEXTABS(250,120,'┃买卖资金比: '+NUMTOSTR(买卖资金比)),Coloryellow,LINETHICK1; DRAWTEXTABS(1,150,'┃当日挂单买盘: '+NUMTOSTR(挂单买盘)),Colorred,LINETHICK1; DRAWTEXTABS(250,500,'┃当日挂单卖盘: '+NUMTOSTR(挂单卖盘)),Color00ff00,LINETHICK1;5、猎庄端窝(公式源码)DRAWTEXTREL(10,900,'..'),linethick1,COLOR00EEff;DRAWGBKLAST(1,STRIP(RGB(4,1,28),RGB(4,1,35),0));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),,1);小试牛刀: IF(CROSS(VAR1,8),8,0),STICK,COLORRED;DRAWICON(小试牛刀>0,8,7);发现庄迹: 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));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));CD5:=IF(CD4>,CD4,;CD6:=REF(CD5,1);VAR81:=MA(C,9);空头1:=IF(CD6-CD5,CD6,CD5);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),COLORRED;果断出击:IF(CROSS(端庄窝,,18,0),STICK,COLOR0000CC,LINETHICK2;DRAWICON(果断出击>0,18,7);XG:=CROSS(端庄窝,;选底:IF(XG=1,16,0),STICK,LINETHICK3;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;E:=CROSS(83,RSI);减仓空仓:10*(CROSS(CD6,CD5) OR E),COLORGREEN;DRAWICON(减仓空仓>0,113,8);STICKLINE(REF(端庄窝,1)<端庄窝,端庄窝,REF(端庄窝,1),7,0),COLORRED;STICKLINE(REF(端庄窝,1)>端庄窝,端庄窝,REF(端庄窝,1),7,0),COLOR00FF00;红持绿空:0,COLORGREEN;6、买点决策(公式源码)input:N(60,1,111);a1:=INDEXC;a2:=INDEXO;a3:=DISPSTATUS=1;a4:=BARSLAST(a3);a5:=(REF(a1,a4))/(REF(CLOSE,a4));a6:=IF(a3,CLOSE,(REF(CLOSE,a4)));a7:=IF(a3,(a1/a5),(REF((a1/a5),a4))); a8:=a6-a7;a9:=a2/a5;a10:=INDEXH/a5;a11:=INDEXL/a5;a12:=(CLOSE>OPEN)OR((CLOSE=OPEN)AND(CLOSE>(REF(CLOSE,1))));a13:=(a1>a2)OR((a1=a2)AND(a1>(REF(a1,1))));大盘:STICKLINE(a13,(a10 +a8),(a11 +a8),0,0),colorRed;STICKLINE(a13,((a1/a5) +a8),(a9 +a8),5,0),colorRed;STICKLINE(NOT(a13),(a11+a8),(a10+a8),0,0),colorGreen;STICKLINE(NOT(a13),((a1/a5)+a8),(a9+a8),5,0),colorGreen;PARTLINE(CLOSE,CLOSE>(a1/a5),RGB(255,0,0)),linethick2,colorRed;PARTLINE(CLOSE,CLOSE>(a1/a5)AND(CLOSE<(REF(CLOSE,1))),RGB(255,0,255)),linethick2,colorMagent a;PARTLINE(CLOSE,(CLOSE>(a1/a5)AND((MA(CLOSE,30))>(REF((MA(CLOSE,30)),1))))AND((MA((a1/a5),30) )<(REF((MA((a1/a5),30)),1))),RGB(255,255,0)),linethick2,colorYellow;STICKLINE((((REF(a1,1))<(REF(a2,1)))AND(a1>(REF(a1,1)))),((a1/a5)+a8),CLOSE,1,1),Color606060;STICKLINE((((REF(a1,1))>(REF(a2,1)))AND(a1<(REF(a1,1)))),((a1/a5)+a8),CLOSE,1,1),Color606060 ;a14:=MA(CLOSE,10);a15:=(((EMA(CLOSE,5))*7)+((EMA(CLOSE,10))* 3))/10;a16:=((SMA((MAX((CLOSE-(REF(CLOSE,1))),0)),6,1))/(SMA(ABS((CLOSE-(REF(CLOSE,1)))),6,1)))* 100;DRAWTEXT(((DATE >700101)AND(CROSS(84,a16))),HIGH,'▼'),colorGreen;a17:=(((2*CLOSE)+HIGH)+LOW)/4;a18:=LLV(LOW,34);a19:=HHV(HIGH,34);a20:=EMA((((a17-a18)/(a19-a18))*100),6);a21:=EMA((*(REF(a20,1)))+*a20)),4);a22:=LLV(LOW,120);a23:=HHV(HIGH,120);a24:=a23-a22;a25:=HHVBARS(CLOSE,N);REF(CLOSE,a25),POINTDOT,ColorFF0000;突破:FILTER(((CROSS(CLOSE,((REF(REF(CLOSE,a25),1))*))AND(REF((a25>=5),1))),10),POINTDOT,linethick0;STICKLINE(突破,(CLOSE*,CLOSE,5,0),ColorF600A9;DRAWTEXT((((SUM((突破>0),0))=1)AND 突破),(CLOSE*,'最佳买点'),colorWhite;DRAWTEXT((((SUM((突破>0),0))=2)AND 突破),(CLOSE*,'次佳买点'),colorWhite;DRAWTEXT((((SUM((突破>0),0))=3)AND 突破),(CLOSE*,'理想买点'),colorWhite;DRAWTEXT((((SUM((突破> 0),0))=4)AND 突破),(CLOSE * ,'及格买点'),colorWhite;DRAWTEXT((((SUM((突破> 0),0))>=5) AND 突破),(CLOSE * ,'突破'),colorWhite;a26:=(CLOSE<(a1/a5))AND(CROSS(80,a16));DRAWICON(a26,CLOSE,8);DRAWICON((CLOSE>(a1/a5)AND(CROSS(a16,17))),CLOSE,7);DRAWICON((CROSS(a16,10)),CLOSE,7);DRAWICON((CROSS(90,a16)),CLOSE,8);DRAWICON((CROSS(CLOSE,(a1/a5))),CLOSE,11);DRAWTEXT(((IF(((((((COUNT((CLOSE<(REF(CLOSE,1))),8))/8)>AND(COUNT((a20>a21),3)))AND((REF(LOW,1))=a22))AND(CLOSE>OPEN)),1,0))AND(CROSS(a16,15))),LOW, '★小底'),ColorFF8080;a27:=DYNAINFO(3);a28:=SMA(CLOSE,2,1);a29:=SMA(CLOSE,6,1);a30:=2*(a28-a29);DRAWTEXTABS(10,200,'■所属板块:'+BKNAME),ColorYELLOW,linethick1;流通盘大小:=FINANCE2(37)/1000000*100;DRAWTEXTABS(280,220,'流通盘大小:'+NUMTOSTRN(流通盘大小,2)+'亿'),LINETHICK1,ColorYELLOW; 每股收益:=FINANCE2(3);每股市盈率:=DYNAINFO(39);每股净资产:=FINANCE2(4);销售毛利率:=FINANCE2(12);主营收入同比:=FINANCE2(11);净利润同比增长:=FINANCE2(10);DRAWTEXTABS(170,220,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLOR00FF00;DRAWTEXTABS(170,240,'每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),COLORRED;DRAWTEXTABS(170,260,'每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORRED;DRAWTEXTABS(20,220,'销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),LINETHICK1,COLOR00FF00; DRAWTEXTABS(20,240,'主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),LINETHICK1,COLOR00FF00;DRAWTEXTABS(20,260,'净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),LINETHICK1,COLOR00FF00;7、数据投机(指标源码){计算股价}input:股数(0,0,),买入价(0,0,500),预期涨幅(0,0,100),服务费(0,0,100){根据各证券所收费不同,自行调节};预卖价位:=买入价*(预期涨幅*+1);买入收费:=买入价*股数*{各证券所收费不同,自行调节}+服务费;卖出收费:=预卖价位*股数*{各证券所收费不同,自行调节}+服务费;预期盈利:=预卖价位*股数-买入价*股数-买入收费-卖出收费;DRAWTEXTREL(320,850,'¤预卖价位: '+NUMTOSTRN(预卖价位,2)+' 元'),LINETHICK5,COLORAFAFAF; DRAWTEXTREL(540,850,'¤预期盈利: '+NUMTOSTRN(预期盈利,2)+' 元'),LINETHICK5,COLORAFAFAF; {庄家实力}cyc0:=MAXCYC;庄家实力:c/cyc0,precis2,LINETHICK0,COLORC68CFF;DRAWTEXTREL(100,70,'☆庄家实力: '+NUMTOSTRN(庄家实力,2)+' 级'),LINETHICK5,COLORC68CFF;{精确风险系数}rsv:=(c-llv(l,15))/(hhv(h,15)-llv(l,15))*100;kk:=sma(rsv,10,1);dd:=sma(kk,5,1);zlcm:=intpart(sma(rsv,10,1));shcm:=intpart(sma(kk,5,1));风险系数:zlcm+shcm-70,precis0,LINETHICK0,COLOR66FFFF;DRAWTEXTREL(320,70,'※风险系数: '+NUMTOSTRN(风险系数,2)+' 级'),LINETHICK5,COLOR66FFFF;{历史价位系数}历史价位:(c-llv(l,0))/(hhv(h,0)-llv(l,0))*100,precis0,LINETHICK0,COLORFFBB77; DRAWTEXTREL(755,70,'⊙历史价位: '+NUMTOSTRN(历史价位,2)+' %'),LINETHICK5,COLORFFBB77;{量能饱和度}饱和量度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20) )*100),precis0,LINETHICK0,COLORE07EAA;DRAWTEXTREL(60,270,'§饱和量度: '+NUMTOSTRN(饱和量度,2)+' ℃'),LINETHICK5,COLORE07EAA;{股价倾斜系数}hot:=ma(c,13);倾斜系数:atan(hot-ref(hot,1))**100,precis0,LINETHICK0,COLORFFCC62;DRAWTEXTREL(245,270,'∥倾斜系数: '+NUMTOSTRN(倾斜系数,2)+' 度'),LINETHICK5,COLORFFCC62; {获利比例}获利比例:WINNER(CLOSE)*100,precis0,LINETHICK0,COLOR79A5FF;浮筹比例:(winner(c*-winner(c*)/winner(hhv(h,0))*100,precis0,LINETHICK0,COLORFFCC62; DRAWTEXTREL(430,270,'◇获利比例: '+NUMTOSTRN(获利比例,2)+' %'),LINETHICK5,COLOR79A5FF; DRAWTEXTREL(615,270,'□浮筹比例: '+NUMTOSTRN(浮筹比例,2)+' %'),LINETHICK5,COLORFFCC62;{人均持股}人均持股:=INTPART(FINANCE2(36)/extradata('散户线')*10000);DRAWTEXTREL(800,270,'〓人均持股: '+NUMTOSTRN(人均持股,0)+' 股'),LINETHICK5,COLOR79A5FF; {止损价位}LC:=REF(CLOSE,1);止损价位:=(LC**97+/;DRAWTEXTREL(100,850,'☆止损价位: '+NUMTOSTRN(止损价位,2)+' 元'),LINETHICK5,colorWHITE;{成本预测}建仓成本:MAXCYC,precis2,LINETHICK0,COLORFFBB77;心理价位:DMA(AMOUNT/(100*VOL),VOL/(100*FINANCE2(37)))*,precis2,LINETHICK0,COLORC78EFF; DRAWTEXTREL(60,470,'○建仓成本: '+NUMTOSTRN(建仓成本,2)+' 元'),LINETHICK5,COLORFFBB77; DRAWTEXTREL(60,660,'◎心理价位: '+NUMTOSTRN(心理价位,2)+' 元'),LINETHICK5,COLORC78EFF; {上升空间}上升空间:100-c/(心理价位-建仓成本)*10,precis0,LINETHICK0,COLOR79A5FF;DRAWTEXTREL(540,70,'‖上升空间: '+NUMTOSTRN(上升空间,2)+' %'),LINETHICK5,COLOR79A5FF; {股价预测}VC:=(HIGH+LOW+OPEN+2*CLOSE)/5;明日阻力:=2*VC-LOW;明日支撑:=2*VC-HIGH;明日突破:=VC+(HIGH-LOW);明日反转:=VC-(HIGH-LOW);今日阻力:=REF(明日阻力 , 1);今日支撑:=REF(明日支撑 , 1);今日突破:=REF(明日突破 , 1);今日反转:=REF(明日反转 , 1);DRAWTEXTREL(245,470,'↑今日支撑: '+NUMTOSTRN(今日支撑,2)+' 元'),LINETHICK5,COLOR5959FF; DRAWTEXTREL(430,470,'↓今日阻力: '+NUMTOSTRN(今日阻力,2)+' 元'),LINETHICK5,COLOR61FE78; DRAWTEXTREL(615,470,'♂今日突破: '+NUMTOSTRN(今日突破,2)+' 元'),LINETHICK5,COLOR66FFFF; DRAWTEXTREL(800,470,'♀今日反转: '+NUMTOSTRN(今日反转,2)+' 元'),LINETHICK5,COLORFC878F; DRAWTEXTREL(245,660,'↑明日支撑: '+NUMTOSTRN(明日支撑,2)+' 元'),LINETHICK5,COLOR5959FF; DRAWTEXTREL(430,660,'↓明日阻力: '+NUMTOSTRN(明日阻力,2)+' 元'),LINETHICK5,COLOR61FE78; DRAWTEXTREL(615,660,'♂明日突破: '+NUMTOSTRN(明日突破,2)+' 元'),LINETHICK5,COLOR66FFFF; DRAWTEXTREL(800,660,'♀明日反转: '+NUMTOSTRN(明日反转,2)+' 元'),LINETHICK5,COLORFC878F; {实际盈亏}实际盈亏:c*股数-买入价*股数-买入收费-卖出收费,precis2,LINETHICK0,colorWHITE; DRAWTEXTREL(755,850,'¥实际盈亏: '+NUMTOSTRN(实际盈亏,2)+' 元'),LINETHICK5,colorWHITE;。
大智慧绝对厉害的主图指标公式
大智慧绝对厉害的主图指标公式R1:=MA(CLOSE,1);R2:=MA(CLOSE,3);R3:=(MA(R2,1)*1);R4:=(MA(R2,3)*1);X1:=(C+L+H)/3;DD:=FINANCE2(35);SS:=FINANCE2(37);GG:=FINANCE2(3);TH:=DYNAINFO(39);A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);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);a1:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4));a2:=((HHV(HIGH,15)) + (LLV(LOW,30))) / 2;a3:=EMA((MA(a1,5)),10);a4:=EMA((MA(a1,15)),10);a5:=EMA((MA(a1,13)),21);a6:=((a3 + a4) + a5) / 3;决策线:EMA((MA(CLOSE,5)),3),linethick2,colorFF0000;PARTLINE(决策线,决策线> (REF(决策线,3)),RGB(255,0,0)),linethick2,Color3300FF;DRAWTEXT(((CLOSE > 0) AND (DISPSTATUS = 2)),(决策线* 0.95),'决策价:'+决策线),MOVE10,ALIGN2,linethick2,colorRed;{支撑}VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2222:=CROSS(VAR1111,0.9);VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4444:=CROSS(VAR3333,0.9);压力: REF(HIGH,BARSLAST(Var2222)), POINTDOT,ColorEA91B5;STICKLINE(CLOSE,REF(HIGH,BARSLAST(Var2222)),REF(HIGH, BARSLAST(Var2222)),5,0),LINETHICK3,ColorEA91B5;支撑: REF(LOW,BARSLAST(Var4444)), POINTDOT,Color00b4ff,linethick3;STICKLINE(CLOSE,REF(LOW,BARSLAST(Var4444)),REF(LOW,B ARSLAST(Var4444)),5,0),LINETHICK3,Color00b4ff;弱势双线持币:HHV(MA(HIGH,(3)),2),LINETHICK2,COLOR00FF00;强势单线持股:LLV(MA(HIGH,(3)),1),LINETHICK2,ColorFF00FF;{老鼠仓}AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1,linethick0;DRAWTEXT(老鼠仓, (LOW* 0.99),'老鼠仓'),LINETHICK3,Color40CCFF;A74:=MA(CLOSE,20);A75:=(CLOSE > MA(CLOSE,5));A76:=(MA(CLOSE,5) > MA(CLOSE,10));A77:=(CLOSE > MA(CLOSE,10));A78:=(MA(CLOSE,5) > MA(CLOSE,20));A79:=(CLOSE > MA(CLOSE,20));A710:=REF(A74,1);A711:=(A74 > A710);AVX:=(((((IF(A75,10,(0 - 10)) + IF(A76,10,(0 - 10))) + IF(A77,10,(0 - 10))) + IF(A78,10,(0 - 10))) + IF(A79,10,(0 - 10))) + IF(A711,10,(0 - 10)));DSLX:=(CLOSE / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);V1:=MA(VOL,5);V2:=MA(VOL,10);T := BARSLAST(DISPSTATUS=1)+1;T := BARSLAST(DISPSTATUS=1)+1;HHg := HHV(H, T);ddg := LLV(L, T);{Hk := LL-HH; G12 := LL-HK*1.55; }IF BARSTATUS=2 and c<200 and ((CROSS(AVX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)) THENDRAWTEXTABS(32,100,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
(幅图指标)主力进出公式A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);主力:MA(A,4),LINETHICK0,color00FFFF;游资:MA(A,8),LINETHICK0,color00FF00;大户:MA(A,16),LINETHICK0,color0000FF;散户:MA(A,32),LINETHICK0,colorFFFF00;主力参与比例:CEILING(((主力/ (((主力+ 游资) + 大户) + 散户)) * 100)),LINETHICK0,color00FFFF;游资参与比例:CEILING(((游资/ (((主力+ 游资) + 大户) + 散户)) * 100)),LINETHICK0,color00FF00;大户参与比例:CEILING(((大户/ (((主力+ 游资) + 大户) + 散户)) * 100)),LINETHICK0,color0000FF;散户参与比例:CEILING(((散户/ (((主力+ 游资) + 大户) + 散户)) * 100)),LINETHICK0,colorFFFF00;警戒线:MA(A,180),colorFF00FF;STICKLINE((主力> 0),0,主力,8,0),color0000FF;STICKLINE((主力> 0),0,主力,7.8,0),color0018FF;STICKLINE((主力> 0),0,主力,7.5,0),color001BFF;STICKLINE((主力> 0),0,主力,7.3,0),color0022FF;STICKLINE((主力> 0),0,主力,7,0),color0035FF;STICKLINE((主力> 0),0,主力,6.8,0),color0041FF;STICKLINE((主力> 0),0,主力,6.5,0),color0050FF;STICKLINE((主力> 0),0,主力,6.3,0),color0059FF;STICKLINE((主力> 0),0,主力,6,0),color0062FF;STICKLINE((主力> 0),0,主力,5.7,0),color006CFF;STICKLINE((主力> 0),0,主力,5.5,0),color007AFF;STICKLINE((主力> 0),0,主力,5.3,0),color0080FF;STICKLINE((主力> 0),0,主力,5,0),color0089FF;STICKLINE((主力> 0),0,主力,4.5,0),color0095FF;STICKLINE((主力> 0),0,主力,3.5,0),color009CFF;STICKLINE((主力> 0),0,主力,3,0),color00ABFF;STICKLINE((主力> 0),0,主力,2.5,0),color00C0FF;STICKLINE((主力> 0),0,主力,1.5,0),color00D1FF;STICKLINE((主力> 0),0,主力,1,0),color00EAFF;STICKLINE((主力> 0),0,主力,0.7,0),color00FFFF;STICKLINE((游资> 0),0,游资,8,0),color006800;STICKLINE((游资> 0),0,游资,7.8,0),color007F00;STICKLINE((游资> 0),0,游资,7,5),color008B00;STICKLINE((游资> 0),0,游资,7,3),color008B00;STICKLINE((游资> 0),0,游资,6.8,0),color009500; STICKLINE((游资> 0),0,游资,6.5,0),color009C00; STICKLINE((游资> 0),0,游资,6.3,0),color00A300; STICKLINE((游资> 0),0,游资,6,0),color00AB00; STICKLINE((游资> 0),0,游资,5.7,0),color00AF00; STICKLINE((游资> 0),0,游资,5.5,0),color00B900; STICKLINE((游资> 0),0,游资,5.3,0),color00C000; STICKLINE((游资> 0),0,游资,5,0),color00C100; STICKLINE((游资> 0),0,游资,4.5,0),color00CA00; STICKLINE((游资> 0),0,游资,3.5,0),color00D300; STICKLINE((游资> 0),0,游资,3,0),color00DB00; STICKLINE((游资> 0),0,游资,2.5,0),color00EA00; STICKLINE((游资> 0),0,游资,1.5,0),color00FF00; STICKLINE((大户> 0),0,大户,8,0),color102088; STICKLINE((大户> 0),0,大户,7,0),color102099; STICKLINE((大户> 0),0,大户,6,0),color1020AA; STICKLINE((大户> 0),0,大户,5,0),color1020BB; STICKLINE((大户> 0),0,大户,4,0),color1020CC; STICKLINE((大户> 0),0,大户,3,0),color1020DD; STICKLINE((大户> 0),0,大户,2,0),color1020EE; STICKLINE((大户> 0),0,大户,1,0),color1020FF; STICKLINE((大户> 0),0,大户,8,0),color102088; STICKLINE((大户> 0),0,大户,7,0),color102099; STICKLINE((大户> 0),0,大户,6,0),color1020AA; STICKLINE((大户> 0),0,大户,5,0),color1020BB; STICKLINE((大户> 0),0,大户,4,0),color1020CC; STICKLINE((大户> 0),0,大户,3,0),color1020DD; STICKLINE((大户> 0),0,大户,2,0),color1020EE; STICKLINE((大户> 0),0,大户,1,0),color1020FF; STICKLINE((散户> 0),0,散户,8,0),colorFF7700; STICKLINE((散户> 0),0,散户,7,0),colorFF8800; STICKLINE((散户> 0),0,散户,6,0),colorFF9900; STICKLINE((散户> 0),0,散户,5,0),colorFFAA00; STICKLINE((散户> 0),0,散户,4,0),colorFFBB00; STICKLINE((散户> 0),0,散户,3,0),colorFFCC00; STICKLINE((散户> 0),0,散户,2,0),colorFFDD00; STICKLINE((散户> 0),0,散户,1,0),colorFFEE00; STICKLINE((散户> 0),0,散户,8,0),colorFF7700; STICKLINE((散户> 0),0,散户,7,0),colorFF8800; STICKLINE((散户> 0),0,散户,6,0),colorFF9900; STICKLINE((散户> 0),0,散户,5,0),colorFFAA00; STICKLINE((散户> 0),0,散户,4,0),colorFFBB00; STICKLINE((散户> 0),0,散户,3,0),colorFFCC00;STICKLINE((散户> 0),0,散户,1,0),colorFFEE00;逃顶专家公式用法:两条k线相重合,顶部到来,出现蓝色k线,逃顶。
量:=(CLOSE - LLV(LOW,32)) / (HHV(HIGH,32) - LLV(LOW,32)) * 1.2 * CLOSE; 量1:=EMA(量,3);量2:=EMA(量,5);量3:=EMA(量,7);STICKLINE(量1 >= 量2,量3,量1,8,0),color0000AA;STICKLINE(量1 >= 量2,量3,量1,7,0),color0000BB;STICKLINE(量1 >= 量2,量3,量1,6,0),color0000CC;STICKLINE(量1 >= 量2,量3,量1,5,0),color0000DD;STICKLINE(量1 >= 量2,量3,量1,4,0),color0000EE;STICKLINE(量1 >= 量2,量3,量1,3,0),color0000FF;STICKLINE(量1 <= 量2,量3,量1,8,0),colorFF0000;STICKLINE(量1 <= 量2,量3,量1,7,0),colorFF3300;STICKLINE(量1 <= 量2,量3,量1,6,0),colorFF5500;STICKLINE(量1 <= 量2,量3,量1,5,0),colorFF7700;STICKLINE(量1 <= 量2,量3,量1,4,0),colorFF9900;STICKLINE(量1 <= 量2,量3,量1,3,0),colorFFBB00;STICKLINE(量1 <= 量2,量3,量1,2,0),colorFFDD00;STICKLINE(量1 <= 量2,量3,量1,1,0),colorFFFF00;T1:=量2 >= 量3 AND 量1 < REF(量1,1);T2:=量2 < 量3 AND 量1 > REF(量1,1);STICKLINE(T1,量1,量3,8,0),colorFFBB11;STICKLINE(T1,量1,量3,7,0),colorFFCC22;STICKLINE(T1,量1,量3,5,0),colorFFDD33;STICKLINE(T1,量1,量3,3,0),colorFFEE44;STICKLINE(T1,量1,量3,1,0),colorFFFF55;STICKLINE(T2,量1,量3,10,0),color338FDD;STICKLINE(T2,量1,量3,8,0),colorFF00FF;STICKLINE(T2,量1,量3,1,0),color00DDFF;STICKLINE(T2,量1,量3,8,0),color00AAFF;STICKLINE(T2,量1,量3,6.6,0),color00BBFF;STICKLINE(T2,量1,量3,4.4,0),color00CCFF;STICKLINE(T2,量1,量3,3.3,0),color00DDFF;STICKLINE(T2,量1,量3,2.2,0),color00EEFF;STICKLINE(T2,量1,量3,1,0),color00FFFF;用此法看30分钟k线操作得心应手…大智慧主力进出1Var3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;Var6:=(Var3+Var4+Var5)/3;Var7:=EMA(Var6,5);指标: EMA(EMA(Var3,5),5)*3, COLORSTICK;Var8:=IF(Var6<=-20,10,0);Var9:=HHV(Var8,10);STICKLINE(Var8=10,20,10,5,0),COLOR6666FF;VarA:=IF(Var9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);K:EMA(Var7,5)*2, , COLORff00ff;D:EMA(K,5), , COLORWHITE;J:K*3-D*2, ,COLORYELLOW;VarB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;换手: VOL/CAPITAL*100, , COLORGREEN;成交〖万手〗: VOL/10000, , COLORYELLOW;DRAWTEXT(Var8=10 AND FILTER(Var8=10,5),-10{15},'接近底部'),linethick1,COLORYELLOW;STICKLINE(Var8=10 AND FILTER(Var8=10,5),-1.6{20},-10,5,0),coloryellow; DRAWTEXT(VarA=20,15,'底部'),linethick1,colorwhite;STICKLINE((VarA=20),0,10,5,0),colorwhite;VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));VARD:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3));STICKLINE((VARC=1),(-14),0,4,0),Color0000FF;DRAWTEXT((VARC=1),(-14),'买'),Color0000FF;STICKLINE((VARD=1),14,0,4,0),Color00FF00;DRAWTEXT((VARD=1),18,'卖'),Color00FF00;VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VarF:=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);Var10:=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);Var11:=VarF<REF(Var10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(Var11 AND COUNT(Var11,30)=1,15,'大资金活动'),linethick1,COLORff00ff;STICKLINE(Var11 AND COUNT(Var11,30)=1,1,10,5,0),colorff00ff;Var12:=(HIGH+LOW+CLOSE)/3;Var13:=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14));Var14:=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));Var15:=IF(Var13>=150 AND Var13<200 AND Var14>=150 AND Var14<200,10,0); Var16:=IF(Var13<=-150 AND Var13>-200 AND Var14<=-150 AND Var14>-200,-10,Var15);Var17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;Var18:=100-ABS(Var17);Var19:=IF(Var18<90,Var18,100);Var1A:=IF(VarE>0,VarE,0);Var1B:=IF(Var14>=200 AND Var13>=150,15,IF(Var14<=-200 AND Var13<=-150,-15,Var16))+60;Var1C:=Var1A>48 AND Var1B>60 AND Var19<100;DRAWTEXT(Var1C AND COUNT(Var1C,30)=1,15,'大笔出货'),linethick1,COLORffcc66;STICKLINE(Var1C AND COUNT(Var1C,30)=1,0,10,5,0),colorffcc66;买卖主图上线:=sma(c,6.5,1);下线:=sma(c,13.5,1);上线1:=sma(c,3,1);下线1:=sma(c,8,1);STICKLINE(上线>下线, 上线,下线,2.5, 0),colorred,linethick2;stickline(下线>上线,上线,下线,2.5,0),coloryellow,linethick2;DRAWTEXT( cross(上线,下线),low *0.95,'↑全仓' ),color00ff00;drawtext(cross(下线1,上线1),h*1.02,''),coloryellow;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;UPR:=BBI+3*STD(BBI,13),linethick2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,60),linethick2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,'减仓') ,COLORff9966,linethick2;A7:=(2*C+H+L)/4;操作:MA(a7,5),linethick2;操作1:=MA(a7,5)*1.03,linethick2;操作2:=MA(a7,5)*0.97,linethick2;Var1:LLV(a7,21);Var2:HHV(a7,21);SK:=EMA((A7-Var1)/(Var2-Var1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);DRAWTEXT(IF(count(close<ref(close,1),8)/8>6/10 and vol>=1.5*ma(vol,5) andcount(sk>=sd,3) and ref(low,1)=LLV(Low,120),1,0),LOW*0.98,'买进') ,COLOR0099ff; DRAWTEXT(IF(count(close<ref(close,1),13)/13>6/10 andcount(sk>sd,6) and ref(low,5)=LLV(Low,120) and ref(close>=open,4) andref(close>open,3) and REF(CLOSE>OPEN,2) AND ref(open>close,1) andopen>ref(close,1),1,0),LOW*0.98,'买进') ,COLOryellow;D:=MA(CLOSE,80)-MA(CLOSE,10)/3;DRAWTEXT(if(CLOSE<D and VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.98,'抄底'),coloryellow;。