捕捉主力拉升前挖坑指标通达信指标公式源码
主力拉升通达信指标公式源码.doc
私模老师所赠,值得大家参考,自己添加了其他老师的指标综合而成,分享给大家,供大家相互交流学习,这是我实盘在用的通达信附图指标,看下图VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND(VAR3AA>0),91,0);XG:=(FILTER((VAR4AA>90),45)),COLORYELLOW;STICKLINE(XG A150,0,4,0),COLOROOOQ99;STICKLINE(XG z150,0,2,0),COLOROOOOBB;STICKLINE(XG,150z O,l,0)z COLOROOOODD;STICKLINE(XG z150z0z0.9z0)z COLOR0000FF;DRAWTEXT(XG>0,130;★起暴点*),COLOROOC5FF;DIFF :=( EMA(CL0SE,12) - EMA(CLOSE,26))*100;DEA :=EMA(DIFF Z9);MACD :=2*(DIFF-DEA);抄底l:=ABS((CROSS(,'MACD.DIF n;,MACD.DEA n)&&n MACD.DEA n<=-0.07)*"MACD.DIF',)*1.09,COLORLIMAGENTA z LINETHICK2;STICKLINE(抄底1,0,50,4,0),COLOR770077;STICKLINE(抄底1,0,50,3,0),COLOR990099;STICKLINE(抄底1,0,50,2,0),COLORBBOOBB;STICKLINE(抄底1,0,50,1,0),COLORDDOODD;STICKLINE(抄底1,0,50,0.3,0),COLORFFOOFF;DRAWTEXT(抄底l>0,38,*超级拐点,),COLOROOC5FF;反向钟摆线:=MA((LLV(LOW,45)・CLOSE)/(HHV(HIGH,45)・LLV(LOW,45))*100,20);DK:=CROSS(-5,反向钟摆线);STICKLINE(DK,0,50,4,0)Z COLOR770077;STICKLINE(DK,0,50Z3Z0)Z COLOR990099;STICKLINE(DK,0,50,2,0),COLORBBOOBB;STICKLINE(DK,0,50,1,0),COLORDDOODD;STICKLINE(DK,0,50,0.3z0)z COLORFF00FF;DRAWTEXT(DK>0,48;★终极低点'),COLOROOC5FF;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);VAR7:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));VAR8:=(((CLOSE - VAR7) / VAR7) * 100);VAR9:=((((REF(VAR8,1) < (0 - 40)) AND (VAR8 > REF(VAR8,1))) AND (REF(VAR8,1) <REF(VAR8,2))) AND ((VAR8 ・ REF(VAR8,1)) > 2.5));VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),5,l) / SMA(ABS((CLOSE - VARD)),5,1)) * 100); VARF:=(((HIGH + LOW) + CLOSE) / 3);VAR10:=((VARF - MA(VARF,14)) / (0.015 * AVEDEV(VARF,14)));VARI 1:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT Z110) / MA(VOL Z110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < (0 - 0.273));VAR12:=(((CLOSE ・ MA(CLOSE,30)) / MA(CLOSE,30)) < (0 ・ 0.125));VAR13:=(VAR11 AND VAR12);VAR14:=((((VAR2 >= (0 - 45)) AND (VAR2 <= (0 - 10))) AND (VAR3 <= (0 - 15))) AND (VAR4 <= (0 - 20)));VAR15:=(COUNT(VAR14,1) >= 1);VAR16:=(VAR13 AND VAR15);VAR17: = 1;VAR18:=(CLOSE * VOL);VAR19:=EMA((((((MA(VAR18,4) / MA(VOL,4)) + (MA(VAR18,6) / MA(VOL,6))) + (MA(VAR18,13) / MA(VOL,13))) + (MA(VAR18,24) / MA(VOL,24))) / 4),1);VAR1A:=(1 * VAR19);VAR1B:=(VAR19 * 0.92);VAR1C:=EMA(CLOSE,34);VAR1D:=MA((VAR1C * 1.12),5);VAR1E:=MA((VAR1C * 0.82),5);VAR1F:=(CLOSE < VAR1E);VAR20:=((((((MA(AMOUNT,5) * VAR17) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < ((0 - 0.4) * VAR17));VAR21:=HHV(HIGH z500);VAR22:=LLV(LOW,500);VAR23:=HHV(HIGH z250);VAR24:=LLV(LOW,250);VAR25:=HHV(HIGH,125);VAR26:=LLV(LOW,125);VAR27:=MA(((((((VAR21 * 0.45) + (VAR23 * 0.5)) + VAR22) + VAR24) + VAR26) / 5),35); VAR28:=MA((((VAR23 * 0.62) + VAR26) / 2),35);VAR29:=MA((((VAR23 * 0.75) + VAR26) / 2),18);VAR2A:=MA((((((VAR23 * 0.93) + (VAR27 * 2)) + (VAR28 * 1.8)) + (VAR29 * 1.5)) / 4),18); VAR2B:=MA(((((VAR21 * 0.95) + (VAR27 * 3)) + (VAR28 * 2)) / 3),35);VAR2C:=VAR27;VAR2D:=VAR28;VAR2E:=VAR29;VAR2F:=VAR2A;VAR30:=VAR2B;VAR31:=((CLOSE ・ REF(MA(CLOSE,20),11)) < (0 -2));VAR35:=((VAR18 / (VAR18 + VAR19)) * VAR17);VAR36:=((VAR19 / (VAR18 + VAR19)) * VAR17);VAR37:=EMA(VAR35,10);VAR38:=EMA(VAR36,10);VAR39:=EMA(VAR37,10);VAR3A:=EMA(VAR38,20);VAR3B:=EMA(VAR37,3);VAR3C:=EMA(VAR39,6);VAR3D:=EMA(VAR3A,2);VAR3E:=(VAR3C - VAR3D);VAR3F:=(((VAR3C - REF(VAR3C,1)) > 0) AND ((REF(VAR3C,1) - REF(VAR3C,2)) < 0));VAR40:=IF((CROSS(VAR3B,VAR3C) AND (VAR3C <= 20)),30,0);VAR41:=VAR40;VAR42:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);VAR43:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);VAR44:=(CLOSE - REF(MA(CLOSE,20),11));VAR45:=(((((((((((((CLOSE < VAR IE) AND VAR20) AND (CLOSE < VAR43)) OR (((CLOSE < VAR1E) AND VAR31) AND VAR20)) OR ((CLOSE < VAR1E) AND (CLOSE < VAR43))) OR (((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43))) OR (VAR20 AND (CLOSE < VAR2C))) OR ((VAR20 AND VAR31) AND (VAR44 < (0 - 1.5)))) OR (VAR20 AND (CLOSE < VAR1E))) OR (VAR20 AND (VAR44 < (0 - 1.5)))) OR (VAR31 AND (CLOSE < VAR43))) OR ((CLOSE < VAR2C) AND (VAR44 < (0 - 1.5)))) OR ((CLOSE < VAR IE) AND VAR31)); VAR4B:=(((HIGH + LOW) + CLOSE) / 3);VAR4C:=((VAR4B - MA(VAR4B,14)) / (0.015 * AVEDEV(VAR4B,14)));VAR4D:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,U0)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < (0 - 0.273));VAR4E:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR4F:=(VAR11 AND VAR12);VAR50:=((((VAR2 >= (0 - 45)) AND (VAR2 <= (0 - 7))) AND (VAR3 <= (0 - 11))) AND (VAR4 <= (0 - 14)));VAR51:=(COUNT(VAR50,1) >= 1);VAR52:=(VAR4F AND VAR51);VAR53:=(((((VAR20 AND (CLOSE < VAR1E)) AND VAR31) AND (CLOSE < VAR2C)) AND VAR45) AND VAR52);VAR5B:=((((((VAR2 >= (0 - 15.8)) AND (VAR2 <= (0 - 12.2))) AND (VAR3 <= (0 - 20.8))) AND (VAR4 <= (0 - 27.5))) AND (VARE <= 11.7)) AND (VAR4C <= (0 - 145)));VAR5C:=9.999999884842E+0.26;VAR5D:=(COST(10) * 0);VAR5E:=((((MA(AMOUNT,5) / MA(VOL Z5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100));VAR5F:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);VAR60:=((CROSS((0 - 5),VAR5F) AND (VAR5E < (0 - 0.4))) AND (((CLOSE - MA(CLOSE,30)) /MA(CLOSE,30)) < (0 - 0.19)));VAR61:=MA(CLOSE,3);VAR62:=(REF(CLOSE,2) * 0.865);VAR63:=(REF(CLOSE, 13) * 0.772);VAR64:=MIN(VAR62,VAR63);VAR65:=((100 * VOL) / CAPITAL);抄底:IF(((((VAR9 OR VAR16) OR VAR53) OR VAR5B) OR ((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) < 1.8))),80,0)Z LINETHICK4/COLORRED;DRAWTEXT(抄底>0,抄底,'★游资)COLOROOC5FF;小V 逆转:=REF(C,l)vREF(O,l) AND O>REF(C,1) AND C> = REF(C,l)*1.08;STICKLINE(小V 逆转,20,0,4,0),COLOR000099;STICKLINE(小V 逆转,30,O z2z O),COLOROOOOBB;STICKLINE(小V 逆转,40,0,1,0),COLOROOOODD;STICKLINE(小V 逆转,60,0,0.9,0),COLOROOOOFF;DRAWICON(小V 逆转,60,34);DRAWTEXT(小V 逆转>0,30;小V 逆转'),COLOROOC5FF;HAN: = DATE<1151230;MA13: = MA(C, 13)Z COLORWHITE;MA34:=MA(C,34),COLORYELLOW;MA55: = M A(C,55),COLORRED;YY1:=O<MA13 AND C>MA13;YY2:=O<MA34 AND C>MA34;YY3:=O<MA55 AND C>MA55;YY4:=C/O>=1.04;YY5:=V>HHV(H,10);YY6: = MA13>=REF(MA13,1);天天涨停:=YY1 AND YY2 AND YY3 AND YY4 AND YY5 AND YY6;IF(天天涨停,57,DRAWNULL),LINETHICK4,POINTDOT,COLOROOFFOO;STICKLINE(天天涨停,26,20,1,0),COLORFFFFFF;STICKLINE(天天涨停,33,25,1,0),COLOR8800CC;STICKLINE(天天涨停,46,32,1,0),COLORAAOODD;STICKLINE(天天涨停,37,34,1,0),COLOROOAAFF;STICKLINE(天天涨停,50,44,l,0),COLOR000000;DRAWICON(天天涨停,39,9);VA:=IF(CLOSE>REF(CLOSE,1),VOL 广VOL);OBVl:=SUM(IF(CLOSE=REF(CLOSE,l),O z VA)z O);OBV2:=EMA(OBV1,3)-MA(OBV1,9);OBV3:=EMA(IF(OBV2>OQBV2,0),3);MAC3:=MA(C,3);SHORT: = 12;LONG:=26;MID:=9;DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG)COLORYELLOW ;主力买:IF(DIF>REF(DIF,1),DIF,0),NODRAW;主力卖:IF(DIF<REF(DIF,1),DIF,0),NODRAW;STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,MACD,4.9,0),COLORYELLOW; 吸:=MACDv0 AND MACD>REF(MACD,1);拉:=MACD>0 AND MACD>REF(MACD,1);派:=MACD>0 AND MACD<REF(MACD Z1);落:=MACDv0 AND MACD<REF(MACD,1);STICKLINE(吸,0,MACD,2.8,0),COLORRED;STICKLINE(拉QMACD,2.8,0),COLORRED;STICKLINE(派,0,MACD,3.8,0),COLORGREEN;STICKLINE(落,0,MACD,2.8,0),COLORGREEN;主力吸筹:吸Z COLORYELLOW,NODRAW;主力拉升:拉,COLORRED,NODRAW;主力出逃:派,COLORGREEN,NODRAW;主力砸盘:落,COLORFFAAOO,NODRAW;RSV:=(CLOSE・LLV(LOW,6))/(HHV(HIGH,6)・LLV(LOW,6))*100;K:=SMA(RSV,2,1);D:=SMA(K,2,1);J:=3*K-2*D;RS:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW Z9))*100;F: = 100;Kl:=RS> = 100;K2:=RS<100;DRAWICON(CROSS(K1,K2)Z K1,27);DRAWTEXT_FIX(1,O.O,O.O1,O Z * 水晶出现次日10: 30 之前是最佳''卖点'〃)COLORYELLOW; DRAWTEXT(CROSS(REF(ZIG(3,6),1),ZIG(3,6)),HIGH*0.1,‘★卖')COLORGREEN;DRAWICON(CROSS(REF(ZIG(3,6),1),ZIG(3Z6)),HIGH*0.1Z9);V1:=EMA(CLOSE,60)-EMA(CLOSE,300);V6:=CLOSE/REF(CLOSE,3)> = 1.1;V7:=BACKSET(V6,3);买入暴张:IF((V7 AND COUNT(V7,3)=1),30,0),COLORYELLOW,LINETHICK3;DRAWTEXT(V7*0.8>0z32;o *),COLOROOC5FF;{原始人实时内外盘主图指标}买卖盘比■: 1/DYNAINFO(51),COLORGRAY,NODRAW;IF(买卖盘比■ >0.9,买卖盘比・,DRAWNULL),COLORWHITE,NODRAW;IF(买卖盘比■ >1.3,买卖盘比・,DRAWNULL),COLORRED,NODRAW;DRAWTEXT_FIX(l,0.5,O z O,W)z COLORGRAY;DRAWTEXT_FIX(l,0.51,0,0,・‘),COLORGRAY;DRAWTEXT_FIX(1,0.52,0,0,・)COLORGRAY;DRAWTEXT_FIX(1,0.53QO,・)COLORGRAY;DRAWTEXT_FIX(l z0.54,0,0,W),COLORGRAY;DRAWTEXT_FIX(l z O,55,O z O,W),COLORGRAY;DRAWTEXT_FIX(l,0.56,0,0,・‘),COLORGRAY;DRAWTEXT_FIX(1,0.57,0,0,■'),COLORGRAY;DRAWTEXT_FIX(1,0.58,0,0,COLORGRAY;DRAWTEXT_FIX(买卖盘比・>0.5,0.5,0,0,・'),COLORLIGREEN;DRAWTEXT_FIX(买卖盘比・>0.6,0.51,O z O,W),COLORLIGREEN;DRAWTEXT_FIX(买卖盘比・>0.7,0.52,0Q・'),COLORLIGREEN; DRAWTEXT_FIX(买卖盘比・>0.75Q53,0,0,・'),COLOR00CCFF; DRAWTEXT_FIX(买卖盘比・>0.8,0.54,0,0,・'),COLOR00CCFF; DRAWTEXT_FIX(买卖盘比・>0.85,0.55,0,0,・'),COLOR00CCFF; DRAWTEXT_FIX(买卖盘比・>0.9,0.56,0,0,・'),COLOR000066; DRAWTEXT_FIX(买卖盘比・>0.95Q57,0,0,・)COLOR000066; DRAWTEXT_FIX(买卖盘比・>1,0.58,0,0,・'),COLOR000066; DRAWTEXT_FIX(l z0.56,0,0; 9'),COLORBU\CK;DRAWTEXT_FIX(1,0.6,0,0z W),COLORGRAY;DRAWTEXT_FIX(l z O,61,O z O,W)z COLORGRAY;DRAWTEXT_FIX(1,0.62,0,0,W),COLORGRAY;DRAWTEXT_FIX(l z0.63,0,0,W),COLORGRAY;DRAWTEXT_FIX(l z0.64,0,0,W),COLORGRAY;DRAWTEXT_FIX(l z O,65z O,0,W)z COLORGRAY;DRAWTEXTIFIX(lo.66oo、-・・)nOLORGRAWDRAWTEXT—Fx(lo.67oo、-・-)nOLORGRAWDRAWTEXTIFIX(lo.68oo、-・・)、COLORGRAY;DRAWTEXTIFIX (泊料盼乓■vlo5o.6oo、.・)nOLORGREEN; DRAWTEXTIFIX(*^^K・ VLlo.61oo、.・-)nOLORGREEN,DRAWTEXTIFIX(^B障长■Vl・15o.62oo、-・・)、COLORGREEN; DRAWTEXT—FX(沼B爵F・vl.2o.63oo、.・)nOLORYELLOW; DRAWTEXTIFIX(冲白薜氏■vl.25o.64op.・・)、COLORYELLOW; DRAWTEXTIFIX (泊料盼乓■vl.3o.65oo、_・)nOLORYELLOW; DRAWTEXTIFIX (冶朴障长■vl.4p66oo、-・-)nOLORRED; DRAWTEXT—FIX(斐料我乓・vl.5o.67oo、.・-)nOLORRED; DRAWTEXT—FX(泻w爵长■vl.6o.68oo、・-)nOLORRED;DRAWTEXT—FX(1O.65OO、- 7-)oOLORBgcK;MAlmXPMA(c、5)nOLORYELLOW、LINETHICK6;KK"MA1AREF(MA1,HIF(KK、MALDRAWNULL)、COLORGREEN、LINETHICK6;DD¥AlvREF(MALl)一IF(DDzALDRAWNULL)oOLORBLUE、LINETHICK6; BLAHHWHws—cyxHWHwoYLLWLOWwo))*-。
主力拉升前挖坑指标公式
主力拉升前挖坑指标公式
本文将介绍一些主力拉升前挖坑的指标公式,供投资者参考使用。
1. 股价相对强度指标(RSI):RSI指标通常用于衡量股票价格的强度,其计算公式为:RSI = 100 - [100 / (1 + RS)],其中RS = 平均涨幅 / 平均跌幅。
当RSI指标值超过70时,股票被认为处于超买状态,投资者应该小心;当RSI指标值低于30时,股票被认为处于
超卖状态,投资者应该关注。
2. 成交量指标(VOL):成交量指标通常用于衡量股票的交易量,其计算公式为:VOL = 成交量 / 平均成交量。
如果一个股票的成交
量大幅增加,那么该股票被认为具有潜力,可能会在未来出现上涨的机会。
3. 均线指标(MA):均线指标通常用于衡量股票价格的长期趋势,其计算公式是:MA = (收盘价1 + 收盘价2 + … + 收盘价n)/ n。
如果一个股票的均线呈现出上升趋势,那么该股票被认为具有潜力,可能会在未来出现上涨的机会。
4. MACD指标:MACD指标通常用于衡量股票的价格动量,其计算公式为:MACD = 快线EMA(12)- 慢线EMA(26)。
如果MACD指标呈现出上升趋势,那么该股票被认为具有潜力,可能会在未来出现上涨的机会。
总之,以上指标公式都可以帮助投资者更好地了解股票市场的行情,为投资决策提供参考。
- 1 -。
主力拉升【副图 指标】通达信指标公式源码
主力拉升【副图指标】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;。
通达信指标公式源码底部就在眼前,抓底好帮手
nVAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/ MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;持币区域:VAR1,COLORFEDCBA;持股区域:IF(VAR1>0,VAR1,0),COLORRED;短顶:STICKLINE(VAR1>9 ANDFILTER(VAR1<REF(VAR1,1),5),VAR1+2,0,3,0),COLORGREEN;大顶:STICKLINE(VAR1>20 ANDFILTER(VAR1vREF(VAR1,1),5),VAR1+5,0,7,0),COLOR00FF00;VAR2:=HHV(VAR1>20,10);危险:STICKLINE(VAR2 ANDCROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VA R1+10,0,4,0);注意止损:STICKLINE(VAR2 AND FILTER(VAR1< REF(VAR1,1),6)AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,0,3,0);短底:STICKLINE(VAR1<-9 AND VAR1>REF(VAR1,1),VAR1-2,0,3,0),COLORRED;大底:STICKLINE(VAR1<-20 AND FILTER(VAR1>REF(VAR1,1),5),VAR1-5,0,7,0),COLORYELLOW;买入准备:VAR1<-9 AND VAR1>REF(VAR1,1),COLORWHITE;DRAWTEXT(VAR1>9 AND FILTER(VAR1<REF(VAR1,1),5),VAR1+2,'短顶'),COLOR00FF00;DRAWTEXT(VAR1>20 AND FILTER(VAR1<REF(VAR1,1),5),VAR1+5,'大顶'),COLORFFFF00;DRAWTEXT(VAR2 ANDCROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VA R1+10,'危险'),COLOR00FFFF;DRAWTEXT(VAR2 AND FILTER(VAR1< REF(VAR1,1),6) ANDCROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,'注意止损'),COLORFF00FF; DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),VAR1-2,'短底'),,COLOR0000FF;DRAWTEXT(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5),VAR1-5,'大底'),; DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18),1,'买入准备');LC:=REF(CLOSE,1);RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100); TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW -REF(CLOSE,1)))),10);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);DMM:=SUM(IF(((LD > 0) AND (LD > HD)), LD,0),10);PDI:=((DMP * 100) / TR1);MDI:=((DMM * 100) / TR1);ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);AV:=(RSI5 + ADX);DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10))); NEWVOL:=(RSI5 - WR10);最佳买入:=(AV + NEWVOL);最佳买入选股:IF(CROSS(最佳买入,0),1,0),STICK,COLORRED;STICKLINE(最佳买入选股,0,5,7.5,0),COLOR102099;STICKLINE(最佳买入选股,0,5,6,0),COLOR1020AA;STICKLINE(最佳买入选股,0,5,5.5,0),COLOR1020BB;STICKLINE(最佳买入选股,0,5,4,0),C0L0R1020CC;STICKLINE(最佳买入选股,0,1,3.5,0),C0L0R1020DD;STICKLINE(最佳买入选股,0,1,2,0),C0L0R1020EE;STICKLINE(最佳买入选股,0,1,1,0),C0L0R1020FF;RSV:=(((CL0SE - LLV(L0W,9)) / (HHV(HIGH,9) - LLV(L0W,9))) * 50);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);最佳买入时机:IF(CR0SS(J,3),1,0),STICK,C0L0RFFFF00;STICKLINE(最佳买入时机,0,1,3,0),C0L0R999900;{STICKLINE(最佳买入时机,0,5,3.5,0),C0L0RBBBB00;}STICKLINE(最佳买入时机,0,1,2,0),C0L0RDDDD00;STICKLINE(最佳买入时机,0,1,1,0),C0L0RFFFF00;机构建仓:IF(最佳买入<5,-0.1,0),STICK,C0L0R00FF00,LINETHICK1;机构建仓日:STICKLINE(机构建仓,0,-0.1,3,0),C0L0R00FF00,LINETHICK6;。
通达信量能主升捕捉黑马主图公式源码
通达信量能主升捕捉黑马主图公式
这是我自己常用的成交量买卖公式,经常会抓到你想要的牛股
公式原理:一支股票好与不好,成交量是关键,放量了股价也创新高了,这样的股票做中长线百分之百不亏,直到在顶部放巨量了赶紧跑吧,不管后面再如何涨,都是主力在为了出货而拉升股价
关注量爆出现后突破量爆的最高价
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;
STICKLINE( ZT,C,O,2,0),COLORYELLOW;
走强线:EMA(COST(99),181),COLORYELLOW,LINETHICK2;
巨量平台:REF(H,BARSLAST(V=HHV(VOL,120))),COLORRED,LINETHICK2;
XG:= NOT(REF(巨量平台,1)=巨量平台) AND ZT;
DRAWTEXT(XG,L,'量爆'),COLORCYAN;
主升:=CROSS(C,巨量平台);
DRAWTEXT(主升,L,'↖主升'),COLORYELLOW;
DRAWTEXT(主升AND ZT,L,'↖超级主升'),COLORRED;。
通达信挖洞捕蝉主图副图套装指标公式
通达信挖洞捕蝉主图副图套装指标公式指标是做波段、做趋势的利器,分享给大家,值得学习研究通达信挖洞捕副图源码昨收:=DYNAINFO(3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL)*0.1;ZS:=昨收-FK*3.2;Q1:=昨收-FK*3.22;Q2:=昨收-1*FK*3.22;Q3:=昨收-5*FK*3.2;{时间大额设置}TJ:=FILTER(C,239)>0,NODRAW;TJJ:=SUM(TJ,0),NODRAW;TJA:=CONST(TJJ),NODRAW;C1:=CLOSE;V1:=TIME;A1:=COUNT(BARSCOUNT(C)=1 AND TIME<102000 ,0 );T:=IF(V1<130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)),(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000))),NODRAW;TTA:=90;KP30:=T<240;KPGD:=H=HHV(H,0) AND KP30;GDSJ:=BARSLAST(KPGD);RCC:=DYNAINFO(3);S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=4*(S2-S6);KK:=1;成交额:=AMOUNT,NODRAW;VV2:=SUM(AMOUNT,T),NODRAW;VV3:=VV2/T;SS:=IF(CAPITAL>150000000,0.3,IF(CAPITAL>20000000,0.5,IF (CAPITAL>10000000,0.8,IF(CAPITAL<200000,5,IF(CAPITAL<1000 000,3,IF(CAPITAL<5000000,1.5,1)))))),NODRAW;VV5:=(REF(VV3,T-1)/CEILING(REF(VV3,T-1)/CAPITAL*10000+0.1))*SS,NODRAW;大额线:=IF(REF(VV3,T)=REF(VV3,T-1),VV5,REF(VV3,T)),NODRAW;起算量:大额线*100,COLOR00FFFF,NODRAW;初正1:=IF(T=1 AND DYNAINFO(4)>=DYNAINFO(3),VV2,0);初负1:=IF(T=1 AND DYNAINFO(4)<DYNAINFO(3),VV2,0);初正:=CONST(SUM(IF(初正1>=大额线AND T=1,初正1,0),T)),NODRAW;初负:=CONST(SUM(IF(初负1>=大额线AND T=1,初负1,0),T)),NODRAW;初正2:=CONST(SUM(IF(初正1<大额线AND T=1,初正1,0),T)),NODRAW;初负2:=CONST(SUM(IF(初负1<大额线AND T=1,初负1,0),T)),NODRAW;T00:=IF(C1>REF(C1,1),0.9,-0.9);T01:=IF(C1<REF(C1,1),-0.9,0.9);T02:=T00+T01,NODRAW;TT1:=BARSLAST(CROSS(T02,+1.5)),NODRAW;TT2:=BARSLAST(CROSS(-1.5,T02)),NODRAW;TT:=IF(T02=1.8,1,IF(T02=-1.8,-1,0));正V1:=IF(TT=1 OR (TT=0 AND TT1<TT2),成交额,0),NODRAW;负V1:=IF(TT=-1 OR (TT=0 AND TT1>TT2),成交额,0),NODRAW;正总1:=初正1+SUM(正V1,T),NODRAW,COLOR0000FF;负总1:=初负1+SUM(负V1,T),NODRAW,COLOR00FF00;正V:=IF(正V1>=大额线,正V1,0);负V:=IF(负V1>=大额线,负V1,0);正V2:=IF(正V1<大额线,正V1,0);负V2:=IF(负V1<大额线,负V1,0);正总:=初正+SUM(正V,T),NODRAW,COLOR0000FF;负总:=初负+SUM(负V,T),NODRAW,COLOR00FF00;正总2:=初正2+SUM(正V2,T),NODRAW,COLOR0000FF;负总2:=初负2+SUM(负V2,T),NODRAW,COLOR00FF00;大差%:(正总-负总)/(正总+负总)*100,COLOR00FF00,NODRAW;小差%:(正总2-负总2)/(正总2+负总2)*100,COLOR00FF00,NODRAW;JSQ:=IF((Q2+Q3)/2*1.042<RCC,RCC,(Q2+Q3)/2*1.042);DRAWBAND(JSQ,RGB(50,50,50),(Q2+Q3)/2*0.99,DRAWNUL L);Q4:=IF(大差%>=0,JSQ,(Q2+Q3)/2*0.99),NODRAW;Q5:=IF(大差%>=0,(Q2+Q3)/2*0.99,JSQ),NODRAW;DRAWBAND(Q4,RGB(100,100,100),Q5,RGB(50,50,50));STICKLINE(CROSS(大差%,-0.999),(Q2+Q3)/2*0.99,JSQ,10,0),COLOR777777;STICKLINE(CROSS(-0.999,大差%),(Q2+Q3)/2*0.99,JSQ,10,0),COLOR777777;{强弱界定家公式网 .COM}MMA30:=EMA(CLOSE,30)-(Q2+Q3)/2*0.01;强弱界定:=EMA(CLOSE,900)-(Q2+Q3)/2*0.01;DRAWBAND(MMA30,RGB(200,100,0),强弱界定,RGB(0,150,150));DRAWICON(CROSS(MMA30,强弱界定),H,1);{金龙喜舞}日时转换:=IF(PERIOD=5,120,240);QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2-(Q2+Q3)/2*0.01;VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2-(Q2+Q3)/2*0.01;VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2-(Q2+Q3)/2*0.01;VAR3:=(VAR1+VAR2)/2;VAR4:=EMA(VAR3,30);VAR5:=EMA(VAR3,60);VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5);DRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110 ,30));牵引线:=VAR1,COLORYELLOW;强弱线:=EMA(VAR1,日时转换),POINTDOT,COLORWHITE;趋势关注:=IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;量价关注:=IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE;冲击量:=IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW;强势区:=IF(VAR1>强弱线,1,DRAWNULL),NODRAW,COLORRED;止损区:=IF(VAR1<强弱线,1,DRAWNULL),NODRAW,COLORGREEN;STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORFF00FF;STICKLINE(冲击量=1,QZS,VAR1,1,0),COLORYELLOW;DRAWICON(趋势关注=1,EMA(VAR1,60),13);DRAWTEXT(量价关注=1,EMA(VAR1,60),'L0V'),COLORWHITE;{分时MACD}DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));DEA:=(EMA(DIF,6));MACD:=5*(DIF-DEA);STICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED;STICKLINE(DK<0,RCC*KK,RCC*KK+DK,0,1),COLORCYAN;STICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED;{多头MACD}DIFF:=EMA(CLOSE,240)-EMA(CLOSE,240)*100;DEAA:=EMA(DIFF,18);多头MACD:=(-3*(DIFF-DEAA))*20,NODRAW;ZD:=HHV(多头MACD,0);ZX:=LLV(多头MACD,0);CZ:=(Q2-Q3)/6;FDM:=MAX(ABS(ZD),ABS(ZX))*1.5;RB:=(Q2+Q3)/2*0.99+2*(Q2-Q3)/4/FDM*多头MACD;STICKLINE(多头MACD>0,RB,(Q2+Q3)/2*0.99,2,1),LINETHICK1,COLOR00AAFF;STICKLINE(多头MACD<0,RB,(Q2+Q3)/2*0.99,2,1),LINETHICK1,COLOR00AA00;{火焰山}EEEE:=(RCC-ZS)/3;FVAR1:=REF(LOW,1);FVAR2:=SMA(ABS(LOW-FVAR1),13,1)/SMA(MAX(LOW-FVAR1,0),13,1);FVAR3:=EMA(FVAR2,13);FVAR4:=LLV(LOW,34);FVAR51:=EMA(IF(LOW<=FVAR4,FVAR3,0),3);FVAR5:=IF(FVAR51>20,20,FVAR51);主力进场:STICKLINE(FVAR5>REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2+FVA R5*EEEE,10,0 ),COLORRED;STICKLINE(FVAR5<REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2+FV AR5*EEEE,5,1),COLORGREEN;{庄迹}FVAR6:=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);FVAR8:=TJA<4 AND COUNT(((FVAR6<REF(FVAR6,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1) AND CLOSE<DYNAINFO(3)*1.02)),30)=1;DRAWTEXT(FVAR8 AND COUNT(FVAR8,30)=1,(Q2+Q3)/2*0.99,'★迹'),COLORFFFFFF;{横盘突破}YY:=SMA(VOL,30,1);量1:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30));量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.92;短横:=((HHV(CLOSE,TTA)-LLV(CLOSE,TTA))/CLOSE)<0.01;横后上涨:=(CLOSE/DYNAINFO(3))<1.03 AND 短横AND 量 AND CROSS(C,(MA(C*V,TTA)/MA(V,TTA) + AVEDEV(C,TTA)*2));上涨:=T>90 AND (FILTER((CROSS(横后上涨,0) AND 量AND T>60 OR (T>60 ANDCLOSE<DYNAINFO(3)*1.03 AND (量1<0.5 OR 量1=1) AND BARSLAST(CROSS(C,(MA(C*V,TTA)/MA(V,TTA) + AVEDEV(C,TTA)*2)))<3AND CROSS(C,MA(HHV(C,TTA),1)))),30));STICKLINE(TJA<4 AND 上涨,(Q2+Q3)/2,(Q2+Q3)/2*1.035,10,0),COLOR0000FF;DRAWTEXT(TJA<4 AND 上涨,(Q2+Q3)/2*1.035,'★横'),COLORRED;{DIF金叉以及KD金叉}JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;STICKLINE(TJA<4 AND 二次金叉,(Q2+Q3)/2,(Q2+Q3)/2*1.01,10,0),COLORFF00FF;DRAWTEXT(TJA<4 AND 二次金叉,(Q2+Q3)/2*1.01,' 二金'),COLORYELLOW;HHH:=MA(CLOSE,10);GGG:=MA(CLOSE,12);下:=EMA((MA(LOW,3) * 0.96),30);决战:STICKLINE((TJA<4 OR TJA=3 AND TJJ>1) AND (CROSS(DIF,DEA) AND (下- REF(下,1)) > 0 AND MACD > REF(MACD,1) AND DIF < 0),(Q2+Q3)/2,(Q2+Q3)/2*1.01,10,0),COLOR0000FF;DRAWTEXT((TJA<4 OR TJA=3 AND TJJ>1) AND (CROSS(DIF,DEA) AND (下- REF(下,1)) > 0 AND MACD > REF(MACD,1) AND DIF < 0),(Q2+Q3)/2*1.03,'DIF金叉'),COLORFFFFFF;RSV:=((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,240))*200-100);K:=SMA(SMA(RSV,18,1),3,1);D:=MA(EMA(K,18),3);短买:=(CROSS(K,D) AND K>0 AND 量 AND CLOSE<DYNAINFO(3)*1.03);JCC:=COUNT(CROSS(K,D),BARSLAST(D>=0));K二金:=(CROSS(K,D) AND DEA<0 AND COUNT(JCC=2,21)=1);DRAWTEXT(TJA<4 AND 短买,(Q2+Q3)/2*1.035,'短买'),COLORFFFF00;DRAWTEXT(TJA<4 AND K二金,(Q2+Q3)/2*1.035,'K二金'),COLORFFEE00;{冲高过顶}顶高:REF(H,GDSJ),COLORFFFFFF,POINTDOT,LINETHICK1;过顶:=IF(CROSS(C,顶高),1,0),COLOR00FF00,POINTDOT,NODRAW;冲高:=IF(FILTER(CROSS(C,顶高*1.01),15),1,0),COLOR00FFFF,POINTDOT,NODRAW;DRAWTEXT(过顶,顶高*1.005,'↑'),COLOR00FF00;DRAWTEXT(冲高,顶高*1.005,'☆'),COLOR00FFFF;{盘龙驸凤}RCC11:=IF((RCC*KK+大差%/100)<(Q2+Q3)/2*0.96,(Q2+Q3)/2*0.96-((Q2+Q3)/2*0.96-(RCC*KK+大差%/100))*0.1,IF((RCC*KK+大差%/100)>(Q2+Q3)/2*1.07 AND (Q2+Q3)/2*1.04>=RCC*KK ,(Q2+Q3)/2*1.07+((RCC*KK+大差%/100)-(Q2+Q3)/2*1.04)*0.1,(RCC*KK+大差%/100))),NODRAW;RCC1:=IF(RCC*KK>(Q2+Q3)/2*1.04 AND RCC11>RCC*KK,(RCC11-RCC*KK)*0.2+RCC*KK,RCC11);{RCC1:=(RCC*KK+大差%/100);}盘龙:IF(T>5 AND 正总!=0 AND 负总!=0,RCC1,DRAWNULL),COLOR00FF00,LINETHICK2;RCC22:=IF((RCC*KK+小差%/100)<(Q2+Q3)/2,(Q2+Q3)/2-((Q2+Q3)/2-(RCC*KK+小差%/100))*0.1,IF((RCC*KK+小差%/100)>(Q2+Q3)/2*1.04 AND(Q2+Q3)/2*1.04>=RCC*KK ,(Q2+Q3)/2*1.04+((RCC*KK+小差%/100)-(Q2+Q3)/2*1.04)*0.1,(RCC*KK+小差%/100)));RCC2:=IF(RCC*KK>(Q2+Q3)/2*1.04 AND RCC22>RCC*KK,(RCC22-RCC*KK)*0.2+RCC*KK,RCC22);望喜:IF(T>5 AND 正总1!=0 AND 负总1!=0,RCC2,DRAWNULL),COLORFFFF00,LINETHICK1;STICKLINE(FILTER(C,239)>0,(Q2+Q3)/2*0.99,JSQ,0.5,0),COLO RWHITE;EMA(VAR1,日时转换),POINTDOT,COLORWHITE;通达信挖洞捕蝉主图源码DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;DRAWBAND(MA(CLOSE,60),RGB(200,80,80),MA(CLOSE,120), RGB(0,0,115));DRAWBAND(MA(CLOSE,N1),RGB(100,100,80),MA(CLOSE,N2 ),RGB(0,200,215));MA1:MA(CLOSE,N1),LINETHICK3;MA2:MA(CLOSE,N2),LINETHICK3;MA55:MA(CLOSE,55),LINETHICK2,COLORGREEN;MA24:MA(C,24),LINETHICK2,COLORBLUE;MA360:MA(C,360),LINETHICK2,COLORYELLOW;DRAWKLINE(HIGH,OPEN,LOW,CLOSE);STICKLINE(DIF>REF(DIF,1),MA1,MA2,0.1,1),COLORMAGENT A;STICKLINE(DIF<REF(DIF,1) OR MACD<REF(MACD,1),MA1,MA2,0.1,1),COLORGREEN;PMA:MA(C,N1),COLORWHITE,LINETHICK3;IF(PMA>REF(PMA,1),PMA,DRAWNULL),COLORRED,LINETHICK3;IF(PMA<REF(PMA,1),PMA,DRAWNULL),COLORGREEN,LINET HICK3;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,9,1);D:=SMA(K,9,1);J:=3*K-2*D;STICKLINE(CROSS(DIF,DEA) AND CROSS(K,D) AND CROSS(MA1,MA2),C,C,1,1);DRAWICON(MA2>REF(MA2,1),MA2,1);DRAWICON(MA2<REF(MA2,1),MA2,2);。
通达信优化改进版黄金坑主图指标公式
通达信优化改进版黄金坑主图指标公式VAR1:=MA(CLOSE,27);VAR2:=(CLOSE-VAR1)/VAR1*100;RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;VARA:=MA(VAR2,2);VARB:=BARSLAST(CROSS(-10,VARA)=1);VARC:=BARSLAST(CROSS(VARA,10)=1);VARD:=VARA<-10 AND VARB>3;VARE:=VARA>10 AND VARC>3;短线:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;中线:SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED;中长线:=-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40));长线:SMA(RSV3,5,1),COLORYELLOW;看底:STICKLINE(中线<15,中线,15,6,0),COLORF00FF0;黄金:STICKLINE(短线<20 AND 中线<20 AND 长线<20,MAX(长线,MAX(短线,中线)),20,3,0),COLOR00CCFF;看顶:STICKLINE(中线>80,80,中线,3,0),COLORFFF000;DRAWICON(CROSS(长线,15),中线,1);DRAWTEXT(LONGCROSS(中线,20,15),20,'反弹');DRAWTEXT(CROSS(短线,长线)AND 长线<18 AND 长线>REF(长线,1)OR CROSS(长线,5),20,'绝佳机会'),COLORYELLOW;底:DRAWTEXT(CROSS(中长线,-90) AND (长线<中线AND 长线>REF(长线,1)OR 短线<20 AND 中线<20 AND 长线 <20),长线,'底'),COLORFF00FF;DR:=IF(COUNT(CROSS(中长线,-90),12)=3,30,5);KH1:=IF(VARD,VARA,0);KH2:=REF(KH1,1)<0;龙宫藏宝:短线<20 AND 中线<20 AND 长线<20;天宫藏宝:中线>80 AND 中线>80 AND 长线>80;触底:CROSS(中长线,-90) AND (长线<中线AND 长线>REF(长线,1)OR 短线<20 AND 中线<20 AND 长线 <20);反弹:LONGCROSS(中线,20,15) OR CROSS(长线,15);绝佳机会:CROSS(短线,长线)AND 长线<18 AND 长线>REF(长线,1)OR CROSS(长线,5),COLORYELLOW;。
通达信超好的抓牛主图指标公式【主力成本、短期底部、红牛、牛窝、老鼠仓、大胆搏、加仓、逃顶】
通达信超好的抓牛主图指标公式【主力成本、短期底部、红牛、牛窝、老鼠仓、大胆搏、加仓、逃顶】A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8* REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/210;S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=2*(S2-S6);主力成本:EMA(X,13),COLORFF00FF,LINETHICK0;短期底部:LLV(HIGH,30),LINETHICK2,COLORFFCC00;IF(MA(C,3),MA(C,3),DRAWNULL),COLORYELLOW,LINETHICK2;IF(MA(C,9),MA(C,9),DRAWNULL),COLORMAGENTA,LINETHICK2;IF(MA(C,23.5),MA(C,23.5),DRAWNULL),COLORWHITE;DRAWKLINE(HIGH,OPEN,LOW,CLOSE);MA5:=MA(C,5);MA10:=MA(C,10);MA30:=MA(C,30);FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);FB:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);DRAWTEXT(FB,L-0.58,'★红牛'),COLORRED;V1:=EMA(CLOSE,5);V2:=EMA(EMA(CLOSE,90)*1.01,10);DRAWTEXT(CROSS(V1,V2),V1+0.05,'牛起步'),COLOR00FF00;VAR1:=LLV(LOW,21);VAR2:=HHV(HIGH,21);AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);AB:=CROSS(AK1,AK);DRAWTEXT((AB = 1),(LOW * 0.99),'○牛窝'),COLORYELLOW;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,COLOR0099FF; DRAWTEXT(老鼠仓,L*0.99,'老鼠仓'),COLOR0099FF;VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'★大胆搏'),COLOR00FFFF; DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★加仓'),COLOR00FFFF; A1AA:=9;A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.05),'小心变盘'),COLORFFFFFF;VAR6:=REF(C,1);VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;DRAWTEXT(CROSS(82,VAR7),H*1.01,'▼逃顶'),COLORYELLOW;。
通达信超级黄金坑指标公式
通达信超级黄金坑指标公式RSV1:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;RSV2:=(CLOSE-LLV(LOW,39))/(HHV(HIGH,39)-LLV(LOW,39))*100;短跳:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,28),COLOR00FF00;中跳:SMA(RSV2,6,1)+2*STD(CLOSE,39),COLORRED;RSV3:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;长跳:SMA(RSV3,6,1),COLORYELLOW;探试底:STICKLINE(中跳<17,中跳,17,6,0),COLORF00FF0;黄金坑:STICKLINE(短跳<28 AND 中跳<28 AND 长跳<28,MAX(长跳,MAX(短跳,中跳)),28,3,0),COLOR00CCFF;探顶:STICKLINE(中跳>80,80,中跳,3,0),COLORFFF000;DRAWICON(CROSS(长跳,17),中跳,1);{ 股旁网_最新股票指标公式}DRAWTEXT(LONGCROSS(中跳,28,17),28,'追涨');DRAWTEXT(CROSS(短跳,长跳)AND 长跳<18 AND 长跳>REF(长跳,1)OR CROSS(长跳,6),28,'跑道起跳');短中长粘合:DRAWTEXT(ABS(中跳-长跳)<2 AND 中跳>REF(中跳,1),中跳,'**'),COLORBLUE;中跳1:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50));底:DRAWTEXT(CROSS(中跳1,-90) AND (长跳<中跳AND 长跳>REF(长跳,1)OR 短跳<28 AND 中跳<28 AND 长跳<28),长跳,'底'),COLORFF00FF;IF(COUNT(CROSS(中跳1,-90),12)=3,40,6);。