1、资金突破 资金突破 没未来函数 此公式尽量选取突然向下挖坑,股价在相对的低位,最好近期在小平台盘整一些时日了,然后突破横线时介入,短期收益丰厚!短线必备!!! 另外我将添加到主图的代码也贴出来了,复制后可随意添加到自己常用的主图公式中。作为平时分析股票的一种新思路。 {资金突破副图} 买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(买线,卖线); SEL:=CROSS(卖线,买线); STICKLINE(买线>=卖线,LOW,HIGH,0,0),COLORRED; STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLORRED; STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORFFF000; STICKLINE(买线<卖线,LOW,HIGH,0,0),COLORFFF000; Z1:=REF(HIGH,4)=HHV(HIGH,2*4+1); Y1:=FILTER(Z1,3); C1:=BACKSET(Y1,3+1); D1:=FILTER(C1,3); A2:=REF(LOW,3)=LLV(LOW,2*3+1); V2:=FILTER(A2,3); C2:=BACKSET(V2,3+1); D2:=FILTER(C2,3); E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2; E2:=(HIGH+LOW)/2; H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1; H2:=D1 AND NOT(D2 AND E1>=E2); L1:=D2 AND NOT(D1 AND E1=E2); X1:=REF(BARSLAST(H1),1)+1; DRAWTEXT_FIX(CURRBARSCOUNT=60,0.4,0.01,0,''),COLORGREEN; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1)); G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1); L2:=LD OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1; X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2)); G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1); UU2:=BACKSET(ISLASTBAR=1,BARSLAST(HD)+1); VV2:=UU2>REF(UU2,1); WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2); XX2:=WW2>REF(WW2,1); 突破线:REF(H,BARSLAST(VV2)); 持仓线:REF(H,BARSLAST(XX2)); TP1:=CROSS(C,突破线); TP2:=CROSS(C,持仓线); STICKLINE(TP1,H,L,0,0),COLORYELLOW; STICKLINE(TP1,C,O,3,0),COLORYELLOW; STICKLINE(TP1,C,O,3,0),COLORYELLOW; STICKLINE(TP1,C,O,1,0),COLORYELLOW; DRAWTEXT(TP1,LOW*0.98,'资金突破'),LINETHICK1,COLORYELLOW; STICKLINE(TP2,H,L,0,0),COLORYELLOW; STICKLINE(TP2,C,O,3,0),COLORYELLOW; STICKLINE(TP2,C,O,3,0),COLORYELLOW; STICKLINE(TP2,C,O,1,0),COLORYELLOW; DRAWTEXT(TP2,LOW*0.98,'资金突破'),LINETHICK1,COLORYELLOW; {资金突破主图} 买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(买线,卖线); SEL:=CROSS(卖线,买线); Z1:=REF(HIGH,4)=HHV(HIGH,2*4+1); Y1:=FILTER(Z1,3); C1:=BACKSET(Y1,3+1); D1:=FILTER(C1,3); A2:=REF(LOW,3)=LLV(LOW,2*3+1); V2:=FILTER(A2,3); C2:=BACKSET(V2,3+1); D2:=FILTER(C2,3); E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2; E2:=(HIGH+LOW)/2; H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1; H2:=D1 AND NOT(D2 AND E1>=E2); L1:=D2 AND NOT(D1 AND E1=E2); X1:=REF(BARSLAST(H1),1)+1; DRAWTEXT_FIX(CURRBARSCOUNT=60,0.4,0.01,0,''),COLORGREEN; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1)); G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1); L2:=LD OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1; X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2)); G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1); UU2:=BACKSET(ISLASTBAR=1,BARSLAST(HD)+1); VV2:=UU2>REF(UU2,1); WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2); XX2:=WW2>REF(WW2,1); 突破线:REF(H,BARSLAST(VV2)); 持仓线:REF(H,BARSLAST(XX2)); TP1:=CROSS(C,突破线); TP2:=CROSS(C,持仓线); DRAWTEXT(TP1,LOW*0.98,'资金突破'),LINETHICK1,COLORYELLOW; DRAWTEXT(TP2,LOW*0.98,'资金突破'),LINETHICK1,COLORYELLOW; 2、解套王 公式用法说明: 1.红色箭头为提升可以进入信号) 2.绿色箭头为最迟清仓信号) 3.根据大盘情况和自己看好的标的,有信号出现可以轻仓打先锋,如果第二天和第三天都不及预期,可以出局。 {解套王(附)} VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3); 主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW; STICKLINE(VAR5>REF(VAR5,1),0,-VAR5,3,-1),COLORFFFF00; 洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW; STICKLINE(VAR5<REF(VAR5,1),0,-VAR5,3,-1),COLORFF00FF; NMTM:=C-REF(C,1); ZLGJ:100*EMA(EMA(NMTM,5),5)/EMA(EMA(ABS(NMTM),5),5),COLORRED,LINETHICK1; MAZL:MA(ZLGJ,9),COLORFFCAC5,LINETHICK1,DOTLINE; STICKLINE(REF(ZLGJ,1)<=ZLGJ,ZLGJ,REF(ZLGJ,1),2,0),COLORRED; STICKLINE(REF(ZLGJ,1)>ZLGJ,ZLGJ,REF(ZLGJ,1),2,0),COLORGREEN; XG:(VAR5<REF(VAR5,1) AND REF(NOT(VAR5<REF(VAR5,1)),1)) AND (REF(ZLGJ,1)<=ZLGJ AND REF(NOT(REF(ZLGJ,1)<=ZLGJ),1)),COLORFF00FF,NODRAW; DRAWICON(XG,0,34); {解套王(主)} 回归斜率线A:=EMA(SLOPE(C,4)*20+C,42); 经典RL:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; 经典K:=SMA(经典RL,3,1); 经典D:=SMA(经典K,3,1); 经典J:=3*经典K-2*经典D; MAHL1:=100*((EMA((H+L)/2,3)-LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))) /(LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20)))); MAHL2:=IF(EMA(C,2)>回归斜率线A AND MAHL1>0,EMA(C,3),LLV(EMA((H+L)/2,5),30));{A} MAHL3:=IF(EMA(C,2)>回归斜率线A AND MAHL1>0,LLV(EMA((H+L)/2,5),30),EMA(C,5));{A} 回归斜率带:DRAWBAND(回归斜率线A,RGB(235,0,230),REF(回归斜率线A,2),RGB(0,104,154)); 上线:=SMA(C,6.5,1); 一号支撑线:SMA(C,14.5,1); 上线1:=SMA(C,3,1); 一号支撑线1:=SMA(C,8,1); 上线2:=SMA(C,3.5,1); DRAWTEXT(CROSS(一号支撑线1,上线1),H*1.08,'洗盘'),COLOR00FF00; BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,25))/4; UPR:=BBI+3*STD(BBI,13),LINETHICK2; DWN:=BBI-3*STD(BBI,13); 安全:=MA(CLOSE,55),LINETHICK2; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT( CROSS(82,RSI) AND CLOSE<上线1 , HIGH*1.04,'减仓') ,COLORFF9966,LINETHICK2; A7:=(2*C+H+L)/4; 操作:MA(A7,5),COLORBLUE,LINETHICK2; 操作1:=MA(A7,5)*1.03,LINETHICK2; 操作2:=MA(A7,5)*0.97,LINETHICK2; DRAWTEXT( CROSS(上线1,上线) AND 上线1>操作,LOW *0.92,'买进' ),COLORYELLOW; VAR1:LLV(A7,21); VAR2:HHV(A7,30); DRAWTEXT( CROSS(上线1,操作) AND 上线1<一号支撑线 AND 上线1<一号支撑线1 AND 上线1<上线 AND CLOSE>VAR1,LOW *0.98,'见底' ),COLORYELLOW; YCX:=操作>=REF(操作,1); H1:=MAX(MAX(上线,一号支撑线1),一号支撑线); L1:=MIN(MIN(上线,一号支撑线1),一号支撑线); DRAWTEXT(CROSS(上线1,一号支撑线1) AND 上线1>操作 ,LOW *0.98,'全仓' ),COLORYELLOW; SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7); SD:=EMA(0.667*REF(SK,1)+0.333*SK,5); M1:=1000*操作/一号支撑线<=1015 AND 1000*操作/一号支撑线>=975; M2:=1000*一号支撑线1/一号支撑线<=1020 AND 一号支撑线1/一号支撑线>=980; M3:=1000*上线/一号支撑线<=1015 AND 上线/一号支撑线>=985; DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 AND COUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>REF(CLOSE,1),1,0),LOW*0.94,'买进') ,COLORYELLOW; D:=MA(CLOSE,89)-MA(CLOSE,10)/3; DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.88,'抄底'),COLORBROWN; RSV:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100; K:=SMA(RSV,3,1); D1:=SMA(K,3,1); J:=3*K-2*D1; VAR3:=(2*CLOSE+HIGH+LOW)/3;{可将3该为4,信号少点} VAR4:=EMA(EMA(EMA(VAR3,4),4),4);{可将3该为4,信号少点} E:=(VAR4-REF(VAR4,1))/REF(VAR4,1)*100; F:=MA(E,3)+0.03; G:=MA(E,1); DRAWICON(CROSS(F,G) AND J>65,HIGH*1.02,15),COLORGREEN; DRAWICON(CROSS(G,F),LOW *0.9,9),COLORYELLOW; DRAWTEXT(CLOSE>OPEN AND H1<C AND O<L1 AND YCX AND CROSS(上线1,操作) AND LOW>VAR1 AND 上线1>一号支撑线 AND J<90,LOW *0.9,'主升' ),COLORRED; DRAWTEXT( CROSS(上线1,操作) AND M1 AND M2 AND M3,LOW *0.94,'买进' ),COLORYELLOW; DRAWTEXT(CLOSE>OPEN AND 上线>一号支撑线1 AND 一号支撑线1>一号支撑线 AND CLOSE>MA(CLOSE,一号支撑线) AND 操作>=REF(CLOSE,操作) AND CROSS(上线1,操作) AND LOW>VAR1 AND J<90,LOW *0.9,'主升' ),COLORRED; DRAWTEXT(CLOSE>OPEN AND 操作>上线 AND 上线>一号支撑线1 AND 一号支撑线1>一号支撑线 AND CROSS(上线1,操作) AND LOW>VAR1 AND J<90,LOW *0.86,'回踩买进' ),COLORRED; DRAWTEXT(CLOSE>OPEN AND CROSS(上线,一号支撑线) AND LOW>VAR1 AND J<90,LOW *0.86,'回踩买进' ),COLORRED; STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORRED; STICKLINE(C<O AND C>REF(C,1),C,O,3,0),COLORFFCC00; STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,3,0 ),COLOR000055;{红K}; STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.7,0 ),COLOR000077;{红K}; STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,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) ,H,L,3,1 ),COLOR999999; STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,0 ),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(C<REF(C,1) AND C>O,C,O,3,0),COLORFFCC00; STICKLINE(C<REF(C,1) AND C<O ,OPEN,CLOSE,3,0 ),COLOR990000; STICKLINE(C<REF(C,1) AND C<O ,OPEN,CLOSE,2.7,0 ),COLORCC0000; STICKLINE(CLOSE< REF(C,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400; STICKLINE(CLOSE< REF(C,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800; STICKLINE(CLOSE< REF(C,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00; STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,3.2,0),COLORBB00FF; STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,2.7,0),COLORFF33FF; STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,2.1,0), COLORFF66FF; STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,1.5,0),COLORFF99FF; STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,0.9,0),COLORFFBBFF; STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,0.3,0),COLORFFDDFF; {股民学院 www.58188.com 整理} 3、真实资金流入流出 {真实资金流入流出} 总额亿:AMOUNT/100000000,NODRAW; 买:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L)); 买%:=买/AMOUNT*100,COLORRED,NODRAW; 流入亿元:AMOUNT*买%/10000000000,COLORRED,NODRAW; 流出亿元:AMOUNT/100000000-流入亿元,COLORGREEN,NODRAW; 净流亿元:流入亿元-流出亿元,COLORCYAN,NODRAW; STICKLINE(C,0,AMOUNT/100000000,2,0),COLORGREEN; STICKLINE(买,0,流出亿元,2,0),COLORGREEN; STICKLINE(买,流出亿元,流入亿元+流出亿元,2,0),COLORRED; 怪离10_20:(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,NODRAW; 二十五离6.5:ABS((C-EXPMA(C,25))/EXPMA(C,25))*100,COLORYELLOW,NODRAW; 五日83:ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416,NODRAW; AAC:=REFDATE(C,1150615); AAO:=REFDATE(O,1150615); AAAA:=IF(AAC>AAO,AAC,AAO); 任意日期跌幅:(C-AAAA)/AAAA*100,NODRAW; 上市日期:CONST(DAYTODATE((DATETODAY(DATE)-FINANCE(42))))+19000000,NODRAW; SHORT:=12; LONG:=26; MID:=9; DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:=EMA(DIF,MID); MACD:=(DIF-DEA)*2; N:=10; WR1:=100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)); M1:=5; M2:=10; M3:=34; VOL1:=MA(VOL,M1); VOL2:=MA(VOL,M2); VOL3:=MA(VOL,M3); AA:=C>MA(C,5) AND C>MA(C,10) AND WR1<20 AND REF(WR1,1)>20 AND VOL1>VOL2 AND VOL2>VOL3 AND VOL>REF(VOL,1) AND MACD>0; |
上一篇:通达信精选下载组合公式6个