【股票指标公式下载】-【通达信】抓涨停板(短趋势线)
【股票指标公式下载】-【通达信】股市狂升(快短期趋势、慢短期趋势、趋势)
【通达信】股市狂升(快短期趋势、慢短期趋势、趋势)-指标公式源码T:=(CLOSE*1.0+LOW*0.0+HIGH*0.0);SL:=(T/REF(T,1)-1)*1000;快短期趋势:=XMA(XMA(XMA(SL,3),3),3);慢短期趋势:=XMA(XMA(XMA(SL,5),5),5);X:=快短期趋势-慢短期趋势;增速1:=X;Y:=X;趋势:=XMA(XMA(XMA(SL,29),29),29),COLORLIBLUE,LINETHICK1;QW1:=趋势>REF(趋势,1);趋势2:XMA(XMA(XMA(SL,13),13),13),COLORMAGENTA,LINETHICK1;QW2:=趋势>0;趋势3:=XMA(XMA(XMA(SL,9),9),9);QW3:=趋势3>趋势;QA6:=趋势2>REF(趋势2,1);QA8:=((FILTER(ATAN(EMA(快短期趋势,13)-REF(EMA(快短期趋势,13),1))>1 ANDEMA(快短期趋势,13)>REF(EMA(快短期趋势,8),1),10)) AND QA6 AND QW2 AND (ZIG(3,12)>MA(ZIG(3,12),2)));QA8*10,COLORGREEN;T1:=V;SL1:=(T/REF(T,1)-1)*1000;趋势5:XMA(XMA(XMA(SL1,20),20),20),COLORYELLOW;趋势6:XMA(XMA(XMA(SL1,10),10),10),COLORMAGENTA;QA9:=趋势6-趋势5;QA10:=EMA(QA9,89);买入:(QA9-QA10)*2,COLORSTICK;趋势8:XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA (XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA( XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(X MA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XM A(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(SL,3),3),3),3),3),3),3),3),3 ),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3 ),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3 ),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3 ),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),3),LINETHICK1,CO LORRED;趋势9:XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA (XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA( XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(X MA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XM A(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA (XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(XMA(SL,5),5),5),5),5),5),5),5),5 ),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5 ),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5 ),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5 ),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),5),LINETHICK1,CO LORYELLOW;趋势11:XMA(XMA(XMA(SL,34),34),34),COLORYELLOW,LINETHICK1;【通达信】股市狂升(快短期趋势、慢短期趋势、趋势)-指标公式效果图(文档来源:若水财经社区)。
通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】
通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】LTA:=FINANCE(7)+300000000;GB:=2*IF(FINANCE(7)C1:=CLOSE;V1:=TIME;A1:=COUNT(BARSCOUNT(C)=1 AND TIMET:=IF(V1(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1 /10000))),NODRAW;成交额:AMOUNT,NODRAW;大额线:=50*3+300*GB,COLOR00FFFF;VV2:=SUM(AMOUNT,T),NODRAW;初正1:=IF(T=1 AND DYNAINFO(4)>=DYNAINFO(3),VV2,0); 初负1:=IF(T=1 AND DYNAINFO(4)初正2:=CONST(SUM(IF(T=1,初正1,0),T)),NODRAW;初负2:=CONST(SUM(IF(T=1,初负1,0),T)),NODRAW;初正:=CONST(SUM(IF(初正1>大额线 AND T=1,初正1,0),T)),NODRAW;初负:=CONST(SUM(IF(初负1>大额线 AND T=1,初负1,0),T)),NODRAW;T00:=IF(C1>REF(C1,1),0.9,-0.9);T01:=IF(C1T02:=T00+T01;TT1:=BARSLAST(CROSS(T02,0));TT2:=BARSLAST(CROSS(0,T02));TT:=IF(T02=1.8,1,IF(T02=-1.8,-1,0));正V1:=IF(TT=1 OR (TT=0 AND TT1>TT2),成交额,0); 负V1:=IF(TT=-1 OR (TT=0 AND TT1正总1:=初正1+SUM(正V1,T),NODRAW,COLOR0000FF; 负总1:=初负1+SUM(负V1,T),NODRAW,COLOR00FF00; 总:=(正总1+负总1)+初正2+初负2,NODRAW;正V:=IF(正V1>大额线,正V1,0);负V:=IF(负V1>大额线,负V1,0);正总:初正+SUM(正V,T),NODRAW,COLOR0000FF;负总:初负+SUM(负V,T),NODRAW,COLOR00FF00; 差%:(正总-负总)/总*100,COLOR00FF00,NODRAW; TTA:=INTPART(2*T/5);KP30:=TKPGD:=H=HHV(H,0) AND KP30;GDSJ:=BARSLAST(KPGD);{强弱界}MMA30:=EMA(CLOSE,30);强弱界定:=EMA(CLOSE,900);DRAWBAND(MMA30,RGB(100,0,0),强弱界定,RGB(0,255,0)); DRAWICON(CROSS(MMA30,强弱界定),H,1);CC:=CLOSE,COLORWHITE,LINETHICK2;VAR7:=SMA(CC,6.18,1);VAR8:=SMA(VAR7,3.14,1);RCC:=DYNAINFO(3);S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=4*(S2-S6);KK:=1;{暗轨}{AA1:=PLOYLINE(CLOSE5,COST(20));BB1:=PLOYLINE(CLOSE5,COST(80));DRAWBAND(BB1,RGB(50,50,50),AA1,DRAWNULL);{CYC}VAR1:=AMOUNT/VOL/100;VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR3:=SUM(AMOUNT,5)/VAR1/100;VAR4:=SUM(AMOUNT,13)/VAR1/100;VAR5:=SUM(AMOUNT,34)/VAR1/100;CYC5:=DMA(VAR2,VOL/VAR3);CYC13:=DMA(VAR2,VOL/VAR4);CYC34:=DMA(VAR2,VOL/VAR5);DRAWBAND(CYC5,RGB(00,50,50),CYC13,DRAWNULL); DRAWBAND(CYC13,RGB(00,150,150),CYC34,DRAWNULL); {分时MACD}昨收:=DYNAINFO(3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL)*0.1;ZS:=昨收-FK*3.2;Q1:=昨收-FK*3.22;Q2:=昨收-2*FK*3.22;Q3:=昨收-3*FK*3.2;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));DEA:=(EMA(DIF,6));MACD:=5*(DIF-DEA);STICKLINE(MACD>=0 ANDMACD>=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORFF00FF,LINETHICK3;STICKLINE(MACD>=0 AND MACDSTICKLINE(MACD=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0 ),COLOR4ABEFF,LINETHICK3;STICKLINE(MACDSTICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED; STICKLINE(DK{多头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+2*(Q2-Q3)/3/FDM*多头MACD; STICKLINE(多头MACD>0,RB,(Q2+Q3)/2,2,1),LINETHICK1,COLOR0000FF; STICKLINE(多头MACD{火焰山及底部信号}FAA:=WINNER(CLOSE+CLOSE*15/100)*100;FBB:=WINNER(CLOSE+CLOSE*0/100)*100;FCC:=FAA-FBB;FDD:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOS E*15/100))*100;FEE:=FCCFA1:=DYNAINFO(6);FA2:=IF(LOW>FA1,0,IF(HIGHFA3:=VOL/WINNER(LOW);FA4:=REF(HHV(CLOSE,120),1);FA5:=REF(LLV(CLOSE,120),1);FA6:=100*(CLOSE-FA5)/(FA4-FA5);FA7:=FA2>0 OR FA2=1;FA8:=FA7 AND FA3/REF(FA3,3)>=3 AND FA6FA9:=REF(FA8,1) OR REF(FA8,2) OR REF(FA8,3) OR REF(FA8,4);FA10:=FA8 AND FA9;FA11:=IF(FILTER(FA8,3),5,0);FA12:=IF(FILTER(FA10,3) OR FEE,10,0);EEEE:=(RCC-ZS)/5;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(LOWFVAR5:=IF(FVAR51>20,20,FVAR51);DRAWTEXT(FA11,(Q2+Q3)/2*1.02,'↑进'),COLOR00FFFF; DRAWTEXT(FA12,(Q2+Q3)/2*1.03,',↑加');主力进场:STICKLINE(FVAR5>REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2 +FVAR5*EEEE,10,0 ),COLORRED;洗盘:IF(FVAR5STICKLINE(FVAR5FVAR6:=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),1 5,1);FVAR7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-L LV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV (LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1 );FVAR8:=FVAR6REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(FVAR8 ANDCOUNT(FVAR8,30)=1,(Q2+Q3)/2+3*EEEE,'★迹'); JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIF,DEA) AND DEASTICKLINE(二次金叉,(Q2+Q3)/2,(Q2+Q3)/2*1.01,4,0),COLORFF00FF; DRAWTEXT(二次金叉,(Q2+Q3)/2*1.01,' 二金'),COLORYELLOW;HHH:=MA(CLOSE,10);GGG:=MA(CLOSE,12);上:=EMA((MA(HIGH,3) * 1.05),30);下:=EMA((MA(LOW,3) * 0.96),30);决战:STICKLINE((((CROSS(DIF,DEA) AND ((下 -REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIFDRAWTEXT((((CROSS(DIF,DEA) AND ((下 - REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF{两个主要买进信号}RSV:=((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,2 40))*200-100);K:=SMA(SMA(RSV,18,1),3,1);D:=MA(EMA(K,18),3);短买:=CROSS(K,D) AND K>0 AND CLOSEDRAWTEXT(短买,(Q2+Q3)/2+(Q2-Q3)/1,'短买'),COLORFF00FF;YY:=SMA(VOL,30,1);量1:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LL V(YY,1),30));量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(L LV(YY,1),30))>0.92;短横:=((HHV(CLOSE,TTA)-LLV(CLOSE,TTA))/CLOSE)横后上涨:=(CLOSE/DYNAINFO(3))>=1.02=0 AND 短横 AND 量 AND CROSS(C,(MA(C*V,TTA)/MA(V,TTA) +AVEDEV(C,TTA)*2));上涨:=FILTER((CROSS(横后上涨,0)AND 量 AND T>60OR (T>60 AND CLOSEAND CROSS(C,MA(HHV(C,TTA),1)))),30);DRAWTEXT(上涨,(Q2+Q3)/2+(Q2-Q3)/1,'★涨'),COLORRED,LINETHICK3;HHHH:REF(H,GDSJ),COLORFFFFFF,POINTDOT,LINETHICK1; 过顶:IF(CROSS(C,HHHH),1,0),COLOR00FF00,POINTDOT,NODRA W;冲高:IF(FILTER(CROSS(C,HHHH*1.01),15),1,0),COLOR00FFFF,POINTDOT,NODRAW;DRAWBAND(VAR7,RGB(255,255,0),VAR8,RGB(0,255,255)); DRAWTEXT(过顶,HHHH*1.005,'↑'),COLOR00FF00; DRAWTEXT(冲高,HHHH*1.005,'☆'),COLOR00FFFF;C,LINETHICK2,COLORFFFFFF;抓住当天最佳买点!个人自用极品跟庄分时指标(分时源码附图)注意二点:1.当股价金叉均线时要等一等,因为这时卖盘还大于买盘(下面指标中绿线在上,红线在下)。
通达信公式给大家分享两个利用分时图当天抓涨停板地公式【很准】
通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】LTA:=FINANCE(7)+300000000;GB:=2*IF(FINANCE(7)C1:=CLOSE;V1:=TIME;A1:=COUNT(BARSCOUNT(C)=1 AND TIMET:=IF(V1(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLO OR(V1/10000))),NODRAW;成交额:AMOUNT,NODRAW;大额线:=50*3+300*GB,COLOR00FFFF;VV2:=SUM(AMOUNT,T),NODRAW;初正1:=IF(T=1 ANDDYNAINFO(4)>=DYNAINFO(3),VV2,0);初负1:=IF(T=1 AND DYNAINFO(4)初正2:=CONST(SUM(IF(T=1,初正1,0),T)),NODRAW; 初负2:=CONST(SUM(IF(T=1,初负1,0),T)),NODRAW; 初正:=CONST(SUM(IF(初正1>大额线AND T=1,初正1,0),T)),NODRAW;初负:=CONST(SUM(IF(初负1>大额线AND T=1,初负1,0),T)),NODRAW;T00:=IF(C1>REF(C1,1),0.9,-0.9);T01:=IF(C1T02:=T00+T01;TT1:=BARSLAST(CROSS(T02,0));TT2:=BARSLAST(CROSS(0,T02));TT:=IF(T02=1.8,1,IF(T02=-1.8,-1,0));正V1:=IF(TT=1 OR (TT=0 AND TT1>TT2),成交额,0);负V1:=IF(TT=-1 OR (TT=0 AND TT1正总1:=初正1+SUM(正V1,T),NODRAW,COLOR0000FF; 负总1:=初负1+SUM(负V1,T),NODRAW,COLOR00FF00; 总:=(正总1+负总1)+初正2+初负2,NODRAW;正V:=IF(正V1>大额线,正V1,0);负V:=IF(负V1>大额线,负V1,0);正总:初正+SUM(正V,T),NODRAW,COLOR0000FF;负总:初负+SUM(负V,T),NODRAW,COLOR00FF00; 差%:(正总-负总)/总*100,COLOR00FF00,NODRAW; TTA:=INTPART(2*T/5);KP30:=TKPGD:=H=HHV(H,0) AND KP30;GDSJ:=BARSLAST(KPGD);{强弱界}MMA30:=EMA(CLOSE,30);强弱界定:=EMA(CLOSE,900);DRAWBAND(MMA30,RGB(100,0,0),强弱界定,RGB(0,255,0));DRAWICON(CROSS(MMA30,强弱界定),H,1); CC:=CLOSE,COLORWHITE,LINETHICK2;VAR7:=SMA(CC,6.18,1);VAR8:=SMA(VAR7,3.14,1);RCC:=DYNAINFO(3);S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=4*(S2-S6);KK:=1;{暗轨}{AA1:=PLOYLINE(CLOSE5,COST(20));BB1:=PLOYLINE(CLOSE5,COST(80)); DRAWBAND(BB1,RGB(50,50,50),AA1,DRAWNULL); {CYC}VAR1:=AMOUNT/VOL/100;VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR3:=SUM(AMOUNT,5)/VAR1/100;VAR4:=SUM(AMOUNT,13)/VAR1/100;VAR5:=SUM(AMOUNT,34)/VAR1/100;CYC5:=DMA(VAR2,VOL/VAR3);CYC13:=DMA(VAR2,VOL/VAR4);CYC34:=DMA(VAR2,VOL/VAR5);DRAWBAND(CYC5,RGB(00,50,50),CYC13,DRAWNULL); DRAWBAND(CYC13,RGB(00,150,150),CYC34,DRAWNU LL);{分时MACD}昨收:=DYNAINFO(3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL)*0.1;ZS:=昨收-FK*3.2;Q1:=昨收-FK*3.22;Q2:=昨收-2*FK*3.22;Q3:=昨收-3*FK*3.2;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));DEA:=(EMA(DIF,6));MACD:=5*(DIF-DEA);STICKLINE(MACD>=0 ANDMACD>=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0), COLORFF00FF,LINETHICK3;STICKLINE(MACD>=0 AND MACDSTICKLINE(MACD=REF(MACD,1),RCC*KK,MACD*4+RC C*KK,3,0),COLOR4ABEFF,LINETHICK3;STICKLINE(MACDSTICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED; STICKLINE(DK{多头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+2*(Q2-Q3)/3/FDM*多头MACD; STICKLINE(多头MACD>0,RB,(Q2+Q3)/2,2,1),LINETHICK1,COLOR0000F F;STICKLINE(多头MACD{火焰山及底部信号}FAA:=WINNER(CLOSE+CLOSE*15/100)*100;FBB:=WINNER(CLOSE+CLOSE*0/100)*100;FCC:=FAA-FBB;FDD:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLO SE-CLOSE*15/100))*100;FEE:=FCCFA1:=DYNAINFO(6);FA2:=IF(LOW>FA1,0,IF(HIGHFA3:=VOL/WINNER(LOW);FA4:=REF(HHV(CLOSE,120),1);FA5:=REF(LLV(CLOSE,120),1);FA6:=100*(CLOSE-FA5)/(FA4-FA5);FA7:=FA2>0 OR FA2=1;FA8:=FA7 AND FA3/REF(FA3,3)>=3 AND FA6FA9:=REF(FA8,1) OR REF(FA8,2) OR REF(FA8,3) OR REF(FA8,4);FA10:=FA8 AND FA9;FA11:=IF(FILTER(FA8,3),5,0);FA12:=IF(FILTER(FA10,3) OR FEE,10,0);EEEE:=(RCC-ZS)/5;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(LOWFVAR5:=IF(FVAR51>20,20,FVAR51);DRAWTEXT(FA11,(Q2+Q3)/2*1.02,'↑进'),COLOR00FFFF; DRAWTEX T(FA12,(Q2+Q3)/2*1.03,',↑加');主力进场:STICKLINE(FVAR5>REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q 3)/2+FVAR5*EEEE,10,0 ),COLORRED;洗盘:IF(FVAR5STICKLINE(FVAR5FVAR6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIG H,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);FVAR7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH, 75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV (LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15, 1);FVAR8:=FVAR6REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(FVAR8 ANDCOUNT(FVAR8,30)=1,(Q2+Q3)/2+3*EEEE,'★迹'); JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA> =0));二次金叉:=CROSS(DIF,DEA) AND DEASTICKLINE(二次金叉,(Q2+Q3)/2,(Q2+Q3)/2*1.01,4,0),COLORFF00FF; DRAWTEXT(二次金叉,(Q2+Q3)/2*1.01,' 二金'),COLORYELLOW;HHH:=MA(CLOSE,10);GGG:=MA(CLOSE,12);上:=EMA((MA(HIGH,3) * 1.05),30);下:=EMA((MA(LOW,3) * 0.96),30);决战:STICKLINE((((CROSS(DIF,DEA) AND ((下-REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIFDRAWTEXT((((CROSS(DIF,DEA) AND ((下- REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF{两个主要买进信号}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 CLOSE DRAWTEXT(短买,(Q2+Q3)/2+(Q2-Q3)/1,'短买'),COLORFF00FF;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(LL V(YY,1),30))>0.92;短横:=((HHV(CLOSE,TTA)-LLV(CLOSE,TTA))/CLOSE)横后上涨:=(CLOSE/DYNAINFO(3))>=1.02=0 AND 短横AND 量AND CROSS(C,(MA(C*V,TTA)/MA(V,TTA) + AVEDEV(C,TTA)*2));上涨:=FILTER((CROSS(横后上涨,0)AND 量AND T>60 OR (T>60 AND CLOSEAND CROSS(C,MA(HHV(C,TTA),1)))),30); DRAWTEXT(上涨,(Q2+Q3)/2+(Q2-Q3)/1,'★涨'),COLORRED,LINETHICK3;HHHH:REF(H,GDSJ),COLORFFFFFF,POINTDOT,LINETHICK1;过顶:IF(CROSS(C,HHHH),1,0),COLOR00FF00,POINTDOT,N ODRAW;冲高:IF(FILTER(CROSS(C,HHHH*1.01),15),1,0),COLOR00FF FF,POINTDOT,NODRAW;DRAWBAND(VAR7,RGB(255,255,0),VAR8,RGB(0,255,25 5));DRAWTEXT(过顶,HHHH*1.005,'↑'),COLOR00FF00; DRAWTEXT(冲高,HHHH*1.005,'☆'),COLOR00FFFF;C,LINETHICK2,COLORFFFFFF;抓住当天最佳买点!个人自用极品跟庄分时指标(分时源码附图)注意二点:1.当股价金叉均线时要等一等,因为这时卖盘还大于买盘(下面指标中绿线在上,红线在下)。
【股票指标公式下载】-【通达信】完美主图(动能趋势线、涨家数、跌家数、涨停)
【通达信】完美主图(动能趋势线、涨家数、跌家数、涨停)-指标公式源码DRAWTEXT(CROSS(MA(C,10),MA(C,20)),H,'-------------'),LINETHICK2; DRAWBAND(MA(C,3),RGB(230,0,250),HHV(MA(C,5),10),RGB(0,100,150));MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA20:MA(CLOSE,20);MA30:MA(CLOSE,30);MA60:MA(CLOSE,60),CIRCLEDOT;MA120:MA(CLOSE,120),CIRCLEDOT;RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0);主力:=EMA( (CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2);散户:=EMA( (CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7);VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);动能趋势线:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2),4);DRAWTEXT(CROSS(动能趋势线,70),HIGH*1.02,'险'),COLORGREEN; DRAWTEXT(CROSS(动能趋势线,80),HIGH*1.02,'减'),COLOR00FF00; DRAWTEXT(CROSS(动能趋势线,87.5),HIGH*1.02,'出局'),COLORWHITE; DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20,LOW,'短进'),COLORFF00FF; DRAWTEXT(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,'见底'),COLORRED; DRAWICON(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,1);涨家数:INDEXADV,NODRAW,COLORRED;跌家数:INDEXDEC,NODRAW,COLORGREEN;{涨跌停显示}涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0); STICKLINE(涨停,O,C,3,0),COLORYELLOW;ZDF:=(C-REF(C,1))/REF(C,1)*100;STICKLINE(ZDF<-9.9,O,C,3,0),COLORGREEN;{以下为K线上色}STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000055; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000077; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR000099; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF; STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF; STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR990000; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLORCC0000; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORCYAN;选股短进RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);短进 :CROSS(J,REF(J+0.01,1)) AND X AND J<20;【通达信】完美主图(动能趋势线、涨家数、跌家数、涨停)-指标公式效果图(文档来源:若水财经社区)。
通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】
通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】LTA:=FINANCE(7)+300000000;GB:=2*IF(FINANCE(7)C1:=CLOSE;V1:=TIME;A1:=COUNT(BARSCOUNT(C)=1 AND TIMET:=IF(V1(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1 /10000))),NODRAW;成交额:AMOUNT,NODRAW;大额线:=50*3+300*GB,COLOR00FFFF;VV2:=SUM(AMOUNT,T),NODRAW;初正1:=IF(T=1 AND DYNAINFO(4)>=DYNAINFO(3),VV2,0); 初负1:=IF(T=1 AND DYNAINFO(4)初正2:=CONST(SUM(IF(T=1,初正1,0),T)),NODRAW;初负2:=CONST(SUM(IF(T=1,初负1,0),T)),NODRAW;初正:=CONST(SUM(IF(初正1>大额线 AND T=1,初正1,0),T)),NODRAW;初负:=CONST(SUM(IF(初负1>大额线 AND T=1,初负1,0),T)),NODRAW;T00:=IF(C1>REF(C1,1),0.9,-0.9);T01:=IF(C1T02:=T00+T01;TT1:=BARSLAST(CROSS(T02,0));TT2:=BARSLAST(CROSS(0,T02));TT:=IF(T02=1.8,1,IF(T02=-1.8,-1,0));正V1:=IF(TT=1 OR (TT=0 AND TT1>TT2),成交额,0); 负V1:=IF(TT=-1 OR (TT=0 AND TT1正总1:=初正1+SUM(正V1,T),NODRAW,COLOR0000FF; 负总1:=初负1+SUM(负V1,T),NODRAW,COLOR00FF00; 总:=(正总1+负总1)+初正2+初负2,NODRAW;正V:=IF(正V1>大额线,正V1,0);负V:=IF(负V1>大额线,负V1,0);正总:初正+SUM(正V,T),NODRAW,COLOR0000FF;负总:初负+SUM(负V,T),NODRAW,COLOR00FF00; 差%:(正总-负总)/总*100,COLOR00FF00,NODRAW; TTA:=INTPART(2*T/5);KP30:=TKPGD:=H=HHV(H,0) AND KP30;GDSJ:=BARSLAST(KPGD);{强弱界}MMA30:=EMA(CLOSE,30);强弱界定:=EMA(CLOSE,900);DRAWBAND(MMA30,RGB(100,0,0),强弱界定,RGB(0,255,0)); DRAWICON(CROSS(MMA30,强弱界定),H,1);CC:=CLOSE,COLORWHITE,LINETHICK2;VAR7:=SMA(CC,6.18,1);VAR8:=SMA(VAR7,3.14,1);RCC:=DYNAINFO(3);S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=4*(S2-S6);KK:=1;{暗轨}{AA1:=PLOYLINE(CLOSE5,COST(20));BB1:=PLOYLINE(CLOSE5,COST(80));DRAWBAND(BB1,RGB(50,50,50),AA1,DRAWNULL);{CYC}VAR1:=AMOUNT/VOL/100;VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR3:=SUM(AMOUNT,5)/VAR1/100;VAR4:=SUM(AMOUNT,13)/VAR1/100;VAR5:=SUM(AMOUNT,34)/VAR1/100;CYC5:=DMA(VAR2,VOL/VAR3);CYC13:=DMA(VAR2,VOL/VAR4);CYC34:=DMA(VAR2,VOL/VAR5);DRAWBAND(CYC5,RGB(00,50,50),CYC13,DRAWNULL); DRAWBAND(CYC13,RGB(00,150,150),CYC34,DRAWNULL); {分时MACD}昨收:=DYNAINFO(3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL)*0.1;ZS:=昨收-FK*3.2;Q1:=昨收-FK*3.22;Q2:=昨收-2*FK*3.22;Q3:=昨收-3*FK*3.2;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));DEA:=(EMA(DIF,6));MACD:=5*(DIF-DEA);STICKLINE(MACD>=0 ANDMACD>=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORFF00FF,LINETHICK3;STICKLINE(MACD>=0 AND MACDSTICKLINE(MACD=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0 ),COLOR4ABEFF,LINETHICK3;STICKLINE(MACDSTICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED; STICKLINE(DK{多头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+2*(Q2-Q3)/3/FDM*多头MACD; STICKLINE(多头MACD>0,RB,(Q2+Q3)/2,2,1),LINETHICK1,COLOR0000FF; STICKLINE(多头MACD{火焰山及底部信号}FAA:=WINNER(CLOSE+CLOSE*15/100)*100;FBB:=WINNER(CLOSE+CLOSE*0/100)*100;FCC:=FAA-FBB;FDD:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOS E*15/100))*100;FEE:=FCCFA1:=DYNAINFO(6);FA2:=IF(LOW>FA1,0,IF(HIGHFA3:=VOL/WINNER(LOW);FA4:=REF(HHV(CLOSE,120),1);FA5:=REF(LLV(CLOSE,120),1);FA6:=100*(CLOSE-FA5)/(FA4-FA5);FA7:=FA2>0 OR FA2=1;FA8:=FA7 AND FA3/REF(FA3,3)>=3 AND FA6FA9:=REF(FA8,1) OR REF(FA8,2) OR REF(FA8,3) OR REF(FA8,4);FA10:=FA8 AND FA9;FA11:=IF(FILTER(FA8,3),5,0);FA12:=IF(FILTER(FA10,3) OR FEE,10,0);EEEE:=(RCC-ZS)/5;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(LOWFVAR5:=IF(FVAR51>20,20,FVAR51);DRAWTEXT(FA11,(Q2+Q3)/2*1.02,'↑进'),COLOR00FFFF; DRAWTEXT(FA12,(Q2+Q3)/2*1.03,',↑加');主力进场:STICKLINE(FVAR5>REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2 +FVAR5*EEEE,10,0 ),COLORRED;洗盘:IF(FVAR5STICKLINE(FVAR5FVAR6:=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),1 5,1);FVAR7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-L LV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV (LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1 );FVAR8:=FVAR6REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(FVAR8 ANDCOUNT(FVAR8,30)=1,(Q2+Q3)/2+3*EEEE,'★迹'); JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIF,DEA) AND DEASTICKLINE(二次金叉,(Q2+Q3)/2,(Q2+Q3)/2*1.01,4,0),COLORFF00FF; DRAWTEXT(二次金叉,(Q2+Q3)/2*1.01,' 二金'),COLORYELLOW;HHH:=MA(CLOSE,10);GGG:=MA(CLOSE,12);上:=EMA((MA(HIGH,3) * 1.05),30);下:=EMA((MA(LOW,3) * 0.96),30);决战:STICKLINE((((CROSS(DIF,DEA) AND ((下 -REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIFDRAWTEXT((((CROSS(DIF,DEA) AND ((下 - REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF{两个主要买进信号}RSV:=((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,2 40))*200-100);K:=SMA(SMA(RSV,18,1),3,1);D:=MA(EMA(K,18),3);短买:=CROSS(K,D) AND K>0 AND CLOSEDRAWTEXT(短买,(Q2+Q3)/2+(Q2-Q3)/1,'短买'),COLORFF00FF;YY:=SMA(VOL,30,1);量1:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LL V(YY,1),30));量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(L LV(YY,1),30))>0.92;短横:=((HHV(CLOSE,TTA)-LLV(CLOSE,TTA))/CLOSE)横后上涨:=(CLOSE/DYNAINFO(3))>=1.02=0 AND 短横 AND 量 AND CROSS(C,(MA(C*V,TTA)/MA(V,TTA) +AVEDEV(C,TTA)*2));上涨:=FILTER((CROSS(横后上涨,0)AND 量 AND T>60OR (T>60 AND CLOSEAND CROSS(C,MA(HHV(C,TTA),1)))),30);DRAWTEXT(上涨,(Q2+Q3)/2+(Q2-Q3)/1,'★涨'),COLORRED,LINETHICK3;HHHH:REF(H,GDSJ),COLORFFFFFF,POINTDOT,LINETHICK1; 过顶:IF(CROSS(C,HHHH),1,0),COLOR00FF00,POINTDOT,NODRA W;冲高:IF(FILTER(CROSS(C,HHHH*1.01),15),1,0),COLOR00FFFF,POINTDOT,NODRAW;DRAWBAND(VAR7,RGB(255,255,0),VAR8,RGB(0,255,255)); DRAWTEXT(过顶,HHHH*1.005,'↑'),COLOR00FF00; DRAWTEXT(冲高,HHHH*1.005,'☆'),COLOR00FFFF;C,LINETHICK2,COLORFFFFFF;抓住当天最佳买点!个人自用极品跟庄分时指标(分时源码附图)注意二点:1.当股价金叉均线时要等一等,因为这时卖盘还大于买盘(下面指标中绿线在上,红线在下)。
通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】
通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】-CAL-FENGHAI.-(YICAI)-Company One1通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】LTA:=FINANCE(7)+0;GB:=2*IF(FINANCE(7)C1:=CLOSE;V1:=TIME;A1:=COUNT(BARSCOUNT(C)=1 AND TIMET:=IF(V1(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000))),NODRAW;成交额:AMOUNT,NODRAW;大额线:=50*3+300*GB,COLOR00FFFF;VV2:=SUM(AMOUNT,T),NODRAW;初正1:=IF(T=1 AND DYNAINFO(4)>=DYNAINFO(3),VV2,0);初负1:=IF(T=1 AND DYNAINFO(4)初正2:=CONST(SUM(IF(T=1,初正1,0),T)),NODRAW;初负2:=CONST(SUM(IF(T=1,初负1,0),T)),NODRAW;初正:=CONST(SUM(IF(初正1>大额线 AND T=1,初正1,0),T)),NODRAW;初负:=CONST(SUM(IF(初负1>大额线 AND T=1,初负1,0),T)),NODRAW;T00:=IF(C1>REF(C1,1),,;T01:=IF(C1T02:=T00+T01;TT1:=BARSLAST(CROSS(T02,0));TT2:=BARSLAST(CROSS(0,T02));TT:=IF(T02=,1,IF(T02=,-1,0));正V1:=IF(TT=1 OR (TT=0 AND TT1>TT2),成交额,0);负V1:=IF(TT=-1 OR (TT=0 AND TT1正总1:=初正1+SUM(正V1,T),NODRAW,COLOR0000FF;负总1:=初负1+SUM(负V1,T),NODRAW,COLOR00FF00;总:=(正总1+负总1)+初正2+初负2,NODRAW;正V:=IF(正V1>大额线,正V1,0);负V:=IF(负V1>大额线,负V1,0);正总:初正+SUM(正V,T),NODRAW,COLOR0000FF;负总:初负+SUM(负V,T),NODRAW,COLOR00FF00;差%:(正总-负总)/总*100,COLOR00FF00,NODRAW; TTA:=INTPART(2*T/5);KP30:=TKPGD:=H=HHV(H,0) AND KP30;GDSJ:=BARSLAST(KPGD);{强弱界}MMA30:=EMA(CLOSE,30);强弱界定:=EMA(CLOSE,900);DRAWBAND(MMA30,RGB(100,0,0),强弱界定,RGB(0,255,0)); DRAWICON(CROSS(MMA30,强弱界定),H,1);CC:=CLOSE,COLORWHITE,LINETHICK2;VAR7:=SMA(CC,,1);VAR8:=SMA(VAR7,,1);RCC:=DYNAINFO(3);S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=4*(S2-S6);KK:=1;{暗轨}{AA1:=PLOYLINE(CLOSE5,COST(20));BB1:=PLOYLINE(CLOSE5,COST(80));DRAWBAND(BB1,RGB(50,50,50),AA1,DRAWNULL); {CYC}VAR1:=AMOUNT/VOL/100;VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR3:=SUM(AMOUNT,5)/VAR1/100;VAR4:=SUM(AMOUNT,13)/VAR1/100;VAR5:=SUM(AMOUNT,34)/VAR1/100;CYC5:=DMA(VAR2,VOL/VAR3);CYC13:=DMA(VAR2,VOL/VAR4);CYC34:=DMA(VAR2,VOL/VAR5);DRAWBAND(CYC5,RGB(00,50,50),CYC13,DRAWNULL); DRAWBAND(CYC13,RGB(00,150,150),CYC34,DRAWNULL); {分时MACD}昨收:=DYNAINFO(3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL)*;ZS:=昨收-FK*;Q1:=昨收-FK*;Q2:=昨收-2*FK*;Q3:=昨收-3*FK*;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));DEA:=(EMA(DIF,6));MACD:=5*(DIF-DEA);STICKLINE(MACD>=0 ANDMACD>=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORFF 00FF,LINETHICK3;STICKLINE(MACD>=0 AND MACDSTICKLINE(MACD=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0), COLOR4ABEFF,LINETHICK3;STICKLINE(MACDSTICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED; STICKLINE(DK{多头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))*;RB:=(Q2+Q3)/2+2*(Q2-Q3)/3/FDM*多头MACD; STICKLINE(多头MACD>0,RB,(Q2+Q3)/2,2,1),LINETHICK1,COLOR0000FF; STICKLINE(多头MACD{火焰山及底部信号}FAA:=WINNER(CLOSE+CLOSE*15/100)*100;FBB:=WINNER(CLOSE+CLOSE*0/100)*100;FCC:=FAA-FBB;FDD:=(WINNER(CLOSE-CLOSE*100)-WINNER(CLOSE-CLOSE*15/100))*100;FEE:=FCCFA1:=DYNAINFO(6);FA2:=IF(LOW>FA1,0,IF(HIGHFA3:=VOL/WINNER(LOW);FA4:=REF(HHV(CLOSE,120),1);FA5:=REF(LLV(CLOSE,120),1);FA6:=100*(CLOSE-FA5)/(FA4-FA5);FA7:=FA2>0 OR FA2=1;FA8:=FA7 AND FA3/REF(FA3,3)>=3 AND FA6FA9:=REF(FA8,1) OR REF(FA8,2) OR REF(FA8,3) OR REF(FA8,4); FA10:=FA8 AND FA9;FA11:=IF(FILTER(FA8,3),5,0);FA12:=IF(FILTER(FA10,3) OR FEE,10,0);EEEE:=(RCC-ZS)/5;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(LOWFVAR5:=IF(FVAR51>20,20,FVAR51);DRAWTEXT(FA11,(Q2+Q3)/2*,'↑进'),COLOR00FFFF; DRAWTEXT(FA12,(Q2+Q3)/2*,',↑加');主力进场:STICKLINE(FVAR5>REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2+FVA R5*EEEE,10,0 ),COLORRED;洗盘:IF(FVAR5STICKLINE(FVAR5FVAR6:=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); FVAR7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); FVAR8:=FVAR6REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(FVAR8 ANDCOUNT(FVAR8,30)=1,(Q2+Q3)/2+3*EEEE,'★迹'); JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIF,DEA) AND DEASTICKLINE(二次金叉,(Q2+Q3)/2,(Q2+Q3)/2*,4,0),COLORFF00FF; DRAWTEXT(二次金叉,(Q2+Q3)/2*,' 二金'),COLORYELLOW; HHH:=MA(CLOSE,10);GGG:=MA(CLOSE,12);上:=EMA((MA(HIGH,3) * ,30);下:=EMA((MA(LOW,3) * ,30);决战:STICKLINE((((CROSS(DIF,DEA) AND ((下 - REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND(DIFDRAWTEXT((((CROSS(DIF,DEA) AND ((下 - REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF{两个主要买进信号}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 CLOSEDRAWTEXT(短买,(Q2+Q3)/2+(Q2-Q3)/1,'短买'),COLORFF00FF; 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))>;短横:=((HHV(CLOSE,TTA)-LLV(CLOSE,TTA))/CLOSE)横后上涨:=(CLOSE/DYNAINFO(3))>==0 AND 短横 AND 量 AND CROSS(C,(MA(C*V,TTA)/MA(V,TTA) + AVEDEV(C,TTA)*2));上涨:=FILTER((CROSS(横后上涨,0)AND 量 AND T>60OR (T>60 AND CLOSEAND CROSS(C,MA(HHV(C,TTA),1)))),30);DRAWTEXT(上涨,(Q2+Q3)/2+(Q2-Q3)/1,'★涨'),COLORRED,LINETHICK3;HHHH:REF(H,GDSJ),COLORFFFFFF,POINTDOT,LINETHICK1;过顶:IF(CROSS(C,HHHH),1,0),COLOR00FF00,POINTDOT,NODRAW;冲高:IF(FILTER(CROSS(C,HHHH*,15),1,0),COLOR00FFFF,POINTDOT ,NODRAW;DRAWBAND(VAR7,RGB(255,255,0),VAR8,RGB(0,255,255)); DRAWTEXT(过顶,HHHH*,'↑'),COLOR00FF00;DRAWTEXT(冲高,HHHH*,'☆'),COLOR00FFFF;C,LINETHICK2,COLORFFFFFF;抓住当天最佳买点!个人自用极品跟庄分时指标(分时源码附图)注意二点:1.当股价金叉均线时要等一等,因为这时卖盘还大于买盘(下面指标中绿线在上,红线在下)。
通达信成交量抓涨停分时指标公式
通达信成交量抓涨停分时指标公式流通盘:=CAPITAL;DBHS:=IF(CAPITAL<2000000,V/CAPITAL*100,V/流通盘*100);标准量:IF(COUNT(V>流通盘/1000,0)>0,流通盘/1000,0),COLORMAGENTA;STICKLINE(C<REF(C,1),0,VOL,0.1,0),COLORGREEN;STICKLINE(C>REF(C,1),0,VOL,0.1,0),COLORRED;STICKLINE(C=REF(C,1),0,VOL,0.1,0),COLORWHITE;总量:=SUM(V,0),COLORCYAN,NODRAW;单笔最大量:HHV(V,0),COLORWHITE,DOTLINE;单笔最大换手:HHV(DBHS,240),COLORWHITE,DOTLINE;牛:=(EXPMA(CLOSE,500)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100,COL ORSTICK;DRAWICON(CROSS(EXPMA(牛,120)-0.0004,EXPMA(牛,200)),单笔最大量*0.8,17);DRAWICON(CROSS(EXPMA(牛,200),EXPMA(牛,120)-0.0004),V,8);Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL *100,BARSCOUNT(C))),1.05,0.95);Q2:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCO UNT(C))/SUM(VOL*100,BARSCOUNT(C))));DRAWICON(CROSS((C/Q2),1.03),-V/4,6);现量:VOL,VOLSTICK;STICKLINE(C<REF(C,1) AND V>REF(单笔最大量,1) AND TIME>94200,0,VOL,0.1,0),COLORGREEN;STICKLINE(C>REF(C,1) AND V>REF(单笔最大量,1) AND TIME>94200,0,VOL,0.1,0),COLORRED;STICKLINE(C=REF(C,1) AND V>REF(单笔最大量,1) ANDTIME>94200,0,VOL,0.1,0),COLORWHITE;STICKLINE(V>REF(单笔最大量,1)*1.5 AND C>REF(C,1) AND DBHS>0.15 AND TIME>94500,0,VOL,0.1,0),COLORYELLOW;STICKLINE(C>REF(C,1) AND DBHS>0.22 AND TIME<94200,0,VOL,0.1,0),COLOR66FFFF,LINETHICK2;LXTP:=((V>REF(V,1) AND DBHS>=0.1 AND REF(V,1)>REF(单笔最大量,2)) OR (V>REF(单笔最大量,1) AND DBHS>=0.08 AND REF(V,2)>REF(单笔最大量,3))) AND C>REF(C,1);LXTP1:=((V>REF(V,1)*0.9 AND DBHS>=0.1 AND REF(V,1)>REF(单笔最大量,2)) OR (V>REF(单笔最大量,1)*0.9 AND DBHS>=0.1 AND REF(V,2)>REF(单笔最大量,3))) AND C>REF(C,1);DRAWTEXT(LXTP1,V*1.4,'@'),COLORYELLOW;DRAWTEXT(LXTP,V*1.1,'@'),COLORRED;XG:=LXTP,COLORYELLOW;VA:=IF(CLOSE>REF(CLOSE,1),VOL/10,-VOL/10);OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0),COLORYELLOW,L INETHICK2;DRAWTEXT(ISLASTBAR=1,标准量,'←标准量'),COLORMAGENTA;DRAWTEXT(ISLASTBAR=1,OBV,'←OBV'),COLORYELLOW;A1:=(VOL/CLOSE)/2;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;量比:=SUM(VOL,0)*240/MA(V,5)/BARSCOUNT(C),NODRAW;A7:=IF((CURRBARSCOUNT=2),((100*A2)/A6),0),NODRAW;A8:=((IF((CURRBARSCOUNT=2),((100*A3)/A6),0)));A9:=((IF((CURRBARSCOUNT=2),((100*A4)/A6),0)));A10:=((IF((CURRBARSCOUNT=2),((100*A5)/A6),0)));主力买盘:=A2;主力卖盘:=A3;主力买:=CROSS(主力买盘,主力卖盘) AND 量比>0.5,NODRAW; DRAWICON(主力买,单笔最大量,34);DRAWTEXT(主力买,单笔最大量*0.9,'主力买'),COLORYELLOW; MA30:=EMA(CLOSE,30);强弱:=EMA(CLOSE,900);DRAWICON(CROSS(MA30,强弱),单笔最大量*1.1,23);。
【通达信指标公式】分时抓涨停指标公式-2010最新版
【通达信指标公式】分时抓涨停指标公式-2010最新版BU:=BARSLAST(CLOSE=HHV(CLOSE,2000));SE:=BARSLAST(CLOSE=LLV(CLOSE,2000));KK1:=SE;KK2:=BU;LM1:=SE;LM2:=BU;OK:=KK1>KK2AND LM1>LM2;OK1:=KK1>KK2 AND LM1<LM2;NOK:=KK2>KK1 ANDLM2>LM1;NOK1:=KK2>KK1 ANDLM2<LM1;DRAWICON(CROSS(KK1,KK2),OPEN*1,1);DRAWTEXT(CROSS(KK1,KK2),OPEN*0.99,'抓'),colorFF00;AOLYLINE(CLOSE<COST(50),COST(20)),POINTDOT,color880 0;BOLYLINE(CLOSE<COST(50),COST(80)),POINTDOT,color66C C00;T:=OPENMINUTES(TIME);CLOSE=DYNAINFO(7);总量:=SUM(VOL,T);总额:=SUM(AMOUNT,T);均价:=总额/(总量*100);次数:=COUNT(CLOSE>均价,T);占比:=次数/T*100;分时强势RAWICON(CROSS(CLOSE,均价)AND CLOSE>均价 AND 占比>80 ANDT>5,CLOSE*0.985,4);DRAWTEXT(CROSS(CLOSE,均价) AND CLOSE>均价AND 占比>80ANDT>5,CLOSE*0.98,'涨价'),colorFFFF;VAR1:=AMOUNT/VOL/100;VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR3:=SUM(AMOUNT,5)/VAR1/100;VAR4:=SUM(AMOUNT,13)/VAR1/100;VAR5:=SUM(AMOUNT,34)/VAR1/100;CYC5:=DMA(VAR2,VOL/VAR3);CYC13:=DMA(VAR2,VOL/VAR4);CYC34:=DMA(VAR2,VOL/VAR5);CYC∞:=DMA(VAR2,VOL/CAPITAL);一剑封喉:=CROSS(CLOSE,MA(CLOSE,13))AND CROSS(CLOSE,MA(CLOSE,34)) ANDCROSS(CLOSE,MA(CLOSE,55));A1:=(CLOSE-LLV(LOW,22))/(HHV(HIGH,22)-LLV(LOW,22))*100;A2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;A:=3*SMA(A1,5,1)-2*SMA(SMA(A2,5,1),3,1),POINTDOT,color8800;YNGS:=一剑封喉AND A<30;DRAWICON(一剑封喉 AND A<30,LOW*0.985,10);DRAWTEXT(一剑封喉 ANDA<30,LOW*0.98,'停'),colorFF;昨收:=DYNAINFO(3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL);ZS:=昨收-FK*1.01;Q1:=昨收-FK*1.012;Q2:=昨收-2*FK*1.012;Q3:=昨收-3*FK*1.01;RSV:=((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,240))*200-100)/2;K:=SMA(SMA(RSV,18,1),3,1);D:=MA(EMA(K,18),3);J:=3*K-2*D;空头:=-3*K-2*D;DIFF:=EMA(CLOSE,240)-EMA(CLOSE,240)*100;DEA:=EMA(DIFF,18);多头MACD:=(-3*(DIFF-DEA))*2;ZD:=HHV(多头MACD,0);ZX:=LLV(多头MACD,0);CZ:=(Q2-Q3)/6;FILLRGN(1,昨收-2*FK*1.015,昨收-3*FK*1.01),color10000;Q1,LINETHICK2,colorCC;Q2-CZ,POINTDOT,colorCC;Q2-2*CZ,POINTDOT,colorCC;Q2-3*CZ,POINTDOT,colorCC;Q2-4*CZ,POINTDOT,colorCC;Q2-5*CZ,POINTDOT,colorCC;FDM:=MAX(ABS(ZD),ABS(ZX))*1.5;RB:=(Q2+Q3)/2+2*(Q2-Q3)/3/FDM*多头MACD;STICKLINE(多头MACD>0,RB,(Q2+Q3)/2,2,1),LINETHICK2,colorFF;STICKLINE(多头MACD<0,RB,(Q2+Q3)/2,2,1),LINETHICK2,colorFF00;短买:IF(CROSS(K,D)ANDK>0,(Q2+Q3)/2+(Q2-Q3)/4,(Q2+Q3)/2),LINETHICK2,colorFF00FF;突击:IF(CROSS(多头MACD,空头)AND多头MACD>0,(Q2+Q3)/2+(Q2-Q3)/4,(Q2+Q3)/2),LINETHICK2,colorFFFF;DRAWICON(CROSS(K,D)AND K>0,RB,1),ALIGN1;DRAWTEXT(CROSS(K,D) ANDK>0,(Q2+Q3)/2+(Q2-Q3)/3,'短买'),colorFF0000;DRAWTEXT(CROSS(多头MACD,空头) AND多头MACD>0,(Q2+Q3)/2+(Q2-Q3)/3,'突击'),colorFFFF00;KK:=DATE<1341231;PK:=VOL*(OPEN+CLOSE+HIGH+LOW)/4;PK1:=IF(VOL>0,PK/VOL,(OPEN+CLOSE+HIGH+LOW)/4);C11:=PK1;A01:=(C11-LLV(C11,75))/(HHV(C11,75)-LLV(C11,75));A11:=SMA(A01,13,1);A21:=SMA(A11,13,1);A31:=3*A11-2*A21;A41:=2*A31-0.5;ZS:=DYNAINFO(3)*0.95;选1:=IF(KK,C11*(1-(A41-A21)/40),0);选2:=CROSS(C11,选1)AND CLOSE/REF(CLOSE,1)<1.03;选3:IF(选2,ZS*1.03,ZS),colorFF00;{明关键价位}c1:=ref(c,1);c2:=hhv(c1,2);c3:=llv(c1,1);et:=hhv(c1,2);et1:=ref(et,1);xb:=llv(c1,1);xb1:=ref(xb,1);m:=BARSLAST(c<xb and c1>=xb1);m11:=ref(m,1);n9:=BARSLAST(c>et and c1<=et1);n1:=ref(n9,1);m21:=BARSLAST(m-n9>0 and m11<=n1)+1;n2:=BARSLAST(n9-m>0 and n1<=m11)+1;et2:=hhv(et,m21);xb2:=llv(xb,n2);a:=if(m-n9>0 and m11<=n1,1,if(n9-m>0 and n1<=m11,0,2)); h1:=if(m-n9>0,c,et2);h2:=if(a=1,c,c2);h3:=if(m-n9<0,c,xb2);h4:=if(a=1,c,xb2);h5:=if(m-n9>0 or a=1,c,h3);明关键价位:ref(h5,1);{公称名称: 一剑封喉}A1:=IF(BUYVOL,V,10000);//取主动性买盘,你可用自己的条件!A2:=IF(SELLVOL,V,0);//取主动性卖盘,你可用自己的条件!ZS:=DYNAINFO(3)*0.92;K1:=(SUM(A1,0)/SUM(V,0));K2:=(SUM(A2,0)/SUM(V,0));K3((K1*0.35)+ZS)+((K2*0.35)+ZS))/2,POINTDOT;KK1:IF(K1 ,(K1*0.35)+ZS,ZS),COLORGREEN;KK30:IF(K2,(K2*0.35)+ZS,ZS),COLORMAGENTA;。
通达信盘中抓涨停公式
通达信盘中抓涨停公式.盘口异动盘口中,买卖盘面所放的挂单,往往是庄家骗人用的假象。
大量的卖盘挂单俗称上盖板,大量的买盘挂单俗称下托板。
而真正庄家目的性买卖盘通常是及时成交的,隐形盘虽在买卖盘口看不到,但在成交盘中是跑不了的。
因此,研究隐形盘的成交与挂单的关系,就可看清庄家的嘴脸。
盘口秘诀:(1)上有盖板,而出现大量隐形外盘,股价不跌,为大幅上涨的先兆。
(2)下有托板,而出现大量隐形内盘,为庄家出货迹象。
(3)外盘大于内盘,股价不上涨,警惕庄家出货。
(4)内盘大于外盘,价跌量增,连续第二天,是明眼人最后一次出货的机会。
(5)内外盘都较小,股价轻微上涨,是庄家锁定筹码。
轻轻地托着股价上走的时候。
(6)外盘大于内盘,股价仍上升,看高一线。
(7)内盘大于外盘,股价不跌或反有微升,可能有庄家进场。
{盘中抓涨停条件选股预警公式}除业绩后退股:=FINANCE(30)>=REF(FINANCE(30),130);D0:=除业绩后退股;D1:=IF(CODELIKE('300'),0,1);{创业板}D2:=IF(NAMELIKE('S'),0,1);D3:=IF(NAMELIKE('*'),0,1);{去掉停牌}D4:=DYNAINFO(17)>0;D5:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)>45;{45度} 去掉:=D0 AND D1 AND D2 AND D3 AND D4 AND D5;股价:=C>=7.00 AND C<24;必要条件:=CAPITAL/1000000<=7.99AND DYNAINFO(39)>0 AND DYNAINFO(39)<=266;开盘小于6:=O/REF(C,1)<1.06;量比:= C/REF(C,1)>=1.015 && DYNAINFO(17)>=2.50;日均线:=ATAN(MA(C,13)/REF(MA(C,13),1)*100-100)/3.142*180;上升角度:= 日均线>=35 AND 日均线<=45;XG: 开盘小于6 AND CROSS(日均线,45) AND 量比AND 去掉AND 股价 AND 必要条件;{近20日最低价条件选股预警公式}除业绩后退股:=FINANCE(30)>=REF(FINANCE(30),130);D0:=除业绩后退股;D1:=IF(CODELIKE('300'),0,1);{创业板}D2:=IF(NAMELIKE('S'),0,1);D3:=IF(NAMELIKE('*'),0,1);{去掉停牌>=}D4:=DYNAINFO(17)>0;D5:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)>45;{45度} 去掉:=D0 AND D1 AND D2 AND D3 AND D4 AND D5;股价:=C>=7.00 AND C<24;必要条件:=CAPITAL/1000000<=7.99AND DYNAINFO(39)>0 AND DYNAINFO(39)<=266;A1:=LLV(L,3)=LLV(L,20);A2:=BARSLAST(A1);新低上涨15%:CROSS(C,REF(C,A2)*1.15) &&C/REF(C,1)>=1.010 && 去掉&& 必要条件&& 股价;{盘中抓涨停1 条件选股预警公式}除业绩后退股:=FINANCE(30)>=REF(FINANCE(30),130);D0:=除业绩后退股;D1:=IF(CODELIKE('300'),0,1);{创业板}D2:=IF(NAMELIKE('S'),0,1);D3:=IF(NAMELIKE('*'),0,1);{去掉停牌}D4:=DYNAINFO(17)>0;D5:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)>45;{45度} 去掉:=D0 AND D1 AND D2 AND D3 AND D4 AND D5;股价:=C>=7.00 AND C<24;必要条件:=CAPITAL/1000000<=7.99AND DYNAINFO(39)>0 AND DYNAINFO(39)<=266;开盘小于6:=O/REF(C,1)<1.06;量比:= C/REF(C,1)>=1.015 && DYNAINFO(17)>=2.50;日均线:=ATAN(MA(C,13)/REF(MA(C,13),1)*100-100)/3.142*180;上升角度:= 日均线>=45 AND 日均线<=60;XG: 开盘小于6 AND CROSS(日均线,上升角度)AND 量比AND 去掉AND 股价 AND 必要条件 ;。
[转载]通达信抓涨停分时主图指标
[转载]通达信抓涨停分时主图指标原⽂地址:通达信抓涨停分时主图指标作者:宝宝实盘攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;攻击量B:=-SUM(IF(C攻击流量:=攻击量A+攻击量B,COLORSTICK;攻击⽐:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;资⾦攻击度:=IF(攻击⽐>=0,(攻击⽐+50),100-ABS((攻击⽐-50)));资⾦流⼊:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;资⾦流出:=-SUM(IF(C资⾦出⼊:=资⾦流⼊+资⾦流出,COLORSTICK;资⾦⽐:=资⾦出⼊/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;资⾦流量⽐:=IF(资⾦⽐>=0,(资⾦⽐+100)/2,100-ABS((资⾦⽐-100)/2));DRAWTEXT_FIX(1,0.250,0.8,0,STRCAT(STRCAT('【资⾦流量⽐】',CON2STR(资⾦流量⽐,2)),'%买')),COLORCYAN; DRAWTEXT_FIX(1,0.000,0.8,0,STRCAT(STRCAT('【资⾦攻击度】',CON2STR(资⾦攻击度,2)),' %买')),COLORCYAN; A1:=(VOL/CLOSE)/3;A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A3:=SUM((IF(((A1>40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A4:=SUM((IF(((A1<40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);A5:=SUM((IF(((A1<40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);A6:=((A2+A3)+A4)+A5;{}A7:=IF((BARSTATUS=2),((100*A2)/A6),0);A8:=((IF((BARSTATUS=2),((100*A3)/A6),0)));A9:=((IF((BARSTATUS=2),((100*A4)/A6),0)));A10:=((IF((BARSTATUS=2),((100*A5)/A6),0)));机构买盘:=(A2),LINETHICK2;机构卖盘:=(A3),LINETHICK2;散户买盘:=(A4);散户卖盘:=(A5);DRAWTEXT_FIX(1,0.000,1-0.05,0,STRCAT(STRCAT('【机构买盘】',CON2STR(机构买盘,2)),'万')),COLORRED; DRAWTEXT_FIX(1,0.250,1-0.05,0,STRCAT(STRCAT('【机构卖盘】',CON2STR(机构卖盘,2)),'万')),COLOR00FF00; DRAWTEXT_FIX(1,0.500,1-0.05,0,STRCAT(STRCAT('【散户买盘】',CON2STR(散户买盘,2)),'万')),COLORRED; DRAWTEXT_FIX(1,0.745,1-0.05,0,STRCAT(STRCAT('【散户卖盘】',CON2STR(散户卖盘,2)),'万')),COLOR00FF00;量价:=(VOL/CLOSE)/3;B2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);B3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);B6:=B2+B3;DD1:=1;⽐:=B2/B3;BBB1:=STRCAT(STRCAT('买= ',CON2STR((100*B2)/B6,0)),'%');BBB2:=STRCAT(STRCAT('卖= ',CON2STR((100*B3)/B6,0)),'%');BBB3:=STRCAT(STRCAT('差= ',CON2STR((100*(B2-B3))/B6,0)),'%');DRAWTEXT_FIX(DD1=1,0.88,0.62,0,BBB1),COLORWHITE;DRAWTEXT_FIX(DD1=1,0.88,0.70,0,BBB2),COLORGREEN;DRAWTEXT_FIX(DD1=1,0.88,0.78,0,BBB3),COLOR00FFFF;{⽀撑}H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻⼒:L1+P1*7/8,COLORWHITE;⽀撑:L1+P1*0.5/8,COLORYELLOW ;现价:=C;DRAWICON(LONGCROSS(⽀撑,现价,2),⽀撑*1.001,7);。
通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】
通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】LTA:=FINANCE(7)+0;GB:=2*IF(FINANCE(7)C1:=CLOSE;V1:=TIME;A1:=COUNT(BARSCOUNT(C)=1 AND TIMET:=IF(V1(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1 /10000))),NODRAW;成交额:AMOUNT,NODRAW;大额线:=50*3+300*GB,COLOR00FFFF;VV2:=SUM(AMOUNT,T),NODRAW;初正1:=IF(T=1 AND DYNAINFO(4)>=DYNAINFO(3),VV2,0);初负1:=IF(T=1 AND DYNAINFO(4)初正2:=CONST(SUM(IF(T=1,初正1,0),T)),NODRAW;初负2:=CONST(SUM(IF(T=1,初负1,0),T)),NODRAW;初正:=CONST(SUM(IF(初正1>大额线 AND T=1,初正1,0),T)),NODRAW;初负:=CONST(SUM(IF(初负1>大额线 AND T=1,初负1,0),T)),NODRAW;T00:=IF(C1>REF(C1,1),,;T01:=IF(C1T02:=T00+T01;TT1:=BARSLAST(CROSS(T02,0));TT2:=BARSLAST(CROSS(0,T02));TT:=IF(T02=,1,IF(T02=,-1,0));正V1:=IF(TT=1 OR (TT=0 AND TT1>TT2),成交额,0);负V1:=IF(TT=-1 OR (TT=0 AND TT1正总1:=初正1+SUM(正V1,T),NODRAW,COLOR0000FF;负总1:=初负1+SUM(负V1,T),NODRAW,COLOR00FF00;总:=(正总1+负总1)+初正2+初负2,NODRAW;正V:=IF(正V1>大额线,正V1,0);负V:=IF(负V1>大额线,负V1,0);正总:初正+SUM(正V,T),NODRAW,COLOR0000FF;负总:初负+SUM(负V,T),NODRAW,COLOR00FF00;差%:(正总-负总)/总*100,COLOR00FF00,NODRAW;TTA:=INTPART(2*T/5);KP30:=TKPGD:=H=HHV(H,0) AND KP30;GDSJ:=BARSLAST(KPGD);{强弱界}MMA30:=EMA(CLOSE,30);强弱界定:=EMA(CLOSE,900);DRAWBAND(MMA30,RGB(100,0,0),强弱界定,RGB(0,255,0));DRAWICON(CROSS(MMA30,强弱界定),H,1); CC:=CLOSE,COLORWHITE,LINETHICK2;VAR7:=SMA(CC,,1);VAR8:=SMA(VAR7,,1);RCC:=DYNAINFO(3);S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=4*(S2-S6);KK:=1;{暗轨}{AA1:=PLOYLINE(CLOSE5,COST(20));BB1:=PLOYLINE(CLOSE5,COST(80));DRAWBAND(BB1,RGB(50,50,50),AA1,DRAWNULL); {CYC} VAR1:=AMOUNT/VOL/100;VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR3:=SUM(AMOUNT,5)/VAR1/100;VAR4:=SUM(AMOUNT,13)/VAR1/100;VAR5:=SUM(AMOUNT,34)/VAR1/100;CYC5:=DMA(VAR2,VOL/VAR3);CYC13:=DMA(VAR2,VOL/VAR4);CYC34:=DMA(VAR2,VOL/VAR5);DRAWBAND(CYC5,RGB(00,50,50),CYC13,DRAWNULL); DRAWBAND(CYC13,RGB(00,150,150),CYC34,DRAWNULL); {分时MACD}昨收:=DYNAINFO(3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL)*;ZS:=昨收-FK*;Q1:=昨收-FK*;Q2:=昨收-2*FK*;Q3:=昨收-3*FK*;MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));DEA:=(EMA(DIF,6));MACD:=5*(DIF-DEA);STICKLINE(MACD>=0 ANDMACD>=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLO RFF 00FF,LINETHICK3;STICKLINE(MACD>=0 AND MACDSTICKLINE(MACD=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0 ),COLOR4ABEFF,LINETHICK3;STICKLINE(MACDSTICKLINE(DK>0,RCC*KK,RCC*KK+DK,0,1),COLORRED; STICKLINE(DK{多头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))*;RB:=(Q2+Q3)/2+2*(Q2-Q3)/3/FDM*多头MACD; STICKLINE(多头MACD>0,RB,(Q2+Q3)/2,2,1),LINETHICK1,COLOR0000FF; STICKLINE(多头MACD{火焰山及底部信号}FAA:=WINNER(CLOSE+CLOSE*15/100)*100;FBB:=WINNER(CLOSE+CLOSE*0/100)*100;FCC:=FAA-FBB;FDD:=(WINNER(CLOSE-CLOSE*100)-WINNER(CLOSE-CLOSE*15/100))*100;FEE:=FCCFA1:=DYNAINFO(6);FA2:=IF(LOW>FA1,0,IF(HIGHFA3:=VOL/WINNER(LOW);FA4:=REF(HHV(CLOSE,120),1);FA5:=REF(LLV(CLOSE,120),1);FA6:=100*(CLOSE-FA5)/(FA4-FA5);FA7:=FA2>0 OR FA2=1;FA8:=FA7 AND FA3/REF(FA3,3)>=3 AND FA6FA9:=REF(FA8,1) OR REF(FA8,2) OR REF(FA8,3) OR REF(FA8,4);FA10:=FA8 AND FA9;FA11:=IF(FILTER(FA8,3),5,0);FA12:=IF(FILTER(FA10,3) OR FEE,10,0);EEEE:=(RCC-ZS)/5;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(LOWFVAR5:=IF(FVAR51>20,20,FVAR51);DRAWTEXT(FA11,(Q2+Q3)/2*,'↑进'),COLOR00FFFF; DRAWTEXT(FA12,(Q2+Q3)/2*,',↑加');主力进场:STICKLINE(FVAR5>REF(FVAR5,1),(Q2+Q3)/2,(Q2+Q3)/2 +FVAR5*EEEE,10,0 ),COLORRED;洗盘:IF(FVAR5STICKLINE(FVAR5FVAR6:=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),1 5,1);FVAR7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-L LV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1 );FVAR8:=FVAR6REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(FVAR8 ANDCOUNT(FVAR8,30)=1,(Q2+Q3)/2+3*EEEE,'★迹');JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIF,DEA) AND DEASTICKLINE(二次金叉,(Q2+Q3)/2,(Q2+Q3)/2*,4,0),COLORFF00FF; DRAWTEXT(二次金叉,(Q2+Q3)/2*,' 二金'),COLORYELLOW; HHH:=MA(CLOSE,10);GGG:=MA(CLOSE,12);上:=EMA((MA(HIGH,3) * ,30);下:=EMA((MA(LOW,3) * ,30);决战:STICKLINE((((CROSS(DIF,DEA) AND ((下 -REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND(DIFDRAWTEXT((((CROSS(DIF,DEA) AND ((下- REF(下,1)) > 0)) AND (MACD >= REF(MACD,1))) AND (DIF{两个主要买进信号}RSV:=((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,2 40))*200-100);K:=SMA(SMA(RSV,18,1),3,1);D:=MA(EMA(K,18),3);短买:=CROSS(K,D) AND K>0 AND CLOSEDRAWTEXT(短买,(Q2+Q3)/2+(Q2-Q3)/1,'短买'),COLORFF00FF;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(L LV(YY,1),30))>;短横:=((HHV(CLOSE,TTA)-LLV(CLOSE,TTA))/CLOSE)横后上涨:=(CLOSE/DYNAINFO(3))>==0 AND 短横AND 量AND CROSS(C,(MA(C*V,TTA)/MA(V,TTA) +AVEDEV(C,TTA)*2));上涨:=FILTER((CROSS(横后上涨,0)AND 量 AND T>60OR (T>60 AND CLOSEAND CROSS(C,MA(HHV(C,TTA),1)))),30);DRAWTEXT(上涨,(Q2+Q3)/2+(Q2-Q3)/1,'★涨'),COLORRED,LINETHICK3;HHHH:REF(H,GDSJ),COLORFFFFFF,POINTDOT,LINETHICK1;过顶:IF(CROSS(C,HHHH),1,0),COLOR00FF00,POINTDOT,NODR A W;冲高:IF(FILTER(CROSS(C,HHHH*,15),1,0),COLOR00FFFF,POI NTDOT,NODRAW;DRAWBAND(VAR7,RGB(255,255,0),VAR8,RGB(0,255,255)); DRAWTEXT(过顶,HHHH*,'↑'),COLOR00FF00;DRAWTEXT(冲高,HHHH*,'☆'),COLOR00FFFF;C,LINETHICK2,COLORFFFFFF;抓住当天最佳买点!个人自用极品跟庄分时指标(分时源码附图)注意二点:1.当股价金叉均线时要等一等,因为这时卖盘还大于买盘(下面指标中绿线在上,红线在下)。
通达信擒涨停主图指标公式
通达信擒涨停主图指标公式神秘均线75:=ma(CLOSE,75);ZJ:=EMA(C,13),COLOR0000FF;HY:=EMA(C,20),COLORFF00FF;ZJ升:=IF(ZJ>REF(ZJ,1),ZJ,DRAWNULL),COLORRED,LINETHICK2;ZJ降:=IF(ZJ<=REF(ZJ,1),ZJ,DRAWNULL),COLORBLUE,LINETHICK2;HY升:=IF(HY>REF(HY,1),HY,DRAWNULL),COLORFF00FF,LINETHICK2;HY降:=IF(HY<REF(HY,1),HY,DRAWNULL),COLORFFAA00,LINETHICK2;st ICKLINE(C>ZJ,H,L,0,0),COLORRED;STICKLINE(C>ZJ,C,O,-1,1),COLORRED;STICKLINE(C=ZJ,H,L,0,0),COLORFFFFFF;STICKLINE(C<ZJ,H,L,0,0),COLOR00FFFF;STICKLINE(C<ZJ,O,C,-1,1),COLOR00FFFF;STICKLINE(C<HY,O,C,-1,1),COLORFFFF00;STICKLINE(C<HY,H,L,0,0),COLORCYAN;{DRAWTEXT(cr OSS(C,ZJ),L,'B'),COLOR00FFFF;DRAWTEXT(CROSS(C,HY),L*0.99,'B'),COLORFFFF00;DRAWTEXT(CROSS(ZJ,C),H,'S'),COLOR00FFFF;DRAWTEXT(CROSS(HY,C),H*1.01,'S'),COLORFFFF00;}{自适应均线}DIR1:=A bs(CLOSE-REF(CLOSE,5));VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);ER1:=DIR1/VIR1;CS1:=ER1*(0.8-2/8)+2/8;CQ1:=CS1*CS1;AMA1:=EMA(DMA(CLOSE,CQ1),2) ,COLORWHITE;DIR2:=ABS(CLOSE-REF(CLOSE,10));VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);ER2:=DIR2/VIR2;CS2:=ER2*(0.8-2/24)+2/24;CQ2:=CS2*CS2;AMA2:EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK1;{AMA3:IF(AMA2/REF(AMA2,1)>0.997,AMA2,DRAWNULL),C OLORBLUE,LINETHICK3;}AMA4:IF(AMA2/REF(AMA2,1)>1.001,AMA2,DRAWNULL),CO LORRED,LINETHICK3;{大阳过平台形态}N:=5;大阳:=(C/REF(C,1)-1)*100>=N AND V>REF(V,1);DRAWICON(大阳,L*0.98,13);STICKLINE(大阳,O,C,2,0),COLORYELLOW;DRAWTEXT(大阳,L*0.97,'↖大阳过平台形态'),COLORYELLOW;{以涨停板或者大阳来突破左侧的高点,5日线和10日线具有上升的攻击角度}A1:=(MA(C,5)-REF(MA(C,5),1))/MA(C,5)>0.015;A2:=CLOSE>=REF(HHV(HIGH,30),1);A3:=C>REF(C,1)*1.07;XG:=(A1 AND A2 AND A3);DRAWICON(XG,L*0.96,23);STICKLINE(XG,O,C,2,0),COLORRED;DRAWTEXT(XG,L*0.96,'↖大阳来突破左侧的高点'),COLORRED;TYX2:=MA(REF(HHV((C+L+O+H)/4,10),1),3);加速k线:=REF(COUNT(C<TYX2,5)=5,1) AND C>TYX2 AND C>O;DRAWICON(加速K线,L*0.95,1);STICKLINE(加速K线,O,C,2,0),COLORRED;DRAWTEXT(加速K线,L*0.938,'↖加速K线点'),COLORBLUE;TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);启爆K线:=REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O;DRAWICON(启爆K线,L*0.94,7);STICKLINE(启爆K线,O,C,2,0),COLORRED;DRAWTEXT(启爆K线,L*0.928,'↖启爆K线'),COLORBLUE;{大阳突破:=HHV(C,13)/REF(HHV(C,13),1)>1.018;DRAWICON(大阳突破,L*0.93,25);DRAWTEXT(大阳突破,L*0.92,'↖大阳突破'),COLORYELLOW;多头排列:MA(CLOSE,8)>MA(CLOSE,13) AND MA(CLOSE,5)>MA(CLOSE,8) AND EMA(C,3)>REF(EMA(C,3),1);DRAWICON(多头排列,L*0.97,1);};HH0:=CONST(HHV(H,120))*1;LL0:=CONST(LLV(L,120))*1;MM0:=CONST((HH0+LL0)/2);HH1:=IF(CONST(C)<MM0,LL0-(HH0-LL0)*0.4,LL0-(HH0-LL0)*0.4),COLORRED;LL1:=LL0;HLMAX:=MAX(HH1,LL1);HLMIN:=MIN(HH1,LL1);HLMN1:=(HLMAX+HLMIN)/2;HLMN2:=(HLMAX-HLMIN);HLMN3:=HHV(V,250)/2;HLMN4:=HHV(V,250);VZ:=(V-HLMN3)*HLMN2/HLMN4+HLMN1;预测量:IF(CURRBARSCOUNT=1 AND PERIOD=5,vol*240/FROMOPEN,VOL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,(0-HLMN3)*HLMN2/HLMN4+HLMN1,(预测量-HLMN3)*HLMN2/HLMN4+HLMN1,2,-1),COLORLIGRAY;STICKLINE(C>=O,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,1,0),COLORRED;STICKLINE(C<O,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,1,0),COLORGREEN;MA5:=(MA(V,5)-HLMN3)*HLMN2/HLMN4+HLMN1,COLORFFFFFF;MA10:=(MA(V,10)-HLMN3)*HLMN2/HLMN4+HLMN1,COLOR00FFFF;W1:=C=HHV(C,20);W2:=BA rsl AST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));XG3:=(W4 AND COUNT(W4,5)=1);DRAWICON(XG3,L*0.93,13);STICKLINE(XG3,O,C,2,0),COLORYELLOW;DRAWTEXT(XG3,L*0.90,'↖枪挑小梁王'),COLORYELLOW;{蓄势待发}V0:=EMA(C,5);EMA10:=EMA(C,10);EMA20:=EMA(C,20);EMA30:=EMA(C,30);EMA60:=EMA(C,60);M1:=1000*EMA10/EMA60<=1015 AND 1000*EMA10/EMA60>=975;M2:=1000*EMA20/EMA60<=1020 AND 1000*EMA20/EMA60>=980;M3:=1000*EMA30/EMA60<=1015 AND 1000*EMA30/EMA60>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,EMA10);M5:=M1 AND M2 AND M3 AND CROSS(V0,EMA30);T1:=1000*EMA10/EMA30<=1010 AND 1000*EMA10/EMA30>=990;T2:=1000*EMA20/EMA30<=1010 AND 1000*EMA20/EMA30>=990;T3:=T1 AND T2 AND CROSS(V0,EMA10);T4:=T1 AND T2 AND CROSS(V0,EMA30);XG1:=(M4 OR M5 OR T3 OR T4);DRAWICON(XG1,L*0.98,1);STICKLINE(XG1,O,C,2,0),COLORMAGENTA;DRAWTEXT(XG1,L*0.97,'↖蓄势待发'),COLORMAGENTA;{两阳夹阴}XG2:=(C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2) AND C>REF(O,1) AND C>MA(C,5) AND MA(C,5)>MA(C,10));DRAWICON(XG2,L*0.98,1);STICKLINE(XG2,O,C,2,0),COLORMAGENTA;DRAWTEXT(XG2,L*0.97,'↖两阳夹阴'),COLORMAGENTA;A81:=REF(C,2)>REF(O,2)*1.03;{确定前天阳线实体大小}A82:=REF(C,1)<REF(O,1)*1.005 AND REF(C,1)<REF(C,2);{确定昨天为阴线收盘价低于前天收盘价}A83:=C>O*1.023 AND C>REF(C,1)*0.99;{确定今天阳线实体收盘价大于昨天阴线}两阳夹一阴:=(A81 AND A82 AND A83 );DRAWICON(两阳夹一阴,L*0.97,13);STICKLINE(两阳夹一阴,O,C,2,0),COLORYELLOW;DRAWTEXT(两阳夹一阴,L*0.96,'↖两阳夹一阴'),COLORYELLOW;AA:=MA(C,5)>MA(C,30) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30);BB:=C>O AND REF(C,1)<REF(O,1) AND REF(C,2)>REF(O,2);CC:=AMO>REF(AMO,1)*2 OR REF(AMO,2)>REF(AMO,3)*2AND REF(AMO,1)<REF(AMO,2) AND REF(AMO,1)<AMO;XG6:=(AA AND BB AND CC);DRAWICON(XG6,L*0.90,7);DRAWTEXT(XG6,L*0.89, '↖两阳一阴擒涨停 '),COLORYELLOW;两阳夹一阴1:=COUNT(C>O,3)=2 AND REF(C<O,1) AND C/REF(C,1)>=1.05;DRAWTEXT(两阳夹一阴1,L*0.89, '↖两阳夹一阴1');。