去评论
彩虹桥投资充电站

机构持仓进场,有买卖信号(通达信公式 副图 源码 测试图)

beyond202104
2023/08/28 16:40:55

{机构进场加仓}AA:=WINNER(CLOSE+CLOSE*15/100)*100;BB:=WINNER(CLOSE+CLOSE*0/100)*100;CC:=AA-BB;DD:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;EE:=CC<3 AND DD<0.5 AND OPEN<>LOW;A1:=DYNAINFO(6);A2:=IF(LOW>A1,0,IF(HIGH<A1,1,(A1-LOW+0.01)/(HIGH-LOW+0.01)));A3:=VOL/WINNER(LOW);A4:=REF(HHV(CLOSE,120),1);A5:=REF(LLV(CLOSE,120),1);A6:=100*(CLOSE-A5)/(A4-A5);A7:=A2>0 OR A2=1;A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);A10:=A8 AND A9;A11:=IF(FILTER(A8,3),5,0);A12:=IF(FILTER(A10,3) OR EE,10,0);进场日:IF(A11,1,0),LINETHICK0;STICKLINE(A12,100,15,5,0),COLORFF00FF;加仓日:IF(A12,1,0),LINETHICK0;STICKLINE(A12,100,15,5,0),COLORFF00FF;STICKLINE(A11,50,5,5,0),COLORFF7700;STICKLINE(A11,50,5,4.5,0),COLORFF8800;STICKLINE(A11,50,5,4,0),COLORFF9900;STICKLINE(A11,50,5,3.5,0),COLORFFAA00;STICKLINE(A11,50,5,3,0),COLORFFBB00;STICKLINE(A11,50,5,2.5,0),COLORFFCC00;STICKLINE(A11,50,5,2,0),COLORFFDD00;STICKLINE(A11,50,5,1,0),COLORFFEE00;STICKLINE(A12,100,15,4.5,0),COLOR102099;STICKLINE(A12,100,15,4,0),COLOR1020AA;STICKLINE(A12,100,15,3.5,0),COLOR1020BB;STICKLINE(A12,100,15,3,0),COLOR1020CC;STICKLINE(A12,100,15,2.5,0),COLOR1020DD;STICKLINE(A12,100,15,2,0),COLOR1020EE; STICKLINE(A12,100,15,1,0),COLOR1020FF; DRAWTEXT(A11,48,'进场'),COLORYELLOW; DRAWTEXT(A12,77,'加仓'),COLORWHITE;{持仓线}VAR1:=IF(YEAR>=2993 AND MONTH>=1,0,1);VAR2:=REF(LOW,1)*VAR1;VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;VAR5:=LLV(LOW,30)*VAR1;VAR6:=HHV(VAR4,30)*VAR1;VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*VAR1;VAR9:=IF(VAR8>100,100,VAR8)*VAR1;吸筹:IF((VAR9>-150),VAR9,0),DRAWNULL,COLORMAGENTA;STICKLINE(VAR9>-150,0,VAR9,6,1), , COLORMAGENTA;持筹线: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100*VAR1, , COLORGREEN;抄底: IF(CROSS(持筹线,-24),1,0), , COLORRED;STICKLINE(CROSS(持筹线,-24),100,0,6,0), , COLORGREEN;先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100*VAR1, , COLORYELLOW;{可能放量拉升: 0*VAR1, , COLORWHITE;}启动CROSS(ZIG(3,14),REF(ZIG(3,14),1))),COLORRED,LINETHICK0;顶部CROSS(REF(ZIG(3,14),1),ZIG(3,14))),COLORGREEN,LINETHICK0; DRAWICON(CROSS(ZIG(3,14),REF(ZIG(3,14),1)),-15,34), COLORRED; DRAWICON(CROSS(REF(ZIG(3,14),1),ZIG(3,14)),82,35), COLORCYAN;{大单异动}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;异动:XG;STICKLINE(XG,90,0,2.5,0),COLORRED    ;STICKLINE(XG,90,0,2,0),COLORYELLOW   ;STICKLINE(XG,50,0,1,0),COLORMAGENTA  ;DRAWTEXT(XG,50,'大单异动'),COLORYELLOW ;{追板}AZ:=IF(YEAR >= 2020,0,1);AX:=EMA((EMA(C * V,3) / EMA(V,3) + EMA(C * V,6) / EMA(V,6) + EMA(C * V,12) / EMA(V,12) + EMA(C * V,24) / EMA(V,24)) / 4,13);AC:=1.06 * AX * AZ;AV:=(C - REF(C,1)) / REF(C,1) * 100;大妖:FILTER(CROSS((EMA(C,5) * 7 + EMA(C,10) * 3) / 10,MA(H,30) * (1 + 13 / 100)),5) ;STICKLINE(大妖,80,0,2,0),COLORRED;  {牛妖指标}X_1:=EMA(CLOSE,2)-EMA(CLOSE,89);X_2:=EMA(X_1,30);X_3:=2*(X_1-X_2)*9.8;X_4:=POW(X_3,3)*0.1+POW(X_3,2);X_5:=IF(X_3>0.015,X_4,0)/28;X_6:=MA(CLOSE,5);X_7:=MA(CLOSE,10);X_8:=MA(CLOSE,20);X_9:=X_8>X_7 AND X_8>X_6;X_10:=X_9 AND CROSS(CLOSE,X_8) AND CLOSE/REF(CLOSE,1)>1.02;牛:=X_10,DRAWNULL;X_11:=X_9 AND CROSS(CLOSE,X_8) AND CLOSE/REF(CLOSE,1)>1.09;妖:X_11;STICKLINE(X_11,0,50,9,0),COLORGREEN;STICKLINE(X_11,0,60,7,0),COLORFF0033;STICKLINE(X_11,0,70,6,0),COLORFF0066;STICKLINE(X_11,0,80,5,0),COLORFF0099;STICKLINE(X_11,0,90,3,0),COLORFF00CC;STICKLINE(X_11,0,95,1.5,0),COLOR0099FF;STICKLINE(X_11,0,95,0.6,0),COLORRED;{STICKLINE(X_10,0,95,0.6,0),COLORBLUE;}VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;VAR400:=EMA(VAR300,5);操盘:=3*VAR300-2*VAR400;全仓:CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;STICKLINE(全仓,50,5,5,0),COLORYELLOW;DRAWTEXT(全仓,25,'全仓'),COLORRED;{起攀}VVAR3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;VVAR4:=SMA(VVAR3,72,1);VVAR5:=SMA(VVAR4,34,1);VVAR6:=(2*C+H+L)/4;VVAR7:=LLV(L,27);VVAR8:=HHV(H,27);攀登:=(EMA((VVAR6-VVAR7)/(VVAR8-VVAR7)*100,13)-15)*1.6;金山:=EMA(0.618*REF(攀登,1)+0.382*攀登,3);起步:IF(CROSS(攀登,金山) AND 金山<30,1,0),COLORRED;均五升:=(MA(C,5)-REF(MA(C,5),1))>=0;均十升:=(MA(C,10)-REF(MA(C,10),1))>=0;中线趋势:=3*VVAR4-2*VVAR5;中线趋势升:=(中线趋势-REF(中线趋势,1))>=0;运动员:=IF(攀登>=金山 AND 均五升 AND 均十升 AND 中线趋势升 AND 金山<35,1,0);起攀:IF(运动员=1 AND COUNT(运动员=1,5)=1,1,0),COLORFF9999,LINETHICK1;DRAWICON(起步,20,23);DRAWICON(起攀,20,30);{火鸟出击}AM1:=C/REF(C,1)>1.095 AND C=H;H1:=(REF(C,1)/REF(C,2)<0.96) OR (REF(O,1)/REF(C,1)>1.05);H2:=C/REF(C,1)>1.041 AND C>REF(O,1);XGH1:=H1 AND H2;XGY:=XGH1;火鸟:COUNT(REF(AM1,3),10) AND XGY;DRAWTEXT(火鸟,10,'★'),COLORRED;{绝密买点}KM1:=C/REF(C,1)>1.095 AND C=H;DM1:=C/REF(C,1)>1.041 AND L<MA(C,5) AND C>MA(C,5) AND L<MA(C,10) AND C>MA(C,10) AND L<MA(C,20) AND C>MA(C,20) AND ((L<MA(C,60)AND C>MA(C,60)) OR (L<MA(C,120)AND C>MA(C,120)));绝密:COUNT(REF(KM1,3),10) AND DM1;DRAWTEXT(绝密,8,'★'),COLORWHITE;{超牛}涨跌:=REF(C,1);涨停:=IF(((((C - 涨跌) * 100) / 涨跌) >= (10 - ((0.01 * 100) / 涨跌))),1,0);DIF:=(EMA(C,12) - EMA(C,26));DEA:=EMA(DIF,9);MACD:=((DIF - DEA) * 2);VARN2:=(CLOSE * VOL);VARN3:=EMA((((((EMA(VAR2,3) / EMA(VOL,3)) + (EMA(VAR2,6) / EMA(VOL,6))) + (EMA(VAR2,12) / EMA(VOL,12))) + (EMA(VAR2,24) / EMA(VOL,24))) / 4),13);VARN4:=EMA(CLOSE,9);飞狐线:=(MA(CLOSE,25) + ((MA(CLOSE,25) * 20) / 100));强势线:=(MA(CLOSE,25) + ((MA(CLOSE,25) * 6) / 100));支撑线:=((((MA(CLOSE,3) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4);压力线:=EMA((VARN4 * 1.14),5);盈损线:=(LLV(REF(LOW,1),2) + ((HHV(REF(HIGH,1),2) - LLV(REF(LOW,1),2)) / 2));QD:=(((C > 强势线) AND (C > 支撑线)) AND (C > 盈损线));小妖:=((COUNT(QD,10) = 1) AND QD);XYJJ:=BARSLAST(小妖);JS:=CROSS(C,压力线);妖狐:=((COUNT(JS,XYJJ) <= 1) AND JS);HX1:=((REF(妖狐,1) AND (O > 压力线)) AND (C > 压力线));HX2:=((REF(妖狐,1) AND CROSS(C,飞狐线)) AND (C > 压力线));狐仙前世:=(小妖 AND 妖狐);狐仙金身:=(HX1 OR HX2);妖狐王:=((((REF(涨停,1) AND (O > 压力线)) AND (O > REF(H,1))) AND (REF(H,1) < REF(压力线,1))) AND (L >= 压力线));超牛(狐仙前世 OR 狐仙金身) OR 妖狐王);DRAWTEXT(超牛,5,'★'),COLORYELLOW;{看量出击}XL_1:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;XL_2:=MA(XL_1,3);XL_3:=REF(LOW,5)<REF(XL_2,5) OR REF(LOW,4)<REF(XL_2,4) OR REF(LOW,3)<REF(XL_2,3) OR REF(LOW,2)<REF(XL_2,2) OR REF(LOW,1)<REF(XL_2,1);XL_4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;XL_5:=XL_4>9.85 AND NOT(CLOSE=OPEN);XL_6:=SUM(XL_5,5)<2 AND XL_5 AND CLOSE>XL_2 AND XL_3;XL_7:=REF(CLOSE,BARSLAST(XL_6));XL_8:=XL_5 AND LOW<XL_2*1.05;量击:XL_6 AND XL_8;DRAWTEXT(量击,3,'★'),COLORBLUE;{暴雪}V1:=EMA(CLOSE,60)-EMA(CLOSE,300);V2:=EMA(V1,300);V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;V4:=SMA(V3,2,1);V5:=SMA(V4,2,1);V6:=CLOSE/REF(CLOSE,3)>=1.1;V7:=BACKSET(V6,3);慧雪:IF((V7 AND COUNT(V7,3)=1),30,0),COLORWHITE,LINETHICK2;DRAWTEXT(慧雪,35,'慧雪'),COLORCYAN,LINETHICK2;{金钻爆点附图}{金钻爆点副图}AAA:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);AAA1:=REF(EMA(AAA,3),1);AAA2:="KDJ.J"<50 AND C>REF(C,3);JA:=(C-MA(C,30))/MA(C,30)*100;JA1:=CROSS(0,(C-MA(C,5))/MA(C,5)*100);JA2:=JA<REF(JA,1);JA3:=MA(C,10)>REF(MA(C,10),1);JA4:=FILTER(JA1 AND JA2 AND JA3,10);JA5:=(2*CLOSE+HIGH+LOW)/4;JA6:=MA(EMA((JA5-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5),1);B3:=REF(JA4,2) AND CROSS(C,EMA(CLOSE,5)) ;B4:=JA6>REF(JA6,1) AND REF(JA6,1)<REF(JA6,2);AB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));AB1:=IF(CLOSE>OPEN,AB*(HIGH-LOW),IF(CLOSE<OPEN,AB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));AB2:=IF(CLOSE>OPEN,AB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,AB*(HIGH-LOW),VOL/2));AB3:="KDJ.J"<20 ;AB4:= AB1>AB2*6  AND AB3;建仓: AB4*80 ,COLORYELLOW,LINETHICK1;出击CROSS(CLOSE,AAA1) AND AAA2)*86,COLORGREEN,LINETHICK1 ;拐点B3 AND B4)*95,COLORWHITE,LINETHICK1 ;爆点(建仓 AND 出击)  OR (建仓 AND 拐点))*96,COLORRED,LINETHICK2;DRAWTEXT(FILTER(建仓,4),12,'建仓'),COLORYELLOW;DRAWTEXT(FILTER(爆点,4),88,'爆点'),COLORRED;DRAWTEXT(FILTER(出击,4),44,'出击'),COLORGREEN;DRAWTEXT(FILTER(拐点,4),96,'拐点'),COLORWHITE;
  • 破解源码(年卡、至尊会员专享区)决胜千里主图指标公式 战略投资者们的福音
  • 破解源码(年卡、至尊会员专享区)多维度托压多空信号指示,高成功率的主图指
  • 破解源码(年卡、至尊会员专享区)通达信主浪战法终极版主图指标公式
  • 破解源码(年卡、至尊会员专享区)黄金分割通道指标公式 具有显著的抓牛股的
  • 破解源码(年卡、至尊会员专享区)战神之王通达信指标公式 无未来函数,信号
  • 破解源码(年卡、至尊会员专享区)通达信《大盘资金进出》副参考大盘趋势走向