通达信指标公式源码牛市来了,捉大牛用牛熊操盘线
通达信大牛中牛短牛指标源码及选股公式源码
通达信大牛中牛短牛指标源码及选股公式源码用法:出现大牛中牛短牛指标信号买入,出现“卖”信号果断卖出。
在没有出现卖的信号就持有待涨。
大牛信号出现可以做长线,中牛信号出现可以做中线,短牛信号出现可以做短线。
如果觉得好就在博文后面顶一下。
源码如下:N1:=5;N2:=10;STICKLINE(C>0,0,10,15,0),COLOR781816;LC:=REF(CLOSE,1);RSI5:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*10,COLORFF00FF,LINETHICK1;RSI10:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*10,COLOR00FFFF;VAR1:=C-REF(C,1);VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);MA5:=EMA(C,5);MA13:=EMA(C,13);UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0),COLOR0000FF;DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),0),COLOR00FF00;BT:(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) ANDREF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);0,COLORFF00FF;10,COLORFF0000;STICKLINE(UP,0,0.2,3,0),COLOR0000FF;STICKLINE(DOWN,0,0.2,3,0),COLOR00FF00;STICKLINE(BT,0,3,2,0),COLOR000088;STICKLINE(BT,0,3,1,0),COLOR0000CC;STICKLINE(BT,0,3,0.22,0),COLOR0000FF;DRAWTEXT(BT,3,'短牛'),COLOR0000FF;TJ1:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82;STICKLINE(TJ1,0,2,3,0),COLOR880088;STICKLINE(TJ1,0,2,1.5,0),COLORAA00AA;STICKLINE(TJ1,0,2,0.8,0),COLORCC00CC;STICKLINE(TJ1,0,2,0.2,0),COLORFF00FF;DRAWTEXT(TJ1,2,'中牛'),COLORFF00FF;HR:=HHV(HIGH,55);HRY:=LLV(LOW,55);HRY11:=HR*HRY;HRY33:=SQRT(HRY11);TJ2:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;STICKLINE(TJ2,0,1,5,0),COLOR008888;STICKLINE(TJ2,0,1,2,0),COLOR00AAAA;STICKLINE(TJ2,0,1,1,0),COLOR00CCCC;STICKLINE(TJ2,0,1,0.2,0),COLOR00FFFF;DRAWTEXT(TJ2,1,'大牛'),COLOR00FFFF;ST:=REF(UP,1)>REF(UP,2) AND DOWN<REF(UP,1);STICKLINE(ST,10,9,5,0),COLOR008800;STICKLINE(ST,10,9,2,0),COLOR00AA00;STICKLINE(ST,10,9,1,0),COLOR00CC00;STICKLINE(ST,10,9,0.2,0),COLOR00FF00;DRAWTEXT(ST,9,'卖'),COLOR00FF00;{已通过测试}下面的是选股公式:可以三个选股公式一齐加在条件选股里面选!{短牛选股公式源码}MA5:=EMA(C,5);MA13:=EMA(C,13);VAR1:=C-REF(C,1);VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0);DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),0);短牛买:(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) ANDREF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);--------------------------------------------------------------------------------------{中牛选股公式源码}MA5:=EMA(C,5);MA13:=EMA(C,13);UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0);DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),0);中牛买:REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82;--------------------------------------------------------------------------------------{大牛选股公式源码:}MA5:=EMA(C,5);MA13:=EMA(C,13);UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0);DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS (MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS (MA13,MA5))+1),0);HR:=HHV(HIGH,55);HRY:=LLV(LOW,55);HRY11:=HR*HRY;HRY33:=SQRT(HRY11);长牛买:REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;附图说明:。
【股票指标公式下载】-【通达信】大牛主图(牛熊线、底背离、操盘)
【股票指标公式下载】-【通达信】大牛主图(牛熊线、底背离、操盘)【通达信】大牛主图(牛熊线、底背离、操盘)-指标公式源码MA5:=EMA(C,5);MA13:=EMA(C,13);牛熊线:MA(C,55),COLORRED,COLOR0099FF;UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1) ,LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1) ,HHV(H,BARSLAST(C ROSS(MA5,MA13))+1),0),COLOR0000FF;DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA1 3))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1 ),LLV(L,BARSLAST (CROSS(MA13,MA5))+1),0),COLOR00FF00;HR:=HHV(HIGH,55);HRY:=LLV(LOW,55);HRY11:=HR*HRY;HRY33:=SQRT(HRY11);TJ2:=REF(DOWN,1)REF(DOWN,1) AND C<hry33;< p="">TJ1:=REF(DOWN,1)REF(DOWN,1) AND CDRAWICON(FILTER(TJ2=1,5),HIGH*1.03,25);AA:=(3*CLOSE+LOW+OPEN+HIGH)/6;MID:=3*MA(AA,1)-2*MA(AA,1);DKX:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3 )+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+1 1*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13) +6*REF(MID,14 )+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20) )/210,COLOR3A504D,LINETHICK2;A1:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,3 0))/(HHV(H,30)-LLV(L,30))*100,5);A2:=LLV(L,21);A3:LLV(L,30),COLOR3A504D,LINETHICK1;A4:=EMA(A1,5);A5:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);DEA :=EMA(DIFF,9);LZ1:=(DIFF<-0.1 AND DIFF>DEA);LZM:=CROSS(A1,A4)AND (A5-A4)>40 AND LZ1;STICKLINE( LZ1,A3,A3*1.03,1,0),COLOR3A504D;STICKLINE(CROSS(A1,A4) AND (A5-A4)>40 ANDLZ1 ,A3,A3*1.04,1,0),COLORYELLOW;LC2:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC2),0),3,1) / SMA(ABS((CLOSE - LC2)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(FF,MA15),(LOW * 0.965),'底背离'),COLOR3A504D;CPS:=EMA(C,26);VAR12:=(C-REF(C,2))/REF(C,2)*100;DRAWTEXT(CROSS(C,CPS) AND VAR12>5,L*0.965,'操盘'),COLORFF0080,LINETHICK1;工作:=CROSS(C,EMA(C,14)) AND C>REF(C,1)*1.03 AND C>AMOUNT/100/V AND REF(V,3)<=REF(V,30)*1.1 AND SUM(VOL*100/CAPITAL,50)>=100AND BETWEEN(V/CAPITAL,0.01,0.08)ANDBETWEEN(C/REF(C,20)/(INDEXC/REF(INDEXC,20)),0.95,1.1); DRAWTEXT(工作=1,LOW *0.998,'工作点'),COLOR00DDFF;【通达信】大牛主图(牛熊线、底背离、操盘)-指标公式效果图(文档来源:若水财经社区)</hry33;<>。
通达信牛暴涨主图指标公式通达信指标公式源码
通达信牛暴涨主图指标公式Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;ZK1:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTL INE,COLORBLUE;ZD1:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINET HICK2,COLORRED;ZD2:EMA(ZD1,25),LINETHICK2;DRAWBAND(ZD1,RGB(55,0,0),ZD2,RGB(0,91,0));DRAWKLINE(H,O,L,C);STICKLINE(ZD1>LOW ANDZD1<HIGH,ZD1,MIN(MIN(OPEN,CLOSE),ZD1),2,0),COLORYELLOW; STICKLINE(ZD1>MIN(C,O) ANDZD1<MAX(C,O),ZD1,MIN(OPEN,CLOSE),2,0),COLORYELLOW;STICKLINE(ZD1>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;STICKLINE(ZD1>HIGH,HIGH,LOW,0,0),COLORYELLOW;VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6 );回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));XG:=ZD1>HIGH AND 回调买AND L<=ZD1;DRAWTEXT(XG,L,'▲买入'),COLORRED;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN (OPEN,CLOSE)-LOW)));QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ -MIN(CLOSE,OPEN))));QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,( HIGH-MAX(OPEN,CLOSE))));QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX (CLOSE,OPEN)-JJ)));DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA, LINETHICK;V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);V5:=SMA(V2*120/FROMOPEN*5,2,1);V10:=SMA(V5,5,1);V20:=SMA(V10,5,1);DY:=CURRBARSCOUNT=1 AND C<REF(C,1);DY2:=REF(V2,1)-DY;XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<ZK1;{DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}DRAWTEXT(XG2 AND L<ZD1,L,'↖牛暴涨'),COLORRED;超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+中B+小B)+(超S+大S+中S+小S);大宗净流入:=(超B+大B)+(超S+大S);超大单:=(超B)+(超S);大单:=(大B)+(大S);中单:=(中B)+(中S);小单:=(小B)+(小S);大宗进:=(超B)+(大B);大宗出:=(超S)+(大S);非大宗进:=(中B)+(小B);非大宗出:=(中S)+(小S);资金流向:=(超B+大B+中B+小B)+(超S+大S+中S+小S);近5日流向:=SUM(资金流向,5);近10日流向:=SUM(资金流向,10);主力资金线:=(L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1))/100.0,LINETHI CK2;主力买力度:=LARGEINTRDVOL*100/VOL;主力卖力度:=LARGEOUTTRDVOL*100/VOL;AAB:=CONST(MAX(ABS(超大单),MAX(ABS(大单),MAX(ABS(中单),ABS(小单))))),NODRAW;DRAWRECTREL(5,CONST(830-(ABS(超大单)*500/AAB))/2,35,460,IF(CONST(超大单)>0,RGB(255,0,255),RGB(0,255,255)));DRAWRECTREL(40,CONST(830-(ABS(大单)*500/AAB))/2,70,460,IF(CONST(大单)>0,RGB(255,0,255),RGB(0,255,255)));DRAWRECTREL(75,CONST(830-(ABS(中单)*500/AAB))/2,105,460,IF(CONST(中单)>0,RGB(255,0,255),RGB(0,255,255)));DRAWRECTREL(110,CONST(830-(ABS(小单)*500/AAB))/2,140,460,IF(CONST(小单)>0,RGB(255,0,255),RGB(0,255,255)));DRAWTEXT_FIX(CURRBARSCOUNT=1,0.007,0.46,0,'超户大户中户散户'),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.007,0.4,0,INTPART(超大单)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.042,0.4,0,INTPART(大单)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.076,0.4,0,INTPART(中单)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.112,0.4,0,INTPART(小单)),COLORWHITE;TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);筹码突破:=C>TYX3AND(C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),COLORRED;A111:=COST(85);A222:=COST(15);A333:=A111-A222;A444:=(A111+A222)/2;单峰密集:=A333/A444*100<30,LINETHICK0;{A5:=A3/A4*100<30;}B1:=HHV(HIGH,250);B2:=LLV(LOW,250);B3:=B1-B2;B4:=(A444-B2);低位:=A444<(B3*04+B2),LINETHICK0;低位单峰密集:=单峰密集AND 低位;B5:=C/REF(C,1)>1.04; {AND V/REF(V,1)>2;{ AND H=C;}主力持仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);主力持仓大于75%:=主力持仓%>=75 {AND 主力持仓%<=91} AND C>0 AND CLOSE>OPEN AND C=H;敢死吗:=主力持仓大于75% AND 低位单峰密集AND B4 ANDWINNER(C)>=0.91 AND B5,COLORGREEN,LINETHICK3;{DRAWTEXT(FILTER(敢死吗=1,5),L,'----敢死吗'),COLORGREEN;} DRAWICON(FILTER(敢死吗=1,5),L*0.995,25);DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA1:=EMA(DIF1,9);AAA1:=(DIF1-DEA1)*2*60;AAA上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL);AAA下:=IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL);买:=13;入:=AAA1-REF(AAA1,1);正大:=CROSS(入,买);DIF2:=EMA(DCLOSE,10)-EMA(DCLOSE,72);DEA2:=EMA(DIF2,17);AAA:=(DIF2-DEA2)*2*60;入2:=AAA-REF(AAA,1);牛股:=CROSS(入2,13);正大牛股:=正大AND 牛股;DRAWICON(正大牛股,L*0.99,1);VAR1:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; VAR3:=SMA(VAR2,3,1);天:=100+(-ABS(VAR1)),COLORRED;下:=SMA(VAR3,2,1);无:=ABS(VAR1),COLORGREEN;敌:=50,COLORFFAA00,LINETHICK3;LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100; 卖:=CROSS(90,操作线);DRAWICON(卖,H*1.01,8);绝底线:=5;买阴线1:操作线<5 AND ZD1>ZD2 AND L<ZD1;DRAWICON(买阴线1,L*0.98,7);买阴线2:操作线<5 AND ZD1<ZD2 AND L<ZD1;DRAWICON(买阴线2,L*0.995,7);DRAWTEXT_FIX(1,0.20,0.88,0,HYBLOCK),COLORGREEN; DRAWTEXT_FIX(1,0.20,0.94,0,EXTERNSTR(0,3))COLORFF88FF;。
通达信指标公式源码 四线抓牛主图指标
指标源码;大单比率:(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW;主力增减仓%:LARGEINTRDVOL/LARGEOUTTRDVOL,NODRAW;RV5:=IF(BARSCOUNT(CLOSE)<6,REF(SUM(VOL,BARSCOUNT(CLOSE))/BARSC OUNT(CLOSE),1),REF(MA(VOL,5),1));V1:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT AND BARSCOUNT(CLOSE)>1,DYNAINFO(17)*RV5,VOL),VOLSTICK; STICKLINE(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT AND BARSCOUNT(CLOSE)>1,O,V1,3,-1),COLOR336699;2、优化北沙MACD ,副图,来自北沙老师和理想BJIF老师,本指标加入了千岛一帆老师的上涨强度指标。
指标源码;DIF:EMA(C,12)-EMA(C,26);DEA:EMA(DIF,9);MACD:(DIF-DEA)*2,COLORSTICK;压力:HHV(DIF,55),COLORGREEN;支撑:LLV(DIF,55),COLORGREEN;A:=BARSLAST(REF(CROSS(DIF,DEA),1));底背离:=REF(CLOSE,A+1)>C AND DIF>REF(DIF,A+1)ANDCROSS(DIF,DEA)AND DEA<0;底背天:IF(底背离,A,0),NODRAW;线底背:DRAWLINE(A=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2;W1:STICKLINE(MACD>0,MACD,0,1,1),COLORRED;W2:STICKLINE(MACD<0,MACD,0,1,0),COLORLIBLUE;VA1:=HHVBARS(MACD,BARSLAST(MACD<0)+1);VA2:=CROSS(BACKSET(CROSS(0,MACD)OR(ISLASTBAR ANDMACD>0),REF(VA1,1)+2),0.5);前高:DRAWLINE(VA2,MACD,REF(VA2,1),REF(MACD,1),1),COLORWHITE;前高*1.1,COLORBLACK;VA3:=LLVBARS(MACD,BARSLAST(MACD>0)+1);VA4:=CROSS(BACKSET(CROSS(MACD,0) OR (ISLASTBAR ANDMACD<0),REF(VA3,1)+2),0.5);前低:DRAWLINE(VA4,MACD,REF(VA4,1),REF(MACD,1),1),COLORYELLOW;W3:STICKLINE(MACD>DRAWLINE(VA2,MACD,REF(VA2,1),REF(MACD,1),1) ,DRAWLINE(VA2,MACD,REF(VA2,1),REF(MACD,1),1),MACD,0.5,0),COLORYELL OW;W4:STICKLINE(MACD<DRAWLINE(VA4,MACD,REF(VA4,1),REF(MACD,1),1) ,DRAWLINE(VA4,MACD,REF(VA4,1),REF(MACD,1),1),MACD,0.5,0),COLORBLU E;MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;VARA1:=(DVOL/C)/2,NODRAW;VARA2:=SUM(IF(VARA1>100 AND CLOSE>REF(CLOSE,1),VARA1,0),0); VARA3:=SUM(IF(VARA1>100 AND CLOSE<REF(CLOSE,1),VARA1,0),0); VARA4:=SUM(IF(VARA1<100 AND CLOSE>REF(CLOSE,1),VARA1,0),0); VARA5:=SUM(IF(VARA1<100 AND CLOSE<REF(CLOSE,1),VARA1,0),0); VARA6:=VARA2+VARA3+VARA4+VARA5;机买:=(VARA2/VARA6)*100,LINETHICK2,COLORRED;机卖:=(VARA3/VARA6)*100,LINETHICK2,COLORGREEN;主力差:=机买-机卖,LINETHICK2,NODRAW;强度:主力差-REF(主力差,1),NODRAW,COLOR6600FF;STICKLINE(强度>1.5,-0.05,0,2,0),COLORMAGENTA;近期:BARSLAST(强度>1.5),NODRAW,COLORGRAY;3、资金力度来自其他网站指标源码;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)))));HSL:=((XVL / 20) / 1.15);攻击流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22)); LLJX:EMA(攻击流量,3),LINETHICK0;力度:(HSL / 1000),LINETHICK0;ZJLL:=REF(LLJX,1);QZJJ:=(((LLJX - ZJLL) / ZJLL) * 100);资金流量:LLJX+LLJX*0.03,LINETHICK0;流量增幅:IF(((LLJX > 0) AND (ZJLL < 0)),ABS(QZJJ),IF((((LLJX < 0) AND (ZJLL < 0)) AND (LLJX < ZJLL)),(0 -QZJJ),QZJJ)),LINETHICK0;流量递增:REF(LLJX,1)>REF(LLJX,2) AND LLJX>REF(LLJX,1) ANDLLJX>0,COLOR0000FF,POINTDOT;STICKLINE(((HSL * 4) > 0),((HSL * 4) * 1.5),0,3,0),COLOR00FFFF; STICKLINE(((HSL * 4) < 0),((HSL * 4) * 1.5),0,3,0),COLORFFFF00; STICKLINE((LLJX > 0),LLJX*10,0,2,0),COLORFF00FF;STICKLINE((LLJX < 0),LLJX*10,0,2,0),COLORFF0000;4、筹码分布,来自云自云端老师,筹码动态是一支股票运行的灵魂。
判断牛熊市的绝佳利器通达信指标公式源码
判断牛熊市的绝佳利器通达信指标公式源码通达信指标公式是用于研究和预测股市牛熊市的技术指标工具。
以下是通达信指标公式的源码与解释:1. 超级波动指标(Super Fluctuation Indicator)公式:(最高价减去最低价的均值)/(开盘价除以收盘价的均值)源码:SFI:(HHV(HIGH,20)-LLV(LOW,20))/(MA(O,20)/MA(C,20))2. 相对强弱指标(Relative Strength Index)公式:100-(100/(1+多日上涨总幅度/多日下跌总幅度))源码:RSI:100-(100/(1+SUM(IF(CLOSE>REF(C,1),CLOSE-REF(C,1),0),N)/SUM(IF(CLOSE<REF(C,1),REF(C,1)-CLOSE,0),N)))3. 动态均值线(Dynamic Moving Average)公式:(当天指数价格*指数当日交易量+昨日指数价格*指数昨日交易量+…+第N日指数价格*第N日交易量)/总成交量源码:DMA:SUM(CLOSE*VOL,N)/SUM(VOL,N)4. 随机指标(Stochastic Indicator)公式:(收盘价-N日最低价)/(N日最高价-N日最低价)*100源码:STOCH:(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*1005. 强弱指标(Force Index)公式:(当日收盘价-前日收盘价)*当日成交量源码:FI:(REF(CLOSE,1)-CLOSE)*VOL通过使用以上的通达信指标公式,可以帮助分析师和投资者判断是否牛熊市。
这些指标可以用于测量市场的动能、趋势和力量,从而帮助投资者做出更明智的投资决策。
但是需要注意的是,单一的指标可能无法准确判断市场趋势,因此最好结合多个指标使用,并且需要结合其他市场因素做出综合判断。
因此,在使用通达信指标公式时,投资者应该结合自己的分析和判断,并谨慎决策。
熊市捉妖通达信指标公式源码
公式源码:A7A:=CLOSE-REF(CLOSE,1);A8A:=100*EMA(EMA(A7A,6),6)/EMA(EMA(ABS(A7A),6),6);出关线:=(-50);XG1:=CROSS(A8A,出关线);PER1:=5;MMA:=EMA(CLOSE,PER1);SMMA:=EMA(MMA,PER1);IMPETMMA:=MMA-REF(MMA,1);IMPETSMMA:=SMMA-REF(SMMA,1);DIVMA:=ABS(MMA-SMMA);AVERIMPET:=(IMPETMMA+IMPETSMMA)/2;TDF:=POW(DIVMA,1)*POW(AVERIMPET,3);NTDF:=TDF/HHV(ABS(TDF),PER1*3);A:=(-0.05);B:=0.05;XG2:=CROSS(NTDF,(-0.6));VAR4:=EMA(CLOSE,3);VAR5:=LLV(HIGH,240);VAR6:=100*(CLOSE-VAR5)/VAR5;VARF:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4;XG1A:=COUNT(REF(VAR4,1)<REF(VAR4,2),5)=5 AND VAR4>REF(VAR4,1);XG2A:=FILTER(COUNT(VAR6<0,5) AND CROSS(VAR6,0) AND VARF>REF(VARF,1) AND CLOSE>OPEN,3);XG3A:=XG1A OR XG2A;AA:=REF(CLOSE,1);BBB:=SMA(MAX(CLOSE-AA,0),34,1)/SMA(ABS(CLOSE-AA),34,1)*1000;HHH:=BBB-LLV(BBB,36);短期:=(MA(HHH,2)*3+HHH*13)/16;中期:=MA(HHH,10);CCC:=LLV(BBB,36)-BBB;短期二:=(MA(CCC,2)*3+CCC*13)/16;中期二:=MA(CCC,10);XG4A:=CROSS(短期,中期) AND CROSS(中期二,短期二);XG3:=XG3A AND XG4A;PRD1:=5;STEP:=(SQRT(5)-1)/2;A1:=IF(CLOSE>MA(CLOSE,PRD1),10,IF(CLOSE<MA(CLOSE,PRD1),(-10),0));A2:=IF(CLOSE>MA(CLOSE,PRD1/STEP),10,IF(CLOSE<MA(CLOSE,PRD1/STEP),(-10),0)); A3:=IF(CLOSE>MA(CLOSE,INTPART(PRD1/POW(STEP,2))),10,IF(CLOSE<MA(CLOSE,INT PART(PRD1/POW(STEP,2))),(-10),0));A4:=IF(CLOSE>MA(CLOSE,INTPART(PRD1/POW(STEP,3))),10,IF(CLOSE<MA(CLOSE,INT PART(PRD1/POW(STEP,3))),(-10),0));A5:=IF(CLOSE>MA(CLOSE,INTPART(PRD1/POW(STEP,4))),10,IF(CLOSE<MA(CLOSE,INT PART(PRD1/POW(STEP,4))),(-10),0));A6:=IF(CLOSE>MA(CLOSE,INTPART(PRD1/POW(STEP,5))),10,IF(CLOSE<MA(CLOSE,INT PART(PRD1/POW(STEP,5))),(-10),0));A7:=IF(CLOSE>MA(CLOSE,INTPART(PRD1/POW(STEP,6))),10,IF(CLOSE<MA(CLOSE,INT PART(PRD1/POW(STEP,6))),(-10),0));A8:=IF(CLOSE>MA(CLOSE,INTPART(PRD1/POW(STEP,7))-1),10,IF(CLOSE<MA(CLOSE,IN TPART(PRD1/POW(STEP,7))-1),(-10),0));A9:=IF(CLOSE>MA(CLOSE,INTPART(PRD1/POW(STEP,8))-1),10,IF(CLOSE<MA(CLOSE,IN TPART(PRD1/POW(STEP,8))-1),(-10),0));A10:=IF(CLOSE>MA(CLOSE,INTPART(PRD1/POW(STEP,9))-3),10,IF(CLOSE<MA(CLOSE,I NTPART(PRD1/POW(STEP,9))-3),(-10),0));XGB:=A1+A2+A3+A4+A5+A6+A7+A8+A9+A10;XG4:=CROSS(XGB,(-99));K:=(CLOSE+HIGH+LOW)/3;D:=MA(K,4);XG1C:=REF(CLOSE,1)<D AND CLOSE>D AND D<REF(D,1);VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;AAC:=EMA(VAR1,3)*2;XG2C:=CROSS(AAC,20);XG5:=XG2C AND XG1C;TDXSTEP494:XG1 AND XG2 AND XG3 AND XG4 AND XG5,COLORRED,LINETHICK2;。
判大势的“牛熊时段”通达信指标公式源码
判大势的“牛熊时段”思路是K线叠加。
通过颜色的变化体现大趋势的强弱度。
源码:MA120:=MA(C,120);MA250:=MA(C,250);STICKLINE(C>=O,H,L,0,1),COLORCYAN;STICKLINE(C>=O,C,O,3,1),COLORCYAN;STICKLINE(C<O,H,L,0,0 ),COLORCYAN;STICKLINE(C<O,C,O,3,0 ),COLORCYAN;STICKLINE(C>MA120 AND C>O,H,C,0,0 ),COLORRED;STICKLINE(C>MA120 AND C>O,L,O,0,0 ),COLORRED;STICKLINE(C>MA120 AND C>O,O,C,3,1),COLORRED;STICKLINE(C>MA120 AND C<=O,H,L,0,0 ),COLORRED;STICKLINE(C>MA120 AND C<=O,O,C,3,0),COLORRED;STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,H,C,0,0),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,O,L,0,0),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,O,C,3,1),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C<=O,H,L,0,0),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C<=O,O,C,3,0),COLORRED; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN; STICKLINE(MA120>MA250 AND C>MA120 AND C>O,H,C,0,0),COLORRED; STICKLINE(MA120>MA250 AND C>MA120 AND C>O,O,L,0,0),COLORRED; STICKLINE(MA120>MA250 AND C>MA120 AND C>O,O,C,3,1),COLORRED; STICKLINE(MA120>MA250 AND C>MA120 AND C<=O,H,L,0,0),COLORRED; STICKLINE(MA120>MA250 AND C>MA120 AND C<=O,O,C,3,0),COLORRED; STICKLINE(MA120>MA250 AND C<MA120 AND C>O,H,C,0,0),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C>O,O,L,0,0),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C>O,O,C,3,1),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C<=O,H,L,0,0),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C<=O,O,C,3,0),COLORGREEN; STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC>O,H,C,0,0),COLORCYAN;STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC>O,O,L,0,0),COLORCYAN;STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC>O,O,C,3,1),COLORCYAN;STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC<=O,H,L,0,0),COLORCYAN;STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC<=O,O,C,3,0),COLORCYAN;STICKLINE(C<MA250 AND C>O,H,C,0,0),COLORBLUE;STICKLINE(C<MA250 AND C>O,O,L,0,0),COLORBLUE;STICKLINE(C<MA250 AND C>O,O,C,3,1),COLORBLUE;STICKLINE(C<MA250 AND C<=O,H,L,0,0),COLORBLUE;STICKLINE(C<MA250 AND C<=O,O,C,3,0),COLORBLUE;STICKLINE(C>MA120 AND MA120<MA250 AND C>O,H,C,0,0),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C>O,O,L,0,0),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C>O,O,C,3,1),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C<=O,H,L,0,0),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C<=O,O,C,3,0),COLORYELLOW;。
判大势的“牛熊时段”通达信指标公式源码
判大势的“牛熊时段”思路是K线叠加。
通过颜色的变化体现大趋势的强弱度。
源码:MA120:=MA(C,120);MA250:=MA(C,250);STICKLINE(C>=O,H,L,0,1),COLORCYAN;STICKLINE(C>=O,C,O,3,1),COLORCYAN;STICKLINE(C<O,H,L,0,0 ),COLORCYAN;STICKLINE(C<O,C,O,3,0 ),COLORCYAN;STICKLINE(C>MA120 AND C>O,H,C,0,0 ),COLORRED;STICKLINE(C>MA120 AND C>O,L,O,0,0 ),COLORRED;STICKLINE(C>MA120 AND C>O,O,C,3,1),COLORRED;STICKLINE(C>MA120 AND C<=O,H,L,0,0 ),COLORRED;STICKLINE(C>MA120 AND C<=O,O,C,3,0),COLORRED;STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,H,C,0,0),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,O,L,0,0),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,O,C,3,1),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C<=O,H,L,0,0),COLORRED; STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C<=O,O,C,3,0),COLORRED; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN; STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN; STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN; STICKLINE(MA120>MA250 AND C>MA120 AND C>O,H,C,0,0),COLORRED; STICKLINE(MA120>MA250 AND C>MA120 AND C>O,O,L,0,0),COLORRED; STICKLINE(MA120>MA250 AND C>MA120 AND C>O,O,C,3,1),COLORRED; STICKLINE(MA120>MA250 AND C>MA120 AND C<=O,H,L,0,0),COLORRED; STICKLINE(MA120>MA250 AND C>MA120 AND C<=O,O,C,3,0),COLORRED; STICKLINE(MA120>MA250 AND C<MA120 AND C>O,H,C,0,0),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C>O,O,L,0,0),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C>O,O,C,3,1),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C<=O,H,L,0,0),COLORGREEN; STICKLINE(MA120>MA250 AND C<MA120 AND C<=O,O,C,3,0),COLORGREEN; STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC>O,H,C,0,0),COLORCYAN;STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC>O,O,L,0,0),COLORCYAN;STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC>O,O,C,3,1),COLORCYAN;STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC<=O,H,L,0,0),COLORCYAN;STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) ANDC<=O,O,C,3,0),COLORCYAN;STICKLINE(C<MA250 AND C>O,H,C,0,0),COLORBLUE;STICKLINE(C<MA250 AND C>O,O,L,0,0),COLORBLUE;STICKLINE(C<MA250 AND C>O,O,C,3,1),COLORBLUE;STICKLINE(C<MA250 AND C<=O,H,L,0,0),COLORBLUE;STICKLINE(C<MA250 AND C<=O,O,C,3,0),COLORBLUE;STICKLINE(C>MA120 AND MA120<MA250 AND C>O,H,C,0,0),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C>O,O,L,0,0),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C>O,O,C,3,1),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C<=O,H,L,0,0),COLORYELLOW; STICKLINE(C>MA120 AND MA120<MA250 AND C<=O,O,C,3,0),COLORYELLOW;。
通达信牛暴涨主图指标公式通达信指标公式源码
通达信⽜暴涨主图指标公式通达信指标公式源码通达信⽜暴涨主图指标公式Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;ZK1:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTL INE,COLORBLUE;ZD1:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINET HICK2,COLORRED;ZD2:EMA(ZD1,25),LINETHICK2;DRAWBAND(ZD1,RGB(55,0,0),ZD2,RGB(0,91,0));DRAWKLINE(H,O,L,C);STICKLINE(ZD1>LOW ANDZD1MIN(C,O) ANDZD1STICKLINE(ZD1>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;STICKLINE(ZD1>HIGH,HIGH,LOW,0,0),COLORYELLOW;VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6 );回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2)); XG:=ZD1>HIGH AND 回调买AND L<=ZD1;DRAWTEXT(XG,L,'▲买⼊'),COLORRED;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN (OPEN,CLOSE)-LOW)));QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ -MIN(CLOSE,OPEN))));QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,( HIGH-MAX(OPEN,CLOSE)))); QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX (CLOSE,OPEN)-JJ))); DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA, LINETHICK;V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);V5:=SMA(V2*120/FROMOPEN*5,2,1);V10:=SMA(V5,5,1);V20:=SMA(V10,5,1);DY:=CURRBARSCOUNT=1 AND CDY2:=REF(V2,1)-DY;XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H{DRAWTEXT(XG2,L,'▲抓⽜'),COLORYELLOW;}DRAWTEXT(XG2 AND L超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+中B+⼩B)+(超S+⼤S+中S+⼩S);⼤宗净流⼊:=(超B+⼤B)+(超S+⼤S);超⼤单:=(超B)+(超S);⼤单:=(⼤B)+(⼤S);中单:=(中B)+(中S);⼩单:=(⼩B)+(⼩S);⼤宗进:=(超B)+(⼤B);⼤宗出:=(超S)+(⼤S);⾮⼤宗进:=(中B)+(⼩B);⾮⼤宗出:=(中S)+(⼩S);资⾦流向:=(超B+⼤B+中B+⼩B)+(超S+⼤S+中S+⼩S);近5⽇流向:=SUM(资⾦流向,5);近10⽇流向:=SUM(资⾦流向,10);主⼒资⾦线:=(L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1))/100.0,LINETHI CK2;主⼒买⼒度:=LARGEINTRDVOL*100/VOL;主⼒卖⼒度:=LARGEOUTTRDVOL*100/VOL;AAB:=CONST(MAX(ABS(超⼤单),MAX(ABS(⼤单),MAX(ABS(中单),ABS(⼩单))))),NODRAW;DRAWRECTREL(5,CONST(830-(ABS(超⼤单)*500/AAB))/2,35,460,IF(CONST(超⼤单)>0,RGB(255,0,255),RGB(0,255,255)));DRAWRECTREL(40,CONST(830-(ABS(⼤单)*500/AAB))/2,70,460,IF(CONST(⼤单)>0,RGB(255,0,255),RGB(0,255,255))); DRAWRECTREL(75,CONST(830-(ABS(中单)*500/AAB))/2,105,460,IF(CONST(中单)>0,RGB(255,0,255),RGB(0,255,255)));DRAWRECTREL(110,CONST(830-(ABS(⼩单)*500/AAB))/2,140,460,IF(CONST(⼩单)>0,RGB(255,0,255),RGB(0,255,255)));DRAWTEXT_FIX(CURRBARSCOUNT=1,0.007,0.46,0,'超户⼤户中户散户'),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.007,0.4,0,INTPART(超⼤单)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.042,0.4,0,INTPART(⼤单)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.076,0.4,0,INTPART(中单)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.112,0.4,0,INTPART(⼩单)),COLORWHITE;TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);筹码突破:=C>TYX3AND(C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),COLORRED;A111:=COST(85);A222:=COST(15);A333:=A111-A222;A444:=(A111+A222)/2;单峰密集:=A333/A444*100<30,LINETHICK0;{A5:=A3/A4*100<30;}B1:=HHV(HIGH,250);B2:=LLV(LOW,250);B3:=B1-B2;B4:=(A444-B2);低位:=A444<(B3*04+B2),LINETHICK0;低位单峰密集:=单峰密集AND 低位;B5:=C/REF(C,1)>1.04; {AND V/REF(V,1)>2;{ AND H=C;}主⼒持仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);主⼒持仓⼤于75%:=主⼒持仓%>=75 {AND 主⼒持仓%<=91} AND C>0 AND CLOSE>OPEN AND C=H;敢死吗:=主⼒持仓⼤于75% AND 低位单峰密集AND B4 ANDWINNER(C)>=0.91 AND B5,COLORGREEN,LINETHICK3;{DRAWTEXT(FILTER(敢死吗=1,5),L,'----敢死吗'),COLORGREEN;} DRAWICON(FILTER(敢死吗=1,5),L*0.995,25);DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA1:=EMA(DIF1,9);AAA1:=(DIF1-DEA1)*2*60;AAA上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL);AAA下:=IF(AAA1买:=13;⼊:=AAA1-REF(AAA1,1);正⼤:=CROSS(⼊,买);DIF2:=EMA(DCLOSE,10)-EMA(DCLOSE,72);DEA2:=EMA(DIF2,17);AAA:=(DIF2-DEA2)*2*60;⼊2:=AAA-REF(AAA,1);⽜股:=CROSS(⼊2,13);正⼤⽜股:=正⼤AND ⽜股;DRAWICON(正⼤⽜股,L*0.99,1);VAR1:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; VAR3:=SMA(VAR2,3,1);天:=100+(-ABS(VAR1)),COLORRED;下:=SMA(VAR3,2,1);⽆:=ABS(VAR1),COLORGREEN;敌:=50,COLORFFAA00,LINETHICK3;LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100; 卖:=CROSS(90,操作线); DRAWICON(卖,H*1.01,8);绝底线:=5;买阴线1:操作线<5 AND ZD1>ZD2 AND LDRAWICON(买阴线1,L*0.98,7);买阴线2:操作线<5 AND ZD1DRAWICON(买阴线2,L*0.995,7);DRAWTEXT_FIX(1,0.20,0.88,0,HYBLOCK),COLORGREEN;DRAWTEXT_FIX(1,0.20,0.94,0,EXTERNSTR(0,3))COLORFF88FF;。
通达信指标公式源码看透主力【本人珍藏的真正主力再现抓牛指标、源码、主图、说明】
看透主力【本人珍藏的真正主力再现抓牛指标、源码、主图、说明】只有经过长期实践和在牛、熊市中经得起时间考验的指标才是好指标,该指标通过“趋和势”两条线的走势和其它线段及买卖提示的辅助,可以成功率极高的抓到启动初期大牛股。
公式简单实用,配合成交量一起使用会起到事半功倍的效果。
慢慢揣摩,必有收获……。
如果突破E1,并且回踩不破,将有一波主升行情。
如果突破C1,并且回踩不破,一波主升行情已经展开。
{N: 1 300 21}{N1:0 1000 10}{量能平台}TTJ:=BARSLAST((VOL=HHV(VOL,N)));K0:=TTJ=0;K1:=SUMBARS(K0,1);K2:=SUMBARS(K0,2);K3:=SUMBARS(K0,3);K4:=SUMBARS(K0,4);K5:=SUMBARS(K0,5);K6:=SUMBARS(K0,6);K7:=SUMBARS(K0,7);K8:=SUMBARS(K0,8);K9:=SUMBARS(K0,9);K10:=SUMBARS(K0,10);A1:(K1<=30,REF(C,K1-1)*1.002),COLOREA91B5,NODRAW,LINETHICK1;AA:STICKLINE(K1<=30,REF(C,K1-1)*1.002,REF(C,K1-1),10,0),COLOREA91B5;B1:(K2<=30,REF(C,K2-1)*1.002),COLORWHITE,NODRAW,LINETHICK1;BA:STICKLINE(K2<=30,REF(C,K2-1)*1.002,REF(C,K2-1),10,0),COLORWHITE;{日K线}VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,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);VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;{粉}STICKLINE(CLOSE< REF(CLOSE,1),HIGH,LOW,0,0 ),COLOR00DD00;STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,3.2,0 ),COLORFF33FF;STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,2.7,0 ),COLORFF55FF;STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,2.1,0 ),COLORFF77FF;STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,1.5,0 ),COLORFF99FF;STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,0.9,0 ),COLORFFBBFF;STICKLINE(CLOSE< REF(CLOSE,1),OPEN,CLOSE,0.3,0 ),COLORFFDDFF;{金}STICKLINE(CLOSE> REF(CLOSE,1),HIGH,LOW,0,0 ),COLOR000DDD;STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,3.2,0 ),COLOR003333;STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,2.7,0 ),COLOR005555;STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,2.1,0 ),COLOR007777;STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,1.5,0 ),COLOR009999;STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,0.9,0 ),COLOR00BBBB;STICKLINE(CLOSE> REF(CLOSE,1),OPEN,CLOSE,0.3,0 ),COLOR00DDDD;{红}STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3.2,0),COLOR000555; STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),2.7,0),COLOR000777; STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),2.1,0),COLOR000999; STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),1.5,0),COLOR000BBB; STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),0.9,0),COLOR000DDD; STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),0.3,0),COLOR000FFF; {绿}STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),3.2,0),COLOR005500;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),2.7,0),COLOR007700;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),2.1,0),COLOR009900;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),1.5,0),COLOR00BB00;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),0.9,0),COLOR00DD00;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),0.3,0),COLOR00FF00;{紫}STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3.2,0),COLOR550055; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2.7,0),COLOR770077; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2.1,0),COLOR990099; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),1.5,0),COLORBB00BB; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),0.9,0),COLORDD00DD; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),0.3,0),COLORFF00FF;{蓝}STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3.2,0),COLORFF3300; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2.7,0),COLORFF5500; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2.1,0),COLORFF7700; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),1.5,0),COLORFF9900; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0.9,0),COLORFFBB00; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0.3,0),COLORFFDD00; DRAWICON(FILTER(VAR19=1,5),L*0.9998,1);DRAWICON(FILTER(VAR1A=1,5),H*1.0003,2);{前高价格和虚线}AA1:=REF(H,N1)=HHV(H,2*N1+1);QY:=BACKSET(AA1,N1+1);CC:=FILTER(QY,N1) AND H=HHV(H,N1+1);DDD:=BARSLAST(CC);GDTS:=IF(CC,CURRBARSCOUNT,0);DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);GDCS1:=CONST(DINGBUTS);GDCS13:=CONST(REF(HIGH,GDCS1-1));XG1:=BACKSET(ISLASTBAR,GDCS1);C1:(XG1,GDCS13,GDCS13),COLORRED,NODRAW,LINETHICK1;STICKLINE(XG1,GDCS13,GDCS13,1,0),COLORRED;{黄色虚线}AAA:=(3*C+H+L+O)/6;VAR21:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(A AA,5)+2*REF(AAA,6)+REF(AAA,8))/36;TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR21;立桩量:=FILTER(TJ1,5);STICKLINE(CLOSE,REF(LOW,BARSLAST(立桩量)),REF(LOW,BARSLAST(立桩量)),1,0),COLORYELLOW;D1:REF(LOW,BARSLAST(立桩量)),COLORYELLOW,NODRAW,LINETHICK1; {STICKLINE(CLOSE,REF(HIGH,BARSLAST(立桩量)),REF(HIGH,BARSLAST(立桩量)),1,0),COLORCYAN;}{K线绿色虚线}三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(L,3);三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2))<REF(V,3));三日价涨A:=C>=REF(C,1);三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3);TIM:=IF(DATE<1140214,1,0);四日前倍量柱:=(REF(VOL,3)>1.9*REF(VOL,4))*TIM;四日前高量柱:=(REF(VOL,3)>=REF(VOL,4) AND REF(VOL,3)<1.9*REF(VOL,4) AND 三日量缩)*TIM;前三引用不成立:=COUNT(REF(四日前倍量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0 AND COUNT(REF(四日前高量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0;倍量黄金柱:=四日前倍量柱AND 三日量缩AND 三日不破AND 三日价涨A AND 前三引用不成立;高量黄金柱:=四日前高量柱AND 三日量缩AND 三日不破AND 三日价涨A AND 前三引用不成立;黄金柱:=倍量黄金柱OR 高量黄金柱;BACKSET101:=BACKSET(黄金柱,4);FILTER101:=FILTER(BACKSET101,3);牛熊线:=SUMBARS(FILTER101,1);STICKLINE(牛熊线,REF(L,牛熊线-2),REF(L,牛熊线-2),0.0001,0),COLORGREEN; {DRAWTEXT(ISLASTBAR,REF(L,牛熊线-2)*0.99,CON2STR(REF(L,牛熊线-2),2)),COLORGREEN,LINETHICK1;}E1:REF(L,牛熊线-2),COLORGREEN,NODRAW,LINETHICK1;{趋势}F1:=(3*CLOSE+OPEN+LOW+HIGH)/6;趋:(20*F1+19*REF(F1,1)+18*REF(F1,2)+17*REF(F1,3 )+16*REF(F1,4)+15*REF(F1,5)+ 14*REF(F1,6)+13*REF(F1,7)+12*REF(F1,8)+11*REF(F1,9)+10*REF(F1,10 )+9*REF(F1,11)+8*REF(F 1,12)+7*REF(F1,13)+6*REF(F1,14)+5*REF(F1,15)+4*REF(F1,16)+3*REF(F1,17)+2*REF(F1,18)+REF(F1,20))/210,COLORYELLOW;势:MA(趋,5),COLORRED;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
牛市来了,捉大牛用牛熊操盘线!
进入A股市场,长线玩过,短线做过,最终结果都不理想。
经历过无数的失败和努力学习,终于找到了可以实现稳定赢利的操作方法——牛熊操盘法。
自动识别行情,拒绝未来函数。
对于网上那些牛的不能再牛的选股公式,我只能膜拜了,因为这些所谓的牛公式只能在特定的小环境下使用,或者暗藏着未来函数。
作为有经验的老股民来说,稳定盈利才是正道。
对于现在的牛市A股,运用本操盘线,无论大牛、小牛或是黑马、白马,只要按照规则操作就可吃到最大的鱼身这段利润!对于转弱的股票,能及时提醒你远离观望。
本指标是结合趋势、量能,借鉴前辈的经验编制而成。
简洁而实用,是在本轮牛市中必备的波段神器!
JJ:=(CLOSE+HIGH+LOW)/3;
多空指标:=EMA(JJ,10);
多空指标1:=REF(A,1);
STICKLINE(A>B,A,B,5,0),COLORYELLOW;
STICKLINE(A<B,A,B,5,0),COLORBLUE;
短线:EMA(CLOSE,8);
AMV0:=VOL*(O+C)/2;
牛熊线:SUM(AMV0,89)/SUM(VOL,89),COLORFF00FF,LINETHICK2;
CG:MA(C,17),COLORFFCC66,LINETHICK2;
FL:=HHV(CG,2);
操盘线:HHV(CG,2),COLOR00FF00;
FS:CG-(FL-CG),COLORYELLOW,LINETHICK2;。