通达信跟庄擒龙主图



章鱼:=EMA(C,7);
鱼哥:=EMA(C,18);
章鱼Q:=(章鱼-鱼哥)/鱼哥*100;
鱼哥Q:=EMA(章鱼Q,1);
鱼哥W:=EMA(C,3);
章鱼W:=EMA(C,26);
章鱼R:=鱼哥W-章鱼W;
压力:EMA(EMA(EMA(C,3),3),3)+章鱼R,COLORGREEN;
IF(鱼哥Q>=REF(鱼哥Q,1),压力,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(鱼哥Q<=REF(鱼哥Q,1),压力,DRAWNULL),COLORGREEN;
鱼哥R:=HHV(VOL,5);
章鱼D:=O>C;
章鱼0:=C>O;
章鱼1:=C=O;
章鱼2:=SUM(VOL,5)/鱼哥R;
章鱼3:=IF(章鱼2>0.3,1,0);
章鱼4:=IF(章鱼D AND 章鱼3,VOL,0);
章鱼5:=IF(章鱼0 AND 章鱼3,VOL,0);
章鱼6:=IF(章鱼1 AND 章鱼3,VOL,0);
章鱼7:=SUM(章鱼5,3);
章鱼8:=SUM(章鱼4,3);
章鱼9:=章鱼7-章鱼8;
章鱼Q2:=WINNER(C*0.9)*100;
章鱼Q3:=MA(章鱼Q2,10);
章鱼Q4:=MA(章鱼Q2,3);
章鱼Q5:=IF(章鱼Q3>章鱼Q4,章鱼Q4,章鱼Q3);
章鱼Q6:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*50;
章鱼Q7:=EMA(C,12)-EMA(C,26);
章鱼Q8:=EMA(章鱼Q7,9);
章鱼Q9:=章鱼Q7>章鱼Q8;
鱼哥Q0:=(C-LLV(L,12))/(HHV(H,12)-LLV(L,12))*100;
鱼哥Q1:=SMA(章鱼Q6,3,1);
鱼哥Q2:=SMA(鱼哥Q1,3,1);
鱼哥Q3:=鱼哥Q1>鱼哥Q2;
鱼哥Q4:=REF(C,1);
鱼哥Q5:=SMA(MAX(C-鱼哥Q4,0),9,1)/SMA(ABS(C-鱼哥Q4),9,1)*100;
鱼哥Q6:=SMA(MAX(C-鱼哥Q4,0),26,1)/SMA(ABS(C-鱼哥Q4),26,1)*100;
鱼哥Q7:=鱼哥Q5>鱼哥Q6;
鱼哥Q8:=SMA(鱼哥Q0,3,1);
鱼哥Q9:=SMA(鱼哥Q8,3,1);
鱼哥W0:=鱼哥Q8>鱼哥Q9;
鱼哥W1:=(MA(C,3)+MA(C,9)+MA(C,12)+MA(C,26))/4;
鱼哥W2:=C>鱼哥W1;
鱼哥W3:=C-REF(C,1);
鱼哥W4:=100*EMA(EMA(鱼哥W3,9),9)/EMA(EMA(ABS(鱼哥W3),9),3);
鱼哥W5:=100*EMA(EMA(鱼哥W3,26),12)/EMA(EMA(ABS(鱼哥W3),26),12);
鱼哥W6:=鱼哥W4>鱼哥W5;
鱼哥W8:=EMA(EMA(C,9),9);
鱼哥W9:=100*WINNER(C*0.95);
章鱼W0:=EMA(C,12)>EMA(C,50) AND EMA(C,20)>EMA(C,120);
章鱼W1:=(鱼哥W8-REF(鱼哥W8,1))/REF(鱼哥W8,1)*1000;
章鱼W2:=鱼哥W9>=50 AND COST(85)<=C AND 章鱼W1>0 AND 章鱼W1>REF(章鱼W1,1);
章鱼W3:=DMA((H+L+C*2)/4,0.9);
章鱼W4:=VOL/((H-L)*2-ABS(C-O));
章鱼W5:=IF(C>O,章鱼W4*(H-L),IF(C< O,章鱼W4*(H-O+C-L),VOL/2))+IF(C>O,0-章鱼W4*(H-C+O-L),IF(C< O,0-章鱼W4*(H-L),0-VOL/2));
章鱼W6:=章鱼W5/20/1.15;
章鱼W7:=章鱼W6*0.55+REF(章鱼W6,1)*0.33+REF(章鱼W6,2)*0.22;
章鱼W8:=EMA(章鱼W7,8);
章鱼W9:=EMA(章鱼W7,3);
章鱼R0:=章鱼W9;
章鱼R1:=MA(VOL,5);
章鱼R2:=MA(VOL,10);
章鱼R3:=章鱼R1>=章鱼R2;
章鱼R4:=章鱼R0>=0;
章鱼R5:=章鱼R4 AND 章鱼R3;
章鱼R7:=CROSS(REF(C,1),C);
章鱼R8:=WINNER(C)*100;
章鱼R9:=REF(章鱼R8,1)-章鱼R8<=5;
鱼哥R0:=CROSS(章鱼R8,REF(章鱼R8,1)) AND 章鱼R8< 20;
鱼哥R1:=章鱼R9 OR 章鱼R8;
鱼哥R2:=章鱼R7 AND 鱼哥R1;
鱼哥R3:=(2*C+H+L)/4;
鱼哥R4:=LLV(L,5);
鱼哥R5:=HHV(H,5);
鱼哥R6:=IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0);
鱼哥R7:=鱼哥R6=23;
鱼哥R8:=BARSLAST(鱼哥R7)=1;
鱼哥R9:=鱼哥R6< 23;
章鱼D0:=鱼哥R8 AND 鱼哥R9;
章鱼D1:=(BARSLASTCOUNT(鱼哥R6>0)=4)*30;
章鱼D2:=章鱼D0 OR 章鱼D1;
章鱼D3:=EMA(VOL,13);
章鱼D4:=EMA(AMOUNT,13);
章鱼D5:=章鱼D4/章鱼D3/100;
章鱼D6:=(C-章鱼D5)/章鱼D5*100;
章鱼D7:=章鱼D6< 0-18 OR 章鱼D6< 0-6;
章鱼D8:=章鱼D7 AND 章鱼D2;
章鱼D9:=章鱼D8 OR 鱼哥R2;
章鱼00:=REF(L,1);
章鱼01:=SMA(ABS(L-章鱼00),3,1)/SMA(MAX(L-章鱼00,0),3,1)*100;
章鱼02:=EMA(IF(C*1.3,章鱼01*10,章鱼01/10),3);
章鱼03:=LLV(L,13);
章鱼04:=HHV(章鱼02,13);
章鱼05:=IF(MA(C,34),1,0);
章鱼06:=EMA(IF(L<=章鱼03,(章鱼02+章鱼04*2)/2,0),3)/618*章鱼05;
章鱼07:=IF(章鱼06>100,100,章鱼06);
章鱼10:=EMA(C,2);
章鱼11:=EMA(SLOPE(C,21)*20+C,42);
章鱼12:=IF(CROSS(章鱼10,章鱼11),L-0.02,DRAWNULL);
章鱼13:=(L+H+C*2)/4;
章鱼14:=EMA(章鱼13,14);
章鱼15:=(章鱼14-REF(章鱼14,1))/REF(章鱼14,1)*100;
章鱼16:=IF(章鱼15>=0,章鱼14,DRAWNULL);
章鱼17:=IF(CROSS(章鱼12,0),5,0);
章鱼18:=IF(CROSS(章鱼16,0),10,0);
章鱼19:=章鱼17 AND 章鱼18;
DRAWICON(章鱼19,L*0.99,1),COLORGREEN;
章鱼20:=REF(C,1);
章鱼21:=SMA(MAX(C-章鱼20,0),5,1)/SMA(ABS(C-章鱼20),5,1)*100;
章鱼22:=CROSS(80,章鱼21);
DRAWICON(章鱼22,H*1.01,2),COLORGREEN;
章鱼29:=C-REF(C,1);
章鱼30:=IF(C-REF(C,1)>=0,章鱼29,0);
章鱼31:=REF(C,1)-C;
章鱼32:=IF(C-REF(C,1)<=0,章鱼31,0);
章鱼33:=SUM(章鱼30,90)/SUM(章鱼32,90);
章鱼34:=100-100/(1+章鱼33);
章鱼35:=EMA(章鱼34,21);
章鱼36:=EMA(章鱼35,5);
章鱼37:=EMA(章鱼35,3);
章鱼38:=(C*2+H+L)/4;
章鱼39:=EMA(章鱼38,13)-EMA(章鱼38,21);
章鱼40:=EMA(章鱼39,3);
章鱼41:=EMA(章鱼39,10);
章鱼42:=IF(章鱼40>=章鱼41,章鱼40,章鱼41);
章鱼43:=IF(章鱼41-章鱼40,章鱼41,章鱼40);
章鱼44:=EMA(C,7)-EMA(C,21);
章鱼45:=EMA(0.668*REF(章鱼44,1)+0.333*章鱼44,1);
章鱼46:=IF(章鱼44>=章鱼45,章鱼44,章鱼45);
章鱼47:=IF(章鱼45-章鱼44,章鱼45,章鱼44);
章鱼48:=章鱼42>章鱼43;
章鱼49:=章鱼42=章鱼43;
章鱼50:=章鱼46>章鱼47;
章鱼51:=章鱼46=章鱼47;
章鱼52:=章鱼51 AND 章鱼49;
章鱼53:=章鱼50 AND 章鱼48;
STICKLINE(章鱼50,H,L,0,0),COLORRED;
STICKLINE(章鱼51,H,L,0,0),COLORGREEN;
STICKLINE(章鱼48,O,C,1,0),COLORRED;
STICKLINE(章鱼49,O,C,1,0),COLORGREEN;
STICKLINE(章鱼53,O,C,2,0),COLORRED;
STICKLINE(章鱼52,O,C,2,0),COLORBLUE;
章鱼54:=HHV(MA(H,3),2);
支撑:LLV(MA(H,3),1),COLORRED;
DOWN:=IF(章鱼54-支撑>0,支撑,DRAWNULL),COLORGREEN;
章鱼55:=MA(REF(HHV((C+L+O+H)/4,30),1),3);
STICKLINE(REF(COUNT(C< 章鱼55,5)=5,1) AND C>章鱼55 AND C>O,C,O,2,0),COLORYELLOW;
DRAWICON(REF(COUNT(C< 章鱼55,5)=5,1) AND C>章鱼55 AND C>O,LOW,42),COLORRED;
章鱼56:=MA(C,60)>REF(MA(C,60),1);
章鱼57:=COST(50);
章鱼58:=WINNER(C)*100>50;
章鱼59:=CROSS(C,章鱼57);
章鱼60:=章鱼56 AND 章鱼57 AND 章鱼58 AND 章鱼59 AND 章鱼50;
STICKLINE(章鱼60,C,O,1,0),COLORMAGENTA;
DRAWICON(章鱼60,L*0.99,44),COLORRED;
章鱼61:=MA(C,10);
章鱼62:=MA(C,54);
STICKLINE(C/REF(C,1)>=1.096 AND H=C,O,C,2,0),COLORYELLOW;
章鱼63:=EMA(C,5);
章鱼64:=EMA(章鱼63,0);
章鱼67:=MA(C,5)>MA(C,10) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,5)>REF(MA(C,5),1);
章鱼68:=100*(1-WINNER(C));
章鱼69:=100-章鱼68;
章鱼70:=CROSS(章鱼69,章鱼68);
DRAWICON(章鱼70,L,25);
章鱼71:=MA(C,5);
章鱼72:=MA(C,13);
章鱼73:=MA(C,34);
章鱼74:=章鱼71>REF(章鱼71,1) AND 章鱼72>REF(章鱼72,1) AND 章鱼73>REF(章鱼73,1);
章鱼75:=EMA(C,3);
章鱼76:=EMA(SLOPE(C,34)*5+C,21);
章鱼77:=CROSS(章鱼75,章鱼76);
章鱼78:=CROSS(章鱼75,章鱼76) AND 章鱼74;
章鱼79:=章鱼77>0;
章鱼80:=章鱼78>0;
章鱼81:=MA(C,34);
章鱼82:=章鱼79 OR 章鱼80;
章鱼83:=C>章鱼81 AND REF(C,1)< 章鱼81;
章鱼84:=CROSS(C,MA(C,250)) AND VOL>=REF(VOL,1)*2;
章鱼85:=(C/REF(C,1)-1)*100>9.97 AND CROSS(C,MA(C,250));
章鱼86:=章鱼84 OR 章鱼85 OR 章鱼83;
章鱼87:=章鱼82 AND 章鱼70 AND 章鱼86 AND 章鱼67;
STICKLINE(章鱼87,C,O,1.5,0),COLORYELLOW;
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW;
WX2:=鱼哥W2 OR 章鱼02 OR 章鱼D4 OR 鱼哥R5 OR 鱼哥R6 OR 章鱼04 OR 章鱼49,NODRAW;
WX1:=章鱼R7 AND C/REF(C,1)>1.095 AND 鱼哥R0 AND 章鱼R9 OR 章鱼03 OR 章鱼50 OR 章鱼52 OR 章鱼53 OR 章鱼56 OR 章鱼55 OR 章鱼54 OR 章鱼57,NODRAW;
WX3:=章鱼D7 AND 鱼哥R4 AND 章鱼01 AND 鱼哥R1,NODRAW;
捉妖:WX1 AND C/REF(C,1)>1.095,NODRAW;
DRAWTEXT(TFILTER(捉妖,20,0),L*0.99,'←主力首板'),COLORYELLOW;
擒龙:WX3>=1 AND C/REF(C,1)>1.095,NODRAW;
DRAWTEXT(TFILTER(章鱼9=章鱼7,20,0) AND 擒龙 ,L*0.99,'←擒龙'),COLORRED;
所属板块:=STRCAT('【所属板块】:',STRCAT(STRCAT(' [行业]-',HYBLOCK),STRCAT(' [概念]-',GNBLOCK)));
风格板块:=STRCAT('【风格板块】:',STRCAT(STRCAT(' [地域]-',DYBLOCK),STRCAT(' [风格]-',FGBLOCK)));
总股本:=STRCAT(STRCAT(' 总股本:',CON2STR(TOTALCAPITAL/1000000,2)),'亿');
流通盘:=STRCAT(STRCAT(' 流通盘:',CON2STR(CAPITAL/1000000,2)),'亿');
全流通:=STRCAT(STRCAT(' 流通比:',CON2STR(CAPITAL/TOTALCAPITAL*100,2)),'%');
市值:=STRCAT(STRCAT(' 流通市值:',CON2STR((CAPITAL/1000000)*C,2)),'亿');
股本市值:=STRCAT('【股本市值】:',STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值));
市盈率:=STRCAT(' 市盈率:',CON2STR(C/FINANCE(33),2));
净资收益率:=STRCAT(' 净资收益率:',CON2STR(FINANCE(33)/FINANCE(34)*100,2));
主营利润率:=STRCAT(' 主营利润率:',CON2STR(FINANCE(23)/FINANCE(20)*100,2));
当前业绩:=STRCAT('【当前业绩】:',STRCAT(STRCAT(市盈率,净资收益率),主营利润率));
DRAWTEXT_FIX(ISLASTBAR,0.005,0.02,0,所属板块),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.005,0.07,0,风格板块),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.12,0,股本市值),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.17,0,当前业绩),COLORRED;
通达信跟庄擒龙副图


MM3 := EMA(CLOSE, 12);
MM4 := EMA(MM3, 10);
MM5 := (3)*(MM3) - (2)*(MM4);
MM6 := EMA(MM5, 5);
RSV := (CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
SM章鱼 := SMA(RSV,5,1);
SM鱼哥 := SMA(SM章鱼,3,1);
趋势 := 3*SM章鱼 - 2*SM鱼哥;
跃龙门 := IF(趋势<=5, 58, 100), COLORRED, LINETHICK3;
桥1 := EMA(MM6, 1);
美化 := IF(REF((COUNT(桥1<=REF(桥1,1),5)=5),1) AND (桥1>REF(桥1,1)), 10, 0);
STICKLINE(美化, -20, 20, 15, 1), COLORFFFF00;
MTM1 := MA((CLOSE-REF(CLOSE,13))*31, 5), LINETHICK0, COLOR7711EE;
ZYG1 := MA(HHV(HIGH,485),17);
ZYG2 := MA(HHV(HIGH,222),17);
ZYG3 := MA(HHV(HIGH,96),17);
ZYG4 := MA(LLV(LOW,485),17);
ZYG5 := MA(LLV(LOW,222),17);
ZYG6 := MA(LLV(LOW,96),17);
ZYG7 := MA((ZYG4*0.96+ZYG5*0.96+ZYG6*0.96+ZYG1*0.558+ZYG2*0.558+ZYG3*0.558)/6,17);
ZYG8 := MA((ZYG4*1.25+ZYG5*1.23+ZYG6*1.2+ZYG1*0.55+ZYG2*0.55+ZYG3*0.65)/6,17);
ZYG9 := MA((ZYG4*1.3+ZYG5*1.3+ZYG6*1.3+ZYG1*0.68+ZYG2*0.68+ZYG3*0.68)/6,17);
ZYGA := MA((ZYG7*3+ZYG8*2+ZYG9)/6*1.738,17);
ZYGB := IF(C=C, ZYGA, ZYGA*DAY);
ZYGC := LOW;
ZYGD := REF(LOW,1);
ZYGE := SMA(ABS(ZYGC-ZYGD),3,1)/SMA(MAX(ZYGC-ZYGD,0),3,1)*100;
ZYGF := MA(IF(CLOSE*1.35<=ZYGB, ZYGE*10, ZYGE/10),3);
ZYG10 := LLV(LOW,30);
ZYG11 := HHV(ZYGF,30);
绝佳买点 := IF(C=C, MA(IF(LOW<=ZYG10, (ZYGF+ZYG11*2)/2,0),1), 100000000)/200, COLORRED, LINETHICK1;
I := IF(CLOSE< REF(CLOSE,1), 0, VOL/CAPITAL);
骤雨初晴 := ABS(EMA(I,13.3)-18)/WINNER(CLOSE)*IF((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)< -0.04,1,0);
W := COST(10)*0;
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
MACD := 2*(DIFF-DEA)*231;
STICKLINE(MACD< REF(MACD,1) AND MACD>0, 100, MACD, 0.9, 0), COLORGREEN;
STICKLINE(MACD<=REF(MACD,1) AND MACD< 0, 100, MACD, 0.8, 0), COLORFFEE44;
STICKLINE(MACD>=REF(MACD,1) AND MACD>0, 100, MACD, 1.1, 0), COLOR0055FF;
STICKLINE(MACD>REF(MACD,1) AND MACD< 0, 100, MACD, 1.1, 0), COLORFF55BB;
DRAWTEXT(CROSS(绝佳买点,1.20000), 150, '建仓'), COLORYELLOW;
DRAWTEXT(CROSS(绝佳买点,4.50000), 200, '洗盘'), COLOR00FFFF;
MAH := (H*18+REF(H,1)*17+REF(H,2)*16+REF(H,3)*15+REF(H,4)*14+REF(H,5)*13+REF(H,6)*12+REF(H,7)*11+REF(H,8)*10+REF(H,9)*9+REF(H,10)*8+REF(H,11)*7+REF(H,12)*6+REF(H,13)*5+REF(H,14)*4+REF(H,15)*3+REF(H,16)*2+REF(H,17)*1)/171;
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW;
MAL := (L*18+REF(L,1)*17+REF(L,2)*16+REF(L,3)*15+REF(L,4)*14+REF(L,5)*13+REF(L,6)*12+REF(L,7)*11+REF(L,8)*10+REF(L,9)*9+REF(L,10)*8+REF(L,11)*7+REF(L,12)*6+REF(L,13)*5+REF(L,14)*4+REF(L,15)*3+REF(L,16)*2+REF(L,17)*1)/171;
F章鱼 := ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
F鱼哥 := DMA(((2.15*CLOSE+LOW+HIGH)/4),F章鱼);
金线王 := EMA(F鱼哥,200)*1.118;
金线王2 := EMA(F鱼哥,200)*1.118;
条件 := (C-REF(C,1))/REF(C,1)*100>8;
金K线 := CROSS(C,金线王) AND 条件;
黑马启动 := 金K线*11, LINETHICK2;
DRAWTEXT(金K线, 430, ' 异动'), COLORYELLOW;
DRAWICON(金K线, 430, 23);
STICKLINE(金K线, 100, 400, 3, 0), COLORRED;
LS := C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,6),2.1*FORCAST(V,6));
拉升 := FILTER(LS,14);
STICKLINE(拉升, 100, 300, 4, 0), COLORYELLOW;
DRAWICON(拉升, 330.2, 9);
DRAWTEXT(拉升, 340, '▲ 主力拉升'), COLORYELLOW;
MMM := 1;
SVOL := INTPART(SUM(V,0)/CAPITAL);
TJ0 := SVOL>REF(SVOL,1) OR BARSSINCE(CLOSE)=0;
SF1 := BARSLAST(TJ0)+1;
TJJ2 := SF1< REF(SF1,1);
S2 := IF(TJJ2, REF(SF1,1)+1, SF1);
S3 := SUM(TJJ2,0);
RSV11 := (CLOSE-LLV(LOW,40))/(HHV(HIGH,40)-LLV(LOW,40))*100;
ZK1 := SMA(RSV11,13,1);
ZD2 := SMA(ZK1,5,1);
ZF1 := MA(EMA(CLOSE,25)-EMA(CLOSE,170),5);
Z鱼哥 := EMA(ZF1,25);
换手 := V/CAPITAL*100, LINETHICK0;
JCD1 := CROSS(ZK1,ZD2) AND REF(ZD2,1)< 60 AND IF(DATE< 1290210,1,0);
JCD := CROSS(REFX(ZK1,2),REFX(ZD2,2)) AND REF(REFX(ZD2,2),1)< 60;
波段低点 := EXIST(JCD,MMM), COLORYELLOW, NODRAW;
STICKLINE(IF(波段低点,16,0), 100, 200, 2, 0), COLORBROWN;
DRAWTEXT(波段低点, 200, '▲主力潜伏'), COLORYELLOW;
通达信跟庄擒龙选股


鱼哥R:=KDJ.K>KDJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ.K;
章鱼D:=CAPITAL*CLOSE/1000000;
章鱼0:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
章鱼1:=CLOSE;
章鱼2:=NOT(NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) OR (4)=0 OR INBLOCK(130) OR INBLOCK(4)) OR BARSCOUNT(CLOSE)>1;
章鱼3:=章鱼D>0 AND 章鱼D< 80;
章鱼4:=章鱼0>9.8 AND 章鱼0< 10.99 AND CLOSE=HIGH;
章鱼5:=章鱼1>2 AND 章鱼1< 22;
章鱼6:=COUNT(章鱼4,2)=1;
强势首板:鱼哥R AND 章鱼2 AND 章鱼3 AND 章鱼4 AND 章鱼5 AND 章鱼6;