【股票指标公式下载】-【通达信】主力卖点(火山、反转、拉升资金、主力资金)
通达信主力筹码一目了然副图指标
通达信主力筹码一目了然副图指标这是一个用来监控主力动向很优秀的指标,有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乖离系数:资金流向}{红}XXX(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR0000A A;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR0022C C;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF ;{粉}XXX(XXX<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORAA00B B;STICKLINE(TGLXS<0 ANDTGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORCC22B B;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFF55B B;{黄}XXX(TGLXS>0 ANDXXX<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00A AFF;XXX(TGLXS>0 ANDXXX<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR00C CFF;XXX(TGLXS>0XXX<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR00FFFF; {蓝}XXX(XXX<0XXX<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORFF7700; XXX<0XXX<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORFFAA22 ;STICKLINE(TGLXS<0XXX<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFFFF55; STICKLINE(TGLXS=0 ANDREF(TGLXS,1)>=0,100,TGLXS+100,8,0),COLORBROWN;STI CKLINE(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,NODR AW;{散户套牢筹码}XXX(C>0,ZSHTL,ZZLKP,2,0),COLOR;{散户筹码警戒}XXX(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C0C0;{主力控盘筹码}{粉}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORAA00BB;STICKLINE(ZZ LKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORCC22BB;STICKLINE(ZZ LKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5,0 ),COLOREE44BB;{蓝}XXX(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORFF7700;STICKLINE(ZZL KP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORFFAA22;STICKLINE(ZZL KP<=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(ZZLK P>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLOR5050FF;STICKLINE(ZZLK P>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5,0 ),COLOR7E7EFF;{深蓝}XXX(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(ZZLK P<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5 ,0 ),COLORFF0000;{主力筹马警卫} {黄}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2.5,0 ),C OLOR00AAFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,1.5,0 ),C OLOR00CCFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,0.5,0 ),C OLOR00FFFF;{红}XXX(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,2.5,0 ),COLOR0000AA;STICKLINE(Z ZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,1.5,0 ),COLOR0022CC;STICKLINE(Z ZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,0.5 ,0 ),COLOR0055FF;{红} XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,2.5,0 ),COLOR0000AA;XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50 ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,1.5,0 ),COLOR0022CC;XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50 ANDZZLJJ>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;{散兵坑}XXX(ZZLKP<=10,ZZLKP,0,5,0),COLORDD00DD;100,COLORGREEN;80,COLORGREEN;{0,COLORGREEN;}{主线快线}价量,COLOR0CC0FF,LINETHICK2;主线,COLOR00FFAA,LINETHICK2;快线,LINESTICK,COLORFF68DD;100线高低的柱线,表现资金收支情形。
抓住主力动向通达信指标公式源码
抓住主力动向通达信指标公式源码1.成交量变动率(VR):通达信指标公式:VR:=(AVS+V)/E/100;说明:其中AVS为前N日上涨成交量之和,V为当日上涨成交量,E 为前N日下跌成交量之和。
2.相对强弱指标(RSI):通达信指标公式:LC:=(1+C/REF(C,1))*LC[1]HC:=(1+C/REF(C,1))*HC[1]RSI:=(MA(LC,N1)-MA(HC,N1))/(MA(HC,N1))*100;说明:其中LC为前一日的收盘价,HC为前一日的最高价,N1为计算RSI的天数。
3.异同移动平均线(MACD):通达信指标公式:DIFF:=(EMA(C,SHORT)-EMA(C,LONG));DEA:=EMA(DIFF,M);MACD:=(DIFF-DEA)*2;说明:其中EMA为指数移动平均线函数,C为收盘价,SHORT为短期均线参数,LONG为长期均线参数,M为平均线参数。
4.动力指标(DMI):通达信指标公式:MTR:=MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW));HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;DMP:=SUM(IF(HD>0&&HD>LD,HD,0),N);DMM:=SUM(IF(LD>0&&LD>HD,LD,0),N);PDI:IF(DMP+DMM>0,DMP/(DMP+DMM)*100,0);MDI:IF(DMP+DMM>0,DMM/(DMP+DMM)*100,0);DX:IF(MDI+PDI>0,ABS((MDI-PDI)/(MDI+PDI))*100,0);ADX:=MA(DX,M);说明:其中MTR为真实波动幅度,HIGH为最高价,LOW为最低价,CLOSE为收盘价,REF为取前一日的数据,HD为高点移动平均,LD为低点移动平均,DMP为正动向指标,DMM为负动向指标,PDI为上升动向值,MDI为下降动向值,DX为动向指数,ADX为平均动向指数。
通达信主力资金进入指标公式
通达信主力资金进入指标公式【控盘、出货、吸货、对倒出货洗盘、黄色底部吸货、多头买入、多头卖出】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,'买。
通达信主力资金进入指标公式【控盘、出货、吸货、对倒出货洗盘、黄色底部吸货、多头买入、多头卖出】
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),,0),COLOR00AAFF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),,0),COLOR0044FF; STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),,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,,0),COLORFFAA00;STICKLINE(控盘<0,控盘,0,STICKLINE(控盘<0,控盘,0,,0),COLORFF8800;STICKLINE(控盘<0,控盘,0,0,0),COLORFFAA00;主力出货:0,COLORFFAA00;STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,,0),COLOR000088; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,,0),COLOR0000AA; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,,0),COLOR0000CC; STICKLINE(控盘>REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR0000EE;主力吸货:0,COLOR0000FF;STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,,0),COLOR008800; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,,0),COLOR00AA00; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,,0),COLOR00CC00; STICKLINE(控盘<REF(控盘,3) AND 控盘>0,控盘,0,1,0),COLOR00EE00; STICKLINE(DDX<0,0,DDX,,0),COLOR008800;STICKLINE(DDX<0,0,DDX,,0),COLOR00AA00;STICKLINE(DDX<0,0,DDX,,0),COLOR00CC00;STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;对倒出货洗盘:0,COLOR00FF00;黄色底部吸货:0,COLORYELLOW;DRAWTEXT(CROSS(控盘,0),0-3,'买。
通达信主力进出场+庄家出现指标公式
{庄家出现}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;J1:=REVERSE(J);AA:=REF(MA(C,1),10)>REF(MA(C,60),10);买点:CROSS(J,J1) AND AA;STICKLINE(买点,0,30,6,0),COLORBLUE;STICKLINE(买点,30,60,4,0),COLORWHITE;STICKLINE(买点,60,80,2,0),COLORYELLOW;DRAWTEXT(买点,70,'庄家出现'),COLORRED;{ 主力 进出场}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),COLORRED,NODRAW; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLORRED;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLORGREEN;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR005500;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.6,0),COLOR007700;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.1,0),COLOR009900;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,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),COLORFF00FF,NODRAW; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0),COLORFF00FF; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0 ),COLOR550055; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,2.6,0 ),COLOR770077;STICKLINE(VAR15>REF(VAR15,1),0,VAR15,2.1,0 ),COLOR990099;STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1.5,0 ),COLORBB00BB;STICKLINE(VAR15>REF(VAR15,1),0,VAR15,0.9,0 ),COLORDD00DD;STICKLINE(VAR15>REF(VAR15,1),0,VAR15,0.3,0 ),COLORFF00FF;主力出场:IF(VAR15<REF(VAR15,1),VAR15,0),COLORYELLOW,NODRAW; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,3,0 ),COLORYELLOW;STICKLINE(VAR15<REF(VAR15,1),0,VAR15,3,0),COLOR005555;STICKLINE(VAR15<REF(VAR15,1),0,VAR15,2.6,0),COLOR007777;STICKLINE(VAR15<REF(VAR5,1),0,VAR15,2.1,0),COLOR009999;STICKLINE(VAR15<REF(VAR15,1),0,VAR15,1.5,0),COLOR00BBBB;STICKLINE(VAR15<REF(VAR15,1),0,VAR15,0.9,0),COLOR00DDDD;STICKLINE(VAR15<REF(VAR15,1),0,VAR15,0.3,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;。
通达信火焰山指标
通达信火焰山指标通达信火焰山指标是一种技术分析工具,它能够帮助交易者在股票投资行业中更加准确地分析股票价格波动的趋势。
本文将着重介绍通达信火焰山指标的定义、计算方法以及应用实例。
一、定义通达信火焰山指标是一种基于K线图的技术分析工具,它主要用于判断市场价格的涨跌趋势。
该指标采用常见的买卖信号,包括EMA、MA、MACD等等,并结合了自有的算法,通过图表中涨跌的最高点、最低点等来计算出市场价格波动的情况。
通达信火焰山指标主要显示为一条黄色的曲线,该曲线能够直观地展示出股票价格的趋势,从而为投资者提供较准确的判断。
二、计算方法通达信火焰山指标的计算方法较为简单,其核心原理是结合两种基础指标进行计算,其中包括了EMA与K线。
具体计算方法如下:1. 计算EMA指标,通常选择12日、26日、9日的EMA指标;2. 计算K线指标,该指标是由最高价、最低价、收盘价三个数据计算出来;3. 将EMA与K线指标进行结合,从而得出通达信火焰山指标。
三、应用实例通达信火焰山指标主要应用于股票的技术分析,其价格波动趋势可以较好地与实际走势相符。
针对不同的技术分析方法,通达信火焰山指标可以提供不同的应对策略。
例如,在多头市场中,该指标可以作为买入信号,同时也可以在空头市场中作为卖出信号。
此外,通达信火焰山指标还可以较好地识别出价格波动的趋势,帮助投资者在交易中做出最恰当的决策。
总的来说,通达信火焰山指标是一种较为常见的技术分析工具,它可以为交易者提供较准确的股票价格趋势判断。
该指标的计算方法较为简单,且在应用实例中具有较好的灵活性,可以帮助投资者在交易中获得更多的利润。
主力拉升【副图 指标】通达信指标公式源码
主力拉升【副图指标】RSV:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100;K:EMA(RSV,3);D:EMA(K,3);J:=(3*K-2*D);火山:IF(J<=0,-J*5,0),LINETHICK0;STICKLINE(J<=0,0,火山,2,0),COLORRED;KDJ1:=REF(COUNT(J<REF(J,1),5)>=3,1) AND REF(J,1)<20;KDJ2:=J>REF(J,1);反转:IF(FILTER(KDJ1 AND KDJ2,3),30,0);VAR1:=1;VAR3:=LLV(HIGH,240);VAR4:=100*(CLOSE-VAR3)/VAR3*VAR1;VAR5:=REF(LLV(CLOSE,480),1)*VAR1;VAR6:=REF(HHV(CLOSE,480),1)*VAR1;VAR7:=100*(CLOSE-VAR5)/(VAR6-VAR5)*VAR1;VAR8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100*VAR1; VAR9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100*VAR1; VARA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100*VAR1; VARB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100*VAR1; VARC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4*VAR1; VARD:=IF(VARC>23.16,VARC,0)*VAR1;VARE:=VARC<1*VAR1;VARF:=VARD*VAR1;VAR10:=VAR4<0 AND VAR7<0;VAR11:=1;VAR12:=(HIGH+LOW+CLOSE*2)/4*VAR11;VAR13:=EMA(VAR12,21);VAR14:=STD(VAR12,21);VAR15:=((VAR12-VAR13)/VAR14*100+200)/4*VAR11;VAR16:=(EMA(VAR15,89)-25)*1.56*VAR11;VAR17:=EMA(VAR16,5)*1.22*VAR11;VAR18:=EMA(VAR17,3)*VAR11;VAR19:=3*VAR17-2*VAR18*VAR11;VAR1A:=IF(CROSS(VAR19,VAR17) AND CROSS(VAR19,VAR18) ANDCROSS(VAR17,VAR18),1,0);VAR1B:=IF(CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19) ANDCROSS(VAR18,VAR17),1,0);买点: IF(FILTER(VAR8=0 AND VARE AND VAR10 AND VAR1A,5)=1,50,0);卖点: IF(FILTER(VAR8=100 AND VARF AND VAR1B,5)=1,50,0);VAR1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*VAR 1;VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*VAR1;VAR1E:=EMA(VAR1D,30)*VAR1;VAR1F:=2*(VAR1D-VAR1E)*10*VAR1;VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2)*VAR1;VAR21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));VAR22:=EMA(VAR21*0.97,3)*VAR1;VAR23:=(HIGH+LOW+CLOSE)/3*VAR1;VAR24:=(VAR23-MA(VAR23,14))/(0.015*AVEDEV(VAR23,14))*VAR1; VAR25:=IF(VAR1F>0.015,VAR20,0)/45*VAR1;拉升资金: VAR25,COLORRED;VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150);VAR27:=EMA(VAR26,100);VAR28:=2*(VAR26-VAR27);VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);VAR2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));VAR2B:=EMA(VAR2A*0.97,3);VAR2C:=(HIGH+LOW+CLOSE)/3;VAR2D:=(VAR2C-MA(VAR2C,14))/(0.015*AVEDEV(VAR2C,14));主力资金: IF(VAR28>0.1,VAR29,0)*5;。
最新主力买卖通达信指标公式源码
最新主力买卖通达信指标公式源码通达信是国内广泛使用的炒股软件之一,提供了许多技术指标供投资者使用。
其中一个重要的指标是最新主力买卖指标,也称为资金流向指标。
该指标用于判断市场买卖力量的强弱,帮助投资者做出买卖决策。
首先,计算主力卖出成交量的公式如下:SellVol:REF(VOL,1)*(CLOS>OPEN)其中,REF(VOL,1)表示昨日的成交量,VOL表示当日的成交量,CLOS表示收盘价,OPEN表示开盘价。
公式的意思是,如果今日的收盘价大于开盘价,则认为当日的成交量为主力卖出成交量。
然后,计算主力买入成交量的公式如下:BuyVol:REF(VOL,1)*(CLOS<OPEN)类似地,如果今日的收盘价小于开盘价,则认为当日的成交量为主力买入成交量。
接下来,计算主力买卖比的公式如下:BuySellRatio:EMA(BuyVol,5)/EMA(SellVol,5)其中,EMA表示指数移动平均线,BuyVol和SellVol分别表示主力买入和主力卖出成交量。
该公式计算了主力买入成交量和主力卖出成交量的指数移动平均线,并得到了主力买卖比。
最后,计算主力买卖指标的公式如下:MainForceIndex:HHV(BuySellRatio,30)*100/LLV(BuySellRatio,30)其中,HHV表示最高价,LLV表示最低价。
该公式通过计算主力买卖比的最高值和最低值,并将其乘以100后除以最低值,得到了主力买卖指标。
通过以上公式的计算,可以得到最新主力买卖指标的数值。
当指标数值高于70时,表示市场有较强的买入力量;当指标数值低于30时,表示市场有较强的卖出力量。
投资者可以根据这些指标数值进行买卖决策。
总结起来,通达信最新主力买卖指标的公式源码如下:SellVol:REF(VOL,1)*(CLOS>OPEN)BuyVol:REF(VOL,1)*(CLOS<OPEN)BuySellRatio:EMA(BuyVol,5)/EMA(SellVol,5)MainForceIndex:HHV(BuySellRatio,30)*100/LLV(BuySellRatio,30)以上为公式的源码,投资者可以根据这些公式进行编程实现,方便使用最新主力买卖指标。
通达信深度主力分析主图指标公式
通达信深度主力分析主图指标公式DRAWKLINE(H,O,L,C);ZKP:=IF(C>REF(C,1),REF(C,1),DRAWNULL);ZSP:=IF(C>REF(C,1),C,DRAWNULL);DKP:=IF(C<=REF(C,1),REF(C,1),DRAWNULL);DSP:=IF(C<=REF(C,1),C,DRAWNULL);DRAWKLINE(H,DKP,L,DSP);stICKLINE(C<=REF(C,1),DKP,DSP,3.05,0),COLORBLUE;STICKLINE(C<=REF(C,1),DKP,DSP,2.2,0),COLORFF7700;STICKLINE(C<=REF(C,1),DKP,DSP,1.5,0),COLORFF9900;STICKLINE(C<=REF(C,1),DKP,DSP,0.5,0),COLORFFBB00;DRAWKLINE(H,ZKP,L,ZSP);STICKLINE(C>REF(C,1),ZKP,ZSP,3.05,0),COLOR000099;STICKLINE(C>REF(C,1),ZKP,ZSP,2.2,0),COLOR0000CC;STICKLINE(C>REF(C,1),ZKP,ZSP,1.5,0),COLOR0000FF;STICKLINE(C>REF(C,1),ZKP,ZSP,0.5,0),COLORCC66FF;STICKLINE(V/REF(V,1)>2 AND CLOSE>=OPEN,ZKP,ZSP,1,0),COLORYELLOW;VAR111:=zig(3,13);STICKLINE((REF(VAR111,2) < REF(VAR111,1)) AND (VAR111 < REF(VAR111,1)),CLOSE,OPEN,3,0),COLOR66FF00;{DRAWTEXT_FIX(STICKLINE((REF(VAR111,2) < REF(VAR111,1)) AND (VAR111 < REF(VAR111,1)),CLOSE,OPEN,5,0),0.00,0.11,0,''),COLOR00FF00,LI NETHICK1;}ma5:MA(C,5)LINETHICK3,COLOR00CCFF;MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1);B1:=FILTER(A1,10);C1:=BacKSET(B1,10+1);HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1);B2:=FILTER(A2,10);C2:=BACKSET(B2,10+1);LD:=FILTER(C2,10);前期高位:REF(C,BArslAST(HD)),COLOR8000FF,POINTDOT;STICKLINE(C,前期高位,前期高位,8,0),COLOR8000FF;JRH:=HHV(C,2);JRL:=LLV(C,2);VAR01:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));VAR02:=(REF(VAR01,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR03:=(REF(VAR02,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR04:=(REF(VAR03,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR05:=(REF(VAR04,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR06:=(REF(VAR05,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR07:=(REF(VAR06,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR08:=(REF(VAR07,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR09:=(REF(VAR08,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARA:=(REF(VAR09,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR010:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR011:=(REF(VAR010,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR012:=(REF(VAR011,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR013:=(REF(VAR012,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR014:=(REF(VAR013,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR015:=(REF(VAR014,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR016:=(REF(VAR015,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR017:=(REF(VAR016,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR018:=(REF(VAR017,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR019:=((REF(VARD OR VARE OR VARF OR VAR010 ORVAR011 OR VAR012 OR VAR013 OR VAR014 OR VAR015 OR VAR016 OR VAR017 OR VAR018,1)) AND VAR01);VAR1A:=((REF(VAR01 OR VAR02 OR VAR03 OR VAR04 OR VAR05 OR VAR06 OR VAR07 OR VAR08 OR VAR09 OR VARA OR VARB OR VARC,1)) AND VARD);红色持股:=VAR01 OR VAR02 OR VAR03 OR VAR04 OR VAR05 OR VAR06 OR VAR07 OR VAR08 OR VAR09 OR VARA OR VARB OR VARC,COLOR0000FF,NODRAW;离场:=IF(红色持股,JRL,DRAWNULL);明离场价:=离场,COLORFF99FF,NODRAW;青色观望:=VARD OR VARE OR VARF OR VAR010 OR VAR011 OR VAR012 OR VAR013 OR VAR014 OR VAR015 OR VAR016 OR VAR017 OR VAR018,COLORFFFF00,NODRAW;进:=IF(青色观望,JRH,DRAWNULL);今离场价:REF(离场,1),COLOR0000FF,NODRAW;明进场价:=进,COLOR33AACC,NODRAW;今进场价:REF(明进场价,1),COLORGREEN,NODRAW;上涨家数:INDEXADV,COLOR0080FF,NODRAW;下跌家数:INDEXDEC,COLORGREEN,NODRAW;五日乖离率:=(C-MA5)/MA5*100;BB5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((MA5-REF(MA5,1))/REF(MA5,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;IF(BB5>30 AND MA5>REF(MA5,1), MA5,DRAWNULL),LINETHICK3,COLORRED;BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;IF(BB5<0 AND MA5<REF(MA5,1), MA5,DRAWNULL),LINETHICK3,COLORGREEN;三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);VAR2:=(MA30-MA20)<REF((MA30-MA20),1) AND MA20<REF(MA20,1) AND MA30<REF(MA30,1);BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;强势狙击:=FILTER(BB30>30 AND BB10>45 AND crOSS(BB5,60),10);加仓:=FILTER(COUNT(CROSS(BB5,30),5)>=1 AND MA5>REF(MA5,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1),10);清仓:=FILTER(COUNT(CROSS(30,BB5),5)>=1 AND (C>MA30 OR O>MA30) AND MA5<REF(MA5,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10<REF(MA10,1),10);DRAWTEXT(加仓 ,LOW*0.96,'加'),COLORYELLOW;JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10>REF(MA10,1) ;减仓:=FILTER(JC,10);MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA5>REF(MA5,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30;买入:=FILTER(MR,10);DRAWTEXT(减仓,HIGH*1.01,'←风险'),COLORCYAN;DRAWTEXT(买入,LOW*0.99,'买'),COLORYELLOW;DRAWTEXT(清仓,HIGH*1.02,'←清仓'),COLORGREEN;DRAWTEXT(强势狙击,LOW*0.98,'←狙击'),COLORWHITE;VAR21:=MAX(Abs(HIGH-AMOUNT/vol/100),ABS(AMOUNT/VOL/100-LOW));VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;压力:MA(REF(HHV(C,30),1),2),COLORABFF46;支撑:MA(REF(LLV(C,30),1),2),COLOR9DFFFF;总额:=AMOUNT;买:=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;流入:=AMOUNT*买%/10000000000;流出:=AMOUNT/100000000-流入;净流:=(流入-流出);总额3:=SUM(AMOUNT,3);流入3:=SUM(流入,3);流出3:=SUM(流出,3);净流3:=SUM(流入-流出,3);总额5:=SUM(AMOUNT,5);流入5:=SUM(流入,5);流出5:=SUM(流出,5);净流5:=SUM(流入-流出,5);总额10:=SUM(AMOUNT,10);流入10:=SUM(流入,10);流出10:=SUM(流出,10);净流10:=SUM(流入-流出,10);画:=CONST(FINDHIGH(总额10,0,190,1));DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLOR00FFFF;DRAWTEXT_FIX(1,0.06,0,0,HYBLOCK)COLOR00FFFF;DRAWTEXT_FIX(1,0.14,0,0,'所属地区:')COLOR00FFFF;DRAWTEXT_FIX(1,0.20,0,0,DYBLOCK)COLOR00FFFF;DRAWTEXT_FIX(1,0.30,0.00,0,'主题投资:')COLOR00FFFF;DRAWTEXT_FIX(1,0.36,0.00,0,EXTERNSTR(0,2))COLOR00FFFF;DRAWTEXT_FIX(1,0.00,0.05,0,'主营业务:')COLOR00FFFF;DRAWTEXT_FIX(1,0.06,0.05,0,EXTERNSTR(0,3))COLOR00FFFF;DRAWTEXT_FIX(1,0.00,0.10,0,'解禁日期:')COLOR00FFFF;DRAWTEXT_FIX(1,0.06,0.10,0,EXTERNSTR(0,4))COLOR00FFFF;DRAWTEXT_FIX(1,0.00,0.15,0,'莸利比例:'),COLORYELLOW;DRAWNUMBER_FIX(1,0.06,0.15,0,CONST(WINNER(C )*100)), COLOR0080FF;DRAWTEXT_FIX(1,0.12,0.15,0,'动态PE:'),COLORYELLOW;DRAWNUMBER_FIX(1,0.17,0.15,0,CONST(DYNAINFO(39))),C OLOR0080FF;DRAWTEXT_FIX(1,0.22,0.15,0,'市值:'),COLORYELLOW;DRAWNUMBER_FIX(1,0.26,0.15,0,FINANCE(40)/100000000), COLOR0080FF;DRAWTEXT_FIX (1,0.31,0.15,0,'公积金(股):'),COLORYELLOW;DRAWNUMBER_FIX(1,0.38,0.15,0,FINANCE(18)),COLOR0080 FF;DRAWTEXT_FIX (1,0.43,0.15,0,'收益:'),COLORYELLOW;DRAWNUMBER_FIX(1,0.47,0.15,0,FINANCE(33)),COLOR0080 FF;DRAWTEXT_FIX(1,0.00,0.19,0,'净流入(亿):'),COLORYELLOW;DRAWTEXT_FIX(1,0.06,0.19,0,'1日'),COLORYELLOW;DRAWTEXT_FIX(1,0.12,0.19,0,'3日'),COLORYELLOW;DRAWTEXT_FIX(1,0.18,0.19,0,'5日'),COLORYELLOW;DRAWTEXT_FIX(1,0.24,0.19,0,'10日'),COLORYELLOW;DRAWNUMBER_FIX(1,0.08,0.19,0,CONST((净流))),COLOR0080FF;DRAWNUMBER_FIX(1,0.14,0.19,0,CONST((净流3))),COLOR0080FF;DRAWNUMBER_FIX(1,0.20,0.19,0,CONST((净流5))),COLOR0080FF;DRAWNUMBER_FIX(1,0.265,0.19,0,CONST((净流10))),COLOR0080FF;DRAWTEXT_FIX(1,0.00,0.23,0,'愚民导向:'),COLOR00FFFF;DRAWTEXT_FIX(1,0.06,0.23,0,EXTERNSTR(0,5)),COLOR00FFF F;DRAwrECTREL(0,500,147,999.4,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;TESTSKIP(NOT(超B OR 大B OR 中B OR 小B OR 超S OR 大S OR 中S OR 小S)!=0);大宗进:=(超B)+(大B),NODRAW;大宗出:=(超S)+(大S),NODRAW;非大宗进:=(中B)+(小B),NODRAW;非大宗出:=(中S)+(小S),NODRAW;大宗进限制:=IF((超B+大B)=0,0,大宗进);大宗出限制:=IF((超S+大S)=0,0,大宗出);非大宗进限制:=IF(中B+小B=0,0,非大宗进);非大宗出限制:=IF(中S+小S=0,0,非大宗出);主力净流入:=(超B+大B)-(超S+大S),COLORRED,NODRAW;散户净流入:=(中B+小B)-(中S+小S),COLORRED,NODRAW;净流入:=(超B+大B+中B+小B)-(超S+大S+中S+小S),COLORRED,NODRAW;大单流入:=(超B+大B)/(超B+大B+超S+大S)*100,NODRAW;大单流入限制:=IF((超B+大B+超S+大S)=0,0,大单流入);大单流出比:=(超S+大S)/(超B+大B+超S+大S)*100,NODRAW;大单流出限制:=IF((超B+大B+超S+大S)=0,0,大单流出比);总流入比:=(超B+大B+中B+小B)/(超B+大B+中B+小B+超S+大S+中S+小S)*100,NODRAW;总流出比:=(超S+大S+中S+小S)/(超B+大B+中B+小B+超S+大S+中S+小S)*100,NODRAW;成交总量:=(超B+大B+中B+小B+超S+大S+中S+小S),NODRAW;机构参与度:=(超B+超S+大B+大S)/成交总量*100,COLORYELLOW,NODRAW;大单强度:=(超B+大B-超S-大S)/成交总量*100,COLORYELLOW,NODRAW;大单强度限制:=IF(大单强度=0,-100,大单强度);大单强度比:=IF(大单强度>=0,(大单强度限制+100)/2,100-ABS((大单强度限制-100)/2)),NODRAW;超单强度:=(超B-超S)/(超B+超S)*100,COLORYELLOW,NODRAW;超单强度限制:=IF(超单强度=0,-100,超单强度);超单强度比:=IF(超单强度>0,(超单强度限制+100)/2,IF(超单强度<0,100-ABS((超单强度限制-100)/2),0)),NODRAW;DAZHIV:=CONST(MAX(ABS(大宗进),MAX(ABS(大宗出),MAX(ABS(非大宗进),ABS(非大宗出))))),NODRAW;DRAWRECTREL(0,CONST(930-(ABS(大宗进)*250/DAZHIV)),35,950,IF(CONST(大宗进>0),RGB(255,0,0),RGB(23,125,255)));DRAWRECTREL(37,CONST(930-(ABS(大宗出)*250/DAZHIV)),72,950,IF(CONST(大宗出>0),RGB(23,125,255),RGB(255,0,0)));DRAWRECTREL(75,CONST(930-(ABS(非大宗进)*250/DAZHIV)),110,950,IF(CONST(非大宗进>0),RGB(255,0,0),RGB(23,125,255)));DRAWRECTREL(112,CONST(930-(ABS(非大宗出)*250/DAZHIV)),147,950,IF(CONST(非大宗出>0),RGB(23,125,255),RGB(255,0,0)));DRAWRECTREL(150,CONST(940-(ABS(净流入)*250/DAZHIV))-20,190,950,IF(CONST(净流入>0),RGB(200,0,0),RGB(0,125,50)));DRAWTEXT_FIX(CURRBARSCOUNT=1,0.0001,0.9,0,STRCAT('' ,CON2STR(大宗进/1,0))),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.036,0.9,0,STRCAT('', CON2STR(大宗出/1,0))),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.074,0.9,0,STRCAT('', CON2STR(非大宗进/1,0))),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.111,0.9,0,STRCAT('', CON2STR(非大宗出/1,0))),COLORYELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.150,0.9,0,STRCAT('', CON2STR(净流入/1,0))),COLORYELLOW;DRAWTEXT_FIX(1,0.000,0.99,0,STRCAT(STRCAT('主力',CON2STR(主力净流入,0)),'万')),COLORMAGENTA;DRAWTEXT_FIX(1,0.078,0.99,0,STRCAT(STRCAT('散户',CON2STR(散户净流入,0)),'万')),COLORCYAN;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.145,0.99,0,'净流入:(万)'),COLORYELLOW;主力买力度:=LARGEINTRDVOL*1000/VOL;主力卖力度:=LARGEOUTTRDVOL*1000/VOL;AAD:=CONST(MAX(ABS(主力买力度),ABS(主力卖力度)))*4,NODRAW;DRAWRECTREL(0,515,CONST(ABS(主力买力度)*560/AAD),568,IF(CONST(主力买力度)>0,RGB(255,0,0),RGB(0,50,0)));DRAWRECTREL(0,570,CONST(ABS(主力卖力度)*560/AAD),623,IF(CONST(主力卖力度)>0,RGB(0,50,0),RGB(255,0,0)));DRAWTEXT_FIX(1,0,0.524,0,STRCAT('主买力度:',CON2STR(主力买力度,0))),COLORYELLOW;DRAWTEXT_FIX(1,0,0.576,0,STRCAT('主卖力度:',CON2STR(主力卖力度,0))),COLORYELLOW;{dde显示}ddx:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*1000/FINANCE(7);DDY:=IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0);DDZ:=IF(TRADENUM>0,(LARGETRDINNUM-LARGETRDOUTNUM)/TRADENUM*100,0);DRAWRECTREL(150,500,192,540,IF(CONST(DDX)>0,RGB(255 ,0,0),RGB(0,50,0)));DRAWRECTREL(150,545,192,585,IF(CONST(DDY)>0,RGB(255 ,0,0),RGB(0,50,0)));DRAWRECTREL(150,590,192,630,IF(CONST(DDZ)>0,RGB(255 ,0,0),RGB(0,50,0)));DRAWTEXT_FIX(1,0.153,0.500,0,STRCAT('DDX:',CON2STR(DD X,1))),COLORYELLOW,COLORWHITE;DRAWTEXT_FIX(1,0.153,0.548,0,STRCAT('DDY:',CON2STR(DD Y,1))),COLORYELLOW,COLORWHITE;DRAWTEXT_FIX(1,0.153,0.596,0,STRCAT('DDZ:',CON2STR(DD Z,1))),COLORYELLOW,COLORWHITE;T1:=IF (DDX>0 AND REF(DDX,1)<0,1,0);T2:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)<0,2,T1);T3:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)<0,3,T2);T4:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 ANDREF(DDX,3)>0 AND REF(DDX,4)<0,4,T3);T5:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)<0,5,T4);T6:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)<0,6,T5);T7:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)>0 AND REF(DDX,7)<0,7,T6);T8:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)>0 AND REF(DDX,7)>0 AND REF(DDX,8)<0,8,T7);T9:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)>0 AND REF(DDX,7)>0 AND REF(DDX,8)>0 AND REF(DDX,9)<0,9,T8);T:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)>0 AND REF(DDX,7)>0 AND REF(DDX,8)>0 AND REF(DDX,9)>0,10,T9);DRAWTEXT_FIX(1,0.190,0.500,0,STRCAT(STRCAT('',CON2STR(T,0)),' [天] ')),COLORYELLOW;T11:=IF (DDY>0 AND REF(DDY,1)<0,1,0);T21:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)<0,2,T11);T31:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)<0,3,T21);T41:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)<0,4,T31);T51:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 ANDREF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)<0,5,T41);T61:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)<0,6,T51);T71:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)>0 AND REF(DDY,7)<0,7,T61);T81:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)>0 AND REF(DDY,7)>0 AND REF(DDY,8)<0,8,T71);T91:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)>0 AND REF(DDY,7)>0 AND REF(DDY,8)>0 AND REF(DDY,9)<0,9,T81);TY01:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)>0 AND REF(DDY,7)>0 AND REF(DDY,8)>0 AND REF(DDY,9)>0,10,T91);DRAWTEXT_FIX(1,0.190,0.548,0,STRCAT(STRCAT('',CON2STR(TY01,0)),' [天] ')),COLORYELLOW;T1Z:=IF (DDZ>0 AND REF(DDZ,2)<0,1,0);T2Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)<0,2,T1Z);T3Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)<0,3,T2Z);T4Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)<0,4,T3Z);T5Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)<0,5,T4Z);T6Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)<0,6,T5Z);T7Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)>0 AND REF(DDZ,7)<0,7,T6Z);T8Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)>0 AND REF(DDZ,7)>0 AND REF(DDZ,8)<0,8,T7Z);T9Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)>0 AND REF(DDZ,7)>0 AND REF(DDZ,8)>0 AND REF(DDZ,9)<0,9,T8Z);TZ:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)>0 AND REF(DDZ,7)>0 AND REF(DDZ,8)>0 AND REF(DDZ,9)>0,10,T9Z);DRAWTEXT_FIX(1,0.190,0.596,0,STRCAT(STRCAT('',CON2STR(TZ,0)),' [天] ')),COLORYELLOW;。
【股票指标公式下载】-【通达信】主力游资拉升(大户、散户、警戒线)
【通达信】主力游资拉升(大户、散户、警戒线)-指标公式源码A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);主力:MA(A,4),NODRAW,COLOR00FFFF;游资:MA(A,8),NODRAW,COLOR00FF00;大户:MA(A,16),NODRAW,COLOR0000FF;散户:MA(A,32),NODRAW,COLORFFFF00;主动参与比例:ROUND(((主力 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR00FFFF;游资参与比例:ROUND(((游资 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR00FF00;大户参与比例:ROUND(((大户 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR0000FF;散户参与比例:ROUND(((散户 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLORFFFF00;警戒线:MA(A,180),COLORFF00FF;STICKLINE((主力 > 0),0,主力,3,0),COLOR0000FF;STICKLINE((主力 > 0),0,主力,2.7.5,0),COLOR001BFF;STICKLINE((主力 > 0),0,主力,2.4,0),COLOR0035FF;STICKLINE((主力 > 0),0,主力,2.1,0),COLOR0050FF;STICKLINE((主力 > 0),0,主力,1.8,0),COLOR0062FF;STICKLINE((主力 > 0),0,主力,1.5,0),COLOR007AFF;STICKLINE((主力 > 0),0,主力,1.2,0),COLOR0089FF;STICKLINE((主力 > 0),0,主力,0.9,0),COLOR009CFF;STICKLINE((主力 > 0),0,主力,0.6,0),COLOR00C0FF;STICKLINE((主力 > 0),0,主力,0.3,0),COLOR00EAFF;STICKLINE((游资 > 0),0,游资,3,0),COLOR007F00;STICKLINE((游资 > 0),0,游资,2.7,3),COLOR008B00;STICKLINE((游资 > 0),0,游资,2.4,0),COLOR009500;STICKLINE((游资 > 0),0,游资,2.1,0),COLOR00A300;STICKLINE((游资 > 0),0,游资,1.8,0),COLOR00AF00;STICKLINE((游资 > 0),0,游资,1.5,0),COLOR00C000;STICKLINE((游资 > 0),0,游资,1.2,0),COLOR00CA00;STICKLINE((游资 > 0),0,游资,0.9,0),COLOR00DB00;STICKLINE((游资 > 0),0,游资,0.6,0),COLOR00FF00;STICKLINE((大户 > 0),0,大户,3,0),COLOR102088;STICKLINE((大户 > 0),0,大户,2.7,0),COLOR102099;STICKLINE((大户 > 0),0,大户,2.4,0),COLOR1020AA;STICKLINE((大户 > 0),0,大户,2.1,0),COLOR1020BB;STICKLINE((大户 > 0),0,大户,1.8,0),COLOR1020CC;STICKLINE((大户 > 0),0,大户,1.5,0),COLOR1020DD;STICKLINE((大户 > 0),0,大户,1.2,0),COLOR1020EE;STICKLINE((大户 > 0),0,大户,0.9,0),COLOR1020FF;STICKLINE((散户 > 0),0,散户,3,0),COLORFF7700;STICKLINE((散户 > 0),0,散户,2.7,0),COLORFF8800;STICKLINE((散户 > 0),0,散户,2.4,0),COLORFF9900;STICKLINE((散户 > 0),0,散户,2.1,0),COLORFFAA00;STICKLINE((散户 > 0),0,散户,1.8,0),COLORFFBB00;STICKLINE((散户 > 0),0,散户,1.5,0),COLORFFCC00;STICKLINE((散户 > 0),0,散户,1.2,0),COLORFFDD00;STICKLINE((散户 > 0),0,散户,0.9,0),COLORFFEE00;【通达信】主力游资拉升(大户、散户、警戒线)-指标公式效果图(文档来源:若水财经社区)。
通达信主力指标公式汇总
通达信主力指标公式汇总主力分析的原理如下:1、惯性原理:处于涨势或者跌势的时候,其趋势一般将延续。
2、波浪原理:跌有多深则涨也将会有多高;量足则价升。
3、极静思动:价窄而量缩往往预示着大行情的来临。
4、物极必反:行情发展到极端状态时将朝着它的反向运行。
5、一致性:当长期和短期的趋势都一致时其威力最大。
6、转折交叉:当短期和长期趋势发生矛盾时可能会变盘。
7、成本原理:当买入的成本小于市场成本时风险较小。
B、主力行为1、主力收集:指标在中低位,价量配合好,盘中常有大手笔买单,有间隙放量行为。
2、主力入场:该股处于盘整或者下跌过程中,突然放出巨量上扬,内盘明显大于外盘,换手积极,主力入场明显。
3、主力派发:经常高开走低,上冲乏力,均线时常跌破,价量配合差。
4、主力撤庄:股价暴跌,价量配合极差,外盘远远大于内盘,若成交量放出,属主力撤庄行为。
5、主力拉升:主力吸足筹码之后,开始振仓洗筹,最明显的特征是升跌无量,并量呈逐波缩小之势,当形态发展到均线粘合、多头排列的时候,主力往往会拉升。
C、底部形态分析股票的大幅上扬是从底部开始的,所谓底部当有一个筑底过程,筑底的目的是调整均线或者叫清洗筹码,只有当市场上对该股的抛盘达到了极微的程度,或者因为消息导致市场人士对股市绝望逃命,而又有新生力量介入的时候底部才有可能形成,因此从图表看,一种形态为窄幅缩量,另一种形态则是巨量下跌,底部形成放可产生强大的上升行情。
股1.【通达信】主力潜伏(副图)-指标公式源码N:=14;M:=156;TYP:=(HIGH+LOW+CLOSE)/3;CCI:(TYP-MA(TYP,N))/(0.15*AVEDEV(TYP,N));DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);主力潜伏中:COUNT(MACD<0,10)=10,COLORRED,LINETHICK0;STICKLINE(主力潜伏中,0,MACD*30,8,0),COLORRED;100,COLOR1C1C1C;0,COLOR1C1C1C;-100,COLOR1C1C1C;-100,STICK,COLOR1C1C1C;2.【通达信】资金监控(主力撤、主力撤、趋势线、准备现金)-指标公式源码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.通达信分时买点指标公式【买卖、主力差、散户差】A1:=(DVOL/C)/2,NODRAW;A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0);A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);A5:=SUM(IF(A1<100 AND CLOSE<REF(CLOSE,1),A1,0),0);A6:=A2+A3+A4+A5;机买:(A2/A6)*100,LINETHICK2,COLORRED;机卖:(A3/A6)*100,LINETHICK2,COLORGREEN;散买:(A4/A6)*100,LINETHICK0;散卖:(A5/A6)*100,LINETHICK0;主力差:机买-机卖,LINETHICK2,NODRAW;散户差:散买-散卖,LINETHICK0,NODRAW;DRAWTEXT(主力差>0 AND REF(主力差,1)<=0,C*0.85,'●机构'),COLORRED;DRAWTEXT(主力差<0 AND REF(主力差,1)>=0,-C*0.85,'○机构'),COLORWHITE;DRAWTEXT(散户差>0 AND REF(散户差,1)<=0,C*0.15,'▲散户'),COLORCYAN;DRAWTEXT(散户差<0 AND REF(散户差,1)>=0,-C*0.15,'△散户'),COLORWHITE;4.通达信主力资金分时指标公式【大盘资金进场、准备现金、见顶清仓】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),COLORGREEN;主力进: IF(V4>=0,V4,0);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:=EM A(V8,13)-EMA(V8,34);VA:=EMA(V9,3);VB:=(V9-VA)/2;大盘资金进场:IF(VB>=0,VB,0),COLORYELLOW;大盘资金撤走:IF(VB<=0,VB,0),COLORRED;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 V12,0,30,5,0),COLORRED;CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);5.【通达信】主力资金流(买量、卖量)-指标公式源码AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;进出量:=买量+卖量,COLOR00FFFF;STICKLINE(进出量<0,0,进出量,1,0),COLORFF6600;STICKLINE(进出量<0,0,进出量,3,0),COLORFF9900;STICKLINE(进出量<0,0,进出量,1.5,0),COLORFFCC00;STICKLINE(进出量<0,0,进出量,0.5,0),COLORCYAN;STICKLINE(进出量>0,0,进出量,3,0),COLOR000099;STICKLINE(进出量>0,0,进出量,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"<0;QJ7:="KDJ.K">"KDJ.D" AND "KDJ.D"<30;QJ8:="MACD.DIF"<"MACD.DEA";QJ9:="KDJ.K"<"KDJ.D" AND "KDJ.K">80;特大:QJ4*QJ5,NODRAW;大单:QJ3*QJ5,NODRAW;中单:QJ1*QJ5,NODRAW;小单:QJ2*QJ5,NODRAW;W1:=SUM(大单,N)+SUM(特大,N);W2:=SUM(小单,N)+SUM(中单,N);量振1:=特大>大单 AND 大单>小单;量振2:=特大<小单 AND 大单<小单;标振1:=QJ6 AND QJ7;标振2:=QJ8 AND QJ9;A:=W1-W2;A0:=IF(A>0,A,0);B0:=IF(A<0,A,0);STICKLINE(A0,0,A0,1,0),COLOR000044;主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF;主力筹码集中度:WINNER(C)*100,COLORRED;6.【通达信】主力资金进入(开始控盘、主力出货、主力吸货)-指标公式源码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,'买。
通达信公式-主力资金指标
通达信公式-主力资金指标主力资金指标/操盘线/筹码指标极品中的极品通达信公式-主力资金指标这个是我自己在用的通达信指标。
----------------------------------说明: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.99 8,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;--------------------------副图部分,复制到公式区,名称随意(比如副图),副图使用:在副图区右键,指标,选择指标,选你的那个比如副图注意主力持仓线,和散筹。
通达信公式-主力资金指标
通达信公式-主力资金指标主力资金指标/操盘线/筹码指标极品中的极品通达信公式-主力资金指标这个是我自己在用的通达信指标。
----------------------------------说明: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)*,2,0 )COLORWHITE;STICKLINE(ISLASTBAR,REF(EMA(C,14),1),REF(EMA(C,14), 1)*,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*,1);{DRAWICON(COUNT(CEMA(C,14) AND COUNT(C>止盈线,6)>=3,H*,2); }DRAWICON(COUNT(CEMA(C,14) AND COUNT(C>止盈线,6)>=3,H*,2);DRAWICON(CROSS(工作线,C) ANDEMA(C,14)>EMA(C,25),H*,8);{止损位}IF(CROSS(生命线,工作线),HIGH*,DRAWNULL),CIRCLEDOT,COLORGREEN;--------------------------副图部分,复制到公式区,名称随意(比如副图),副图使用:在副图区右键,指标,选择指标,选你的那个比如副图注意主力持仓线,和散筹。
【通达信】主力控盘 主力状态指标公式
【通达信】主力控盘主力状态指标公式主力控盘主力状态指标公式主力控盘N:=35;M:=35;N1:=3;B1:=(HHV(H,N)-C)/(HHV(H,N)-LLV(LOW,N))*100- M;B2:=SMA(B1,N,1)+100;B3:=(C-LLV(L,N))/(HHV(H,N)- LLV(L,N))*100;B4:=SMA(B3,3,1);B5:=SMA(B4,3,1)+100;B6:=B5-B2;控盘程度:(IF(B6>N1,B6-N1+2,0))*2.5,COLORYELLOW;控盘度:100,COLORRED;STICKLINE( 控盘程度,0,控盘程度,1.7,0 ),COLOR00FFFF; STICKLINE( 控盘程度AND 控盘程度>100,100,控盘程度,1.7,0 ),COLORRED;主力状态ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算} SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*8 0,3);{//散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率} ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量} ZZNTS:=BARSLAST(ZSHTL90);{//走牛天数}ZSHJJ:=EMA(ZSHTL,89);{//散户警戒}ZZLJJ:=EMA(ZZLKP,89);{//主力警戒}ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{//资金流入强度}SH8:=EMA(ZSHTL,8);DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0); {散户套牢筹码}STICKLINE(C>0,ZSHTL,ZZLKP,1,0),COLORFFFFFF;{散户筹码警戒}STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLOR00F F00;{主力控盘筹码}STICKLINE(C>0,ZZLKP,0,1,0),COLORA4A4A4;{筑顶风险区}STICKLINE(ZZLKP>75,ZZLKP,0,1,0),COLORFFFFFF;{顶部:(ZZLKP>75),COLORFFFFFF;}{主力筹码警戒}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2,0),COLORRED; {筑底散兵坑}STICKLINE(ZSHTL>=90,ZZLKP,0,2,0),COLOR66FFCC;{底部:(ZSHTL>=90),COLOR66FFCC;}{筹码总量上升}IF(ZCMZL,ZCMZL>REF(ZCMZL,1),0),COLOR0066FF,LINETHIC K1;{增量资金};{//------【数值显示】}散户套牢系数:INTPART(ZSHTL),COLORCYAN,LINETHICK2; 主力控盘系数:INTPART(ZZLKP),COLORYELLOW,LINETHICK2; 资金流入强度:ZJLRQD,LINETHICK2,COLORRED;资金流入强度2:IF(ZJLRQD<10,ZJLRQD,0),LINETHICK2,COLORWHITE;市场筹码总量:INTPART(ZCMZL),COLORWHITE,LINETHICK0; DRAWICON(CROSS(主力控盘系数,散户套牢系数),散户套牢系数-5,11);DRAWICON(CROSS(资金流入强度,散户套牢系数),散户套牢系数-5,17);。
主力拉升前量能通达信指标公式源码
主力拉升前量能通达信指标公式源码
通达信是一种常用的股票软件,在其中可以根据个人需求自定义指标,并编写指标公式。
以下是一个使用通达信公式语言编写的主力拉升前量能
指标的源码:
```text
通达信指标公式:主力拉升前量能
计算说明:
公式:
参数说明:
代码解释:
IF(VOL>=REF(VOL,1),VOL,0)表示,如果当天成交量大于等于昨天的
成交量,则取当天成交量,否则返回0。
SUM(IF(VOL>=REF(VOL,1),VOL,0),12)表示计算最近12个交易日的条
件成交量之和。
SUM(VOL,12)表示计算最近12个交易日的总成交量之和。
综上所述,以上代码为通达信指标公式“主力拉升前量能”的源码。
通过在通达信软件中运行该公式,可以得到主力拉升前量能指标的数值,
用于辅助股票分析和交易决策。
```
上述源码基于通达信的公式语言编写,通过对成交量的比较和累加计算,得到了主力拉升前量能指标的数值。
请注意,这只是一种可能的实现
方式,实际的指标公式可能根据具体需求和交易平台的特点有所差异。
为
了更好地理解和运用该指标,建议参考通达信软件的开发文档和相关教程。
通达信自用火焰山抄底和9个选股指标公式
通达信自用火焰山抄底和9个选股指标公式使用说明:1、底部红柱是火焰山,是底部标志。
在跌幅不达45%时,只能是短线。
2、0以下的淡灰色柱是短期底部。
在平衡市和牛市中用于抄底。
3、90以上的兰色和绿色柱是顶部提示,但出现兰色柱后,红色波段线在85以上,同时粘合K线持续上升,则可以持有,股价还有相当的上涨空间。
4、红箭头买进提示,绿箭头卖出提示。
钱带子、红十字是买进提示。
向上的手指是短线买进提示,一般持股3-5天。
5、0上的绿柱底部提示,白柱、兰柱是底部买进提示,如同时出现钱带子、红十字等,买进后一般有10%涨幅。
A:70;B:90;波段线:5*SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),NODRAW;趁火打劫:=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),NODRAW;DRAWBAND(波段线,RGB(150,030,030),趁火打劫,RGB(20,150,20));IF(波段线>=趁火打劫,波段线,DRAWNULL),COLORLIMAGENTA,LINETHICK2;IF(波段线<趁火打劫,波段线,DRAWNULL),COLORGREEN,LINETHICK2;M1:=EMA(MA(波段线,5),3);STICKLINE(波段线>100 AND 波段线>=M1,波段线,100,3,1),COLORF0F000;STICKLINE(波段线<0 AND 波段线<=M1,波段线,0,3,1),COLORLIGRAY;底部买:=LLV(波段线,2)=LLV(波段线,8);买进:=IF(CROSS(波段线,REF(波段线+0.01,1)) AND 底部买 AND 波段线<0,20,0);STICKLINE(波段线<0 AND 波段线<M1,买进,0,1,0),COLORFF6699;VAR1:=REF(LOW,1);VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);VAR4:=LLV(LOW,38);VAR5:=HHV(VAR3,38);VAR6:=IF(LLV(LOW,90),1,0);VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VA R6;VAR71:=IF(VAR7>=100,100,VAR7);主力吸货:VAR71,COLOR0000FF;吸筹1:STICKLINE(VAR71,0,VAR71,6,0),COLOR0000FF;吸筹2:STICKLINE(VAR71,0,VAR71,5,0),COLOR6600FF;吸筹3:STICKLINE(VAR71,0,VAR71,4,0),COLORBB00FF;吸筹4:STICKLINE(VAR71,0,VAR71,3,0),COLORFF00FF;吸筹5:STICKLINE(VAR71,0,VAR71,2,0),COLORFF33FF;吸筹6:STICKLINE(VAR71,0,VAR71,1,0),COLORFF66FF;吸筹7:STICKLINE(VAR71,0,VAR71,0,0),COLORFF99FF;MA5:=MA(CLOSE,5);MA15:=MA(CLOSE,15);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);离散量30:=100*(MA5-(MA15+MA30)/2)/MA30+50,COLOR00FFFF;离散量60:100*(MA5-(MA15+MA30+MA60)/3)/MA60+50,COLORFFAA00;粘合K:-3*(离散量30-离散量60)+50,COLORRED,LINETHICK2;粘合D:=EMA(粘合K,3);主升:BARSLAST(CROSS(粘合K,粘合D))*(粘合K>粘合D),COLORLIMAGENTA;STICKLINE(粘合K>108,105,粘合K,5,1),COLORGREEN;STICKLINE(主升,主升,主升+2,4,1),COLORLIMAGENTA;DRAWICON(CROSS(离散量60,粘合K),离散量60*1.05,1);DRAWICON(CROSS(粘合K,离散量60),离散量60*0.98,2);{股旁网-股票公式网站 }隔岸观火:VAR5,COLOR0000FF,NODRAW;关门捉贼: IF(趁火打劫<=10,30,0),COLORFFFF00,NODRAW;擒贼擒王: IF(CROSS(趁火打劫,2),40,0),COLORFF0000,NODRAW;RSV:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);买入:=(CROSS(K,D) AND K<30);买:=买入 AND FILTER(买入,10);STICKLINE(CROSS(趁火打劫,2),0,15,1,0),COLORWHITE;STICKLINE(趁火打劫<=10,0,8,2,0),COLORLIGREEN;STICKLINE(波段线<0 AND 波段线<M1,买进,0,4,0),COLORFF9900;DRAWICON(买 AND 趁火打劫>10,10,9);DRAWICON(CROSS(趁火打劫,11),-3,23);XG:=LAST(趁火打劫<REF(趁火打劫,1),2,1) AND 趁火打劫>REF(趁火打劫,1) AND 趁火打劫>15;DRAWICON(XG,-11,11);选股公式:1、波段线:5*SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),NODRAW;M1:=EMA(MA(波段线,5),3);波段线<0 AND 波段线<=M1;2、波段线:5*SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),NODRAW;M1:=EMA(MA(波段线,5),3);底部买:=LLV(波段线,2)=LLV(波段线,8);买进:=IF(CROSS(波段线,REF(波段线+0.01,1)) AND 底部买 AND 波段线<0,20,0);波段线<0 AND 波段线<M13、MA5:=MA(CLOSE,5);MA15:=MA(CLOSE,15);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);离散量30:=100*(MA5-(MA15+MA30)/2)/MA30+50,COLOR00FFFF;离散量60:=100*(MA5-(MA15+MA30+MA60)/3)/MA60+50,COLORFFAA00;粘合K:=-3*(离散量30-离散量60)+50,COLORRED,LINETHICK2;CROSS(离散量60,粘合K);4、趁火打劫:=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),NODRAW;CROSS(趁火打劫,2);5、趁火打劫:=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),NODRAW;STICKLINE(趁火打劫<=10,0,8,2,0),COLORLIGREEN;6、波段线:5*SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),NODRAW;M1:=EMA(MA(波段线,5),3);底部买:=LLV(波段线,2)=LLV(波段线,8);买进:=IF(CROSS(波段线,REF(波段线+0.01,1)) AND 底部买 AND 波段线<0,20,0);波段线<0 AND 波段线<M1;7、趁火打劫:=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),NODRAW;RSV:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);买入:=(CROSS(K,D) AND K<30);买:=买入 AND FILTER(买入,10);买 AND 趁火打劫>10;8、趁火打劫:=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),NODRAW;CROSS(趁火打劫,11);9、趁火打劫:=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),NODRAW;XG:LAST(趁火打劫<REF(趁火打劫,1),2,1) AND 趁火打劫>REF(趁火打劫,1) AND 趁火打劫>15;。
通达信主力参考指标
通达信主力参考指标
通达信主力参考指标是通达信软件中的一个功能,它可以帮助投资者分析主力资金的动向,以便做出更加准确的投资决策。
以下是通达信主力参考指标的一些常用功能:
1. 主力资金净流入/流出:该指标显示了当前主力资金的净流入或净流出情况,可以帮助投资者判断市场趋势和主力资金的参与程度。
2. 主力资金持仓比例:该指标显示了主力资金在某只股票中的持仓比例,以及主力资金的买卖情况,有助于投资者判断该股票的主力资金动向。
3. 主力资金动向:该指标显示了主力资金的买卖情况,可以帮助投资者判断市场趋势和主力资金的参与程度。
4. 主力成本:该指标显示了主力资金在某只股票中的成本价,以及主力资金的买卖情况,有助于投资者判断该股票的主力资金动向。
需要注意的是,这些指标仅仅是辅助工具,投资者还需要结合其他技术分析和基本面分析来做出更加准确的投资决策。
第1页/ 共1页。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【通达信】主力卖点(火山、反转、拉升资金、主力资金)-指标公式源码
RSV:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100;
K:EMA(RSV,3);
D:EMA(K,3);
J:=(3*K-2*D);
火山:IF(J<=0,-J*5,0),LINETHICK0;
STICKLINE(J<=0,0,火山,2,0),COLORRED;
KDJ1:=REF(COUNT(J<REF(J,1),5)>=3,1) AND REF(J,1)<20;
KDJ2:=J>REF(J,1);
反转:IF(FILTER(KDJ1 AND KDJ2,3),30,0);
VAR1:=1;
VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3*VAR1;
VAR5:=REF(LLV(CLOSE,480),1)*VAR1;
VAR6:=REF(HHV(CLOSE,480),1)*VAR1;
VAR7:=100*(CLOSE-VAR5)/(VAR6-VAR5)*VAR1;
VAR8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100*VAR1 ;
VAR9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100*VAR1 ;
VARA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100*VAR1; VARB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100*VAR1; VARC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4* VAR1;
VARD:=IF(VARC>23.16,VARC,0)*VAR1;
VARE:=VARC<1*VAR1;
VARF:=VARD*VAR1;
VAR10:=VAR4<0 AND VAR7<0;
VAR11:=1;
VAR12:=(HIGH+LOW+CLOSE*2)/4*VAR11;
VAR13:=EMA(VAR12,21);
VAR14:=STD(VAR12,21);
VAR15:=((VAR12-VAR13)/VAR14*100+200)/4*VAR11;
VAR16:=(EMA(VAR15,89)-25)*1.56*VAR11;
VAR17:=EMA(VAR16,5)*1.22*VAR11;
VAR18:=EMA(VAR17,3)*VAR11;
VAR19:=3*VAR17-2*VAR18*VAR11;
VAR1A:=IF(CROSS(VAR19,VAR17) AND CROSS(VAR19,VAR18) AND
CROSS(VAR17,VAR18),1,0);
VAR1B:=IF(CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19) AND
CROSS(VAR18,VAR17),1,0);
买点: IF(FILTER(VAR8=0 AND VARE AND VAR10 AND VAR1A,5)=1,50,0);
卖点: IF(FILTER(VAR8=100 AND VARF AND VAR1B,5)=1,50,0);
VAR1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/ 4*VAR1;
VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*VAR1;
VAR1E:=EMA(VAR1D,30)*VAR1;
VAR1F:=2*(VAR1D-VAR1E)*10*VAR1;
VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2)*VAR1;
VAR21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR22:=EMA(VAR21*0.97,3)*VAR1;
VAR23:=(HIGH+LOW+CLOSE)/3*VAR1;
VAR24:=(VAR23-MA(VAR23,14))/(0.015*AVEDEV(VAR23,14))*VAR1;
VAR25:=IF(VAR1F>0.015,VAR20,0)/45*VAR1;
拉升资金: VAR25,COLORRED;
VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR27:=EMA(VAR26,100);
VAR28:=2*(VAR26-VAR27);
VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);
VAR2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR2B:=EMA(VAR2A*0.97,3);
VAR2C:=(HIGH+LOW+CLOSE)/3;
VAR2D:=(VAR2C-MA(VAR2C,14))/(0.015*AVEDEV(VAR2C,14));
主力资金: IF(VAR28>0.1,VAR29,0)*5;
【通达信】主力卖点(火山、反转、拉升资金、主力资金)-指标公式效果图
(文档来源:若水财经社区)。