1、货筹,主力吸货AND吸筹VJ //货筹 VAR1:=REF(LOW,1); VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100; VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3); VAR4:=LLV(LOW,38); VAR5:=HHV(VAR3,38); VAR6:=IF(LLV(LOW,90),1,0); VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6; VAR8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; VAR9:=SMA(VAR8,13,8); 底线:0,COLOR00FFFF; 主力吸货:VAR7,colorwhite,NODRAW; 吸筹1:STICKLINE(VAR7,0,VAR7,6,0),COLOR0000FF; 吸筹2:STICKLINE(VAR7,0,VAR7,5,0),COLOR6600FF; 吸筹3:STICKLINE(VAR7,0,VAR7,4,0),COLORBB00FF; 吸筹4:STICKLINE(VAR7,0,VAR7,3,0),COLORFF00FF; 吸筹5:STICKLINE(VAR7,0,VAR7,2,0),COLORFF33FF; 吸筹6:STICKLINE(VAR7,0,VAR7,1,0),COLORFF66FF; 吸筹7:STICKLINE(VAR7,0,VAR7,0,0),COLORFF99FF; 风险:CEILING(SMA(VAR9,13,8)),colorgreen,NODRAW; 涨跌:MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2* SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),colorred; VAR1xx:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2xx:=SMA(ABS(LOW-VAR1xx),13,1)/SMA(MAX(LOW-VAR1xx,0),10,1); VAR3xx:=EMA(VAR2xx,10); VAR4xx:=LLV(LOW,33); VAR5xx:=EMA(IF(LOW<=VAR4xx,VAR3xx,0),3); VAR6xx:0; 主力进场:IF(VAR5xx>REF(VAR5xx,1),VAR5xx,0),colorred,NODRAW; STICKLINE(VAR5xx>REF(VAR5xx,1),0,VAR5xx,3,0 ),colorred; 洗盘:IF(VAR5xx<REF(VAR5xx,1),VAR5xx,0),colorgreen,NODRAW; STICKLINE(VAR5xx<REF(VAR5xx,1),0,VAR5xx,3,0),colorgreen; 2、魔法线 支撑线:MA(C,5),LINETHICK2,colorliblue; 操作线:MA(C,14),LINETHICK2,coloryellow; DUO线:MA(C,21),LINETHICK2,colorwhite; 卖信号:=REF(MA(C,14),1)<=REF(MA(C,5),1) AND MA(C,14)>MA(C,5); 买信号:=REF(MA(C,14),1)>=REF(MA(C,5),1) AND MA(C,14)<MA(C,5); DRAWICON(买信号,MA(C,5),1); DRAWICON(卖信号,MA(C,21),2); VAR1:=(2*CLOSE+HIGH+LOW)/4; VAR2:=LLV(LOW,34); VAR3:=HHV(HIGH,34); XX:=MA((VAR1-VAR2)/(VAR3-VAR2)*100,13); YY:=MA(0.667*REF(XX,1)+0.333*XX,2); 均价:=AMOUNT/V/100; ZT:=REF(C,1)*1.1-C<0.01 AND H=C; BA:STICKLINE(ZT,OPEN,CLOSE,0.1,0),coloryellow; STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,0.1,0),colorwhite; M:=7; VAR4:=MA(CLOSE,9); LUP:=MA(VAR4*1.14,5),colorblue; LDN:=MA(VAR4*0.86,5),colorblue; CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20); DD:=DMA(CLOSE,CC); LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),9,1)*100; STICKLINE(CROSS(RSI1,20),O,C,2.7,0),colorgreen; STICKLINE(CROSS(RSI1,20),H,L,0.1,0),colorgreen; STICKLINE(CROSS(80,RSI1),O,C,2.7,0),COLOR33CCCC; STICKLINE(CROSS(80,RSI1),H,L,0.1,0),COLOR33CCCC; DRAWTEXT(REF(CLOSE,1)/REF(CLOSE,2)>1.099 AND H/REF(CLOSE,1)>1.099 AND C/REF(CLOSE,1)<1.099,H*1.1,'!烂'); DRAWTEXT(REF(CLOSE,1)/REF(CLOSE,2)<1.099 AND H/REF(CLOSE,1)>1.099 AND C/REF(CLOSE,1)<1.099,H*1.1,'FK'); V6:=CLOSE/REF(CLOSE,2)>=1.04; V7:=BACKSET(V6,2); TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); DRAWTEXT(CROSS(MA(ZIG(3,10),3),ZIG(3,10)) ,H*1.08,'未来卖'),colorwhite; DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; DRAWTEXT(REF(MA(C,3),2)>REF(MA(C,3),3) AND REF(MA(C,3),1)>REF(MA(C,3),2) AND MA(C,3)<REF(MA(C,3),1) AND XX<YY,H,'卖'),colorgreen; DRAWTEXT( REF(MA(C,14),1)<REF(MA(C,14),2) AND H/REF(C,1)>1.058 AND MA(C,14)/REF(MA(C,14),1)>1.004 AND C/REF(C,25)<1.25 AND C/REF(C,25)>0.5 AND O*0.96<MA(C,14) AND REF(C,1)/REF(C,2)<1.04 ,H*1.02,'14线20'),coloryellow; DRAWTEXT( REF(MA(C,14),1)<REF(MA(C,14),2) AND WINNER(CLOSE)*100>60 AND H/REF(C,1)>1.058 AND MA(C,14)/REF(MA(C,14),1)>1.004 AND C/REF(C,25)<1.25 AND C/REF(C,25)>0.5 AND O*0.96<MA(C,14) AND REF(C,1)/REF(C,2)<1.04 ,H*1.02,' 度'),colorwhite; DRAWTEXT(CCI>100 AND REF(CCI,1)<=100 AND H/REF(C,1)>1.058 AND C/REF(C,25)<1.25 AND MA(C,14)/REF(MA(C,14),1)>1.006 AND C/REF(C,25)>0.5 AND O*0.96<MA(C,14) AND REF(C,1)/REF(C,2)<1.04,L*0.92,'14线30CI'),colormagenta; DRAWTEXT(CCI>100 AND REF(CCI,1)<=100 AND H/REF(C,1)>1.058 AND C/REF(C,25)<1.25 AND MA(C,14)/REF(MA(C,14),1)>1.006 AND C/REF(C,25)>0.5 AND O*0.96<MA(C,14) AND WINNER(CLOSE)*100>80 AND REF(C,1)/REF(C,2)<1.04,L*0.92,' 度'),colorwhite; DRAWTEXT(CCI>100 AND REF(CCI,1)<=100 AND H/REF(C,1)>1.058 AND C/REF(C,25)<1.25 AND MA(C,14)/REF(MA(C,14),1)>1.006 AND C/REF(C,25)>0.5 AND O*0.96<MA(C,14) AND WINNER(CLOSE)*100>80 AND REF(C,1)/REF(C,2)<1.04 AND C/REF(C,1)>1.092,L*0.9,' $$$'),colorred; DRAWTEXT( O/REF(C,1)>1.025 AND O/REF(C,1)<1.065 AND O*0.95<MA(C,14) AND MA(C,14)/REF(MA(C,14),1)>1.00 AND MA(C,5)/REF(MA(C,5),1)>1.006 AND REF(C,1)/REF(C,2)<1.04 AND C/REF(C,25)<1.25 AND C/REF(C,25)>0.5,H*0.8,'开买'),colormagenta; DRAWTEXT( CCI>60 AND O/REF(C,1)>1.025 AND O/REF(C,1)<1.065 AND O*0.95<MA(C,14) AND MA(C,14)/REF(MA(C,14),1)>1.00 AND MA(C,5)/REF(MA(C,5),1)>1.006 AND REF(C,1)/REF(C,2)<1.04 AND C/REF(C,25)<1.25 AND C/REF(C,25)>0.5,H*0.8,' CCI'),colorwhite; DRAWTEXT(DIF>DEA AND REF(DIF,1)<REF(DEA,1) AND MA(C,14)/REF(MA(C,14),1)>1.003 AND CCI>100 AND REF(CCI,1)<100 AND H/REF(C,1)>1.058 AND O*0.96<MA(C,14) AND REF(C,1)/REF(C,2)<1.04 ,L*0.96,'买CCMA'),coloryellow; DRAWTEXT(DIF>DEA AND REF(DIF,1)<REF(DEA,1) AND MA(C,14)/REF(MA(C,14),1)>1.003 AND CCI>100 AND REF(CCI,1)<100 AND WINNER(CLOSE)*100>80 AND H/REF(C,1)>1.058 AND O*0.96<MA(C,14) AND REF(C,1)/REF(C,2)<1.04 ,L*0.96,' ##'),colorwhite; DRAWTEXT(CCI>100 AND REF(CCI,1)<100 AND H/REF(C,1)>1.058 AND MA(C,14)/REF(MA(C,14),1)>1.01 AND O*0.96<MA(C,14) AND C/REF(C,25)<1.25 AND C/REF(C,25)>0.5 AND REF(C,1)/REF(C,2)<1.04 ,L*0.9,'14线50'),coloryellow; DRAWTEXT(CCI>100 AND REF(CCI,1)<100 AND H/REF(C,1)>1.058 AND MA(C,14)/REF(MA(C,14),1)>1.01 AND O*0.96<MA(C,14) AND WINNER(CLOSE)*100>60 AND C/REF(C,25)<1.25 AND C/REF(C,25)>0.5 AND REF(C,1)/REF(C,2)<1.04,L*0.9,' 度'),colorwhite; T2:=COUNT(C/REF(C,1)>1.0992,5)>1; DRAWTEXT(CCI>100 AND REF(CCI,1)<100 AND MA(C,5)/REF(MA(C,5),1)>1.006 AND H/REF(C,1)>1.058 AND MA(C,5)>MA(C,14) AND REF(MA(C,5),1)<REF(MA(C,14),1) AND O*0.96<MA(C,14) AND C/REF(C,25)<1.25 AND C/REF(C,25)>0.5 AND REF(C,1)/REF(C,2)<1.04,L*0.88,'5穿14CI'),colormagenta; DRAWTEXT(CCI>100 AND REF(CCI,1)<100 AND MA(C,5)/REF(MA(C,5),1)>1.006 AND H/REF(C,1)>1.058 AND MA(C,5)>MA(C,14) AND REF(MA(C,5),1)<REF(MA(C,14),1) AND O*0.96<MA(C,14) AND C/REF(C,25)<1.25 AND C/REF(C,25)>0.5 AND REF(C,1)/REF(C,2)<1.04 AND WINNER(CLOSE)*100>60 ,L*0.88,' %%'),colorwhite; DRAWTEXT(C/MA(C,14)>1.15 AND C/REF(C,1)<1.091,H,'卖了'),colorwhite; DRAWTEXT(CCI>90 AND MA(C,5)/REF(MA(C,5),1)>1.006 AND H/REF(C,1)>1.035 AND WINNER(CLOSE)*100>60 AND O*0.96<MA(C,14) AND C/REF(C,25)<1.25 AND C/REF(C,25)>0.5 AND REF(C,1)/REF(C,2)<1.04,L*0.8,'5均'),colorred; DRAWTEXT(EXIST((MA(C,5)>MA(C,14) AND REF(MA(C,5),1)<REF(MA(C,14),1)),3) AND MA(C,5)>MA(C,21) AND REF(MA(C,5),1)<REF(MA(C,21),1) AND C>MA(5,1) AND 0/REF(C,1)<1.065 AND CCI>100 AND REF(CCI,1)<100 AND H/REF(C,1)>1.058 AND REF(C,1)/REF(C,2)<1.04,H*1.08,'三角均线'),colorred; DRAWTEXT(EXIST((MA(C,5)>MA(C,14) AND REF(MA(C,5),1)<REF(MA(C,14),1)),3) AND MA(C,5)>MA(C,21) AND REF(MA(C,5),1)<REF(MA(C,21),1) AND C>MA(5,1) AND 0/REF(C,1)<1.065 AND CCI>100 AND REF(CCI,1)<100 AND H/REF(C,1)>1.058 AND WINNER(CLOSE)*100>60 AND REF(C,1)/REF(C,2)<1.04,H*1.08,' ¥¥¥'),colorwhite; 3、涨停MSD ( 股 民 学 院 : http://www.58188.com ) M:=60; Z:=3; VAR21:=LLV(LOW,M); VAR22:=HHV(HIGH,M); SD:=100*(CLOSE-VAR21)/(VAR22-VAR21); MSD:SMA(SD,Z,1),colorred,LINETHICK4; 金:IF(MSD>REF(MSD,1),MSD,DRAWNULL),colorred; 空:IF(MSD<REF(MSD,1),MSD,DRAWNULL),colorgreen,LINETHICK4; 中MSD:SMA(SD,Z+5,1),colorlired,LINETHICK2; 进:IF(中MSD>REF(中MSD,1),中MSD,DRAWNULL),colorlired; 退:IF(中MSD<REF(中MSD,1),中MSD,DRAWNULL),colorligreen,LINETHICK2; DRAWTEXT(CROSS(MSD,中MSD) AND MSD<50,MSD,'★2'),colorred; DRAWTEXT(CROSS(中MSD,MSD) AND MSD>50,MSD,'★4'),colorwhite; DRAWBAND(MSD,RGB(155,50,50),中MSD,RGB(0,100,50)); {DRAWTEXT(CURRBARSCOUNT=1,MSD,''),colorred;} VAR23:=LLV(INDEXL,M); VAR24:=HHV(INDEXH,M); DP:=100*(INDEXC-VAR23)/(VAR24-VAR23); 大MSD:SMA(DP,Z,1),colormagenta,LINETHICK3; DRAWBAND(MSD,RGB(139,28,98),大MSD,RGB(0,100,150)); 多:IF(大MSD>REF(大MSD,1),大MSD,DRAWNULL),colormagenta,LINETHICK3; 少:IF(大MSD<REF(大MSD,1),大MSD,DRAWNULL),colorgreen,LINETHICK3; 中大MSD:=SMA(DP,Z+5,1),colorlimagenta,LINETHICK1; 左:=IF(中大MSD>REF(中大MSD,1),中大MSD,DRAWNULL),colorlimagenta; 右:=IF(中大MSD<REF(中大MSD,1),中大MSD,DRAWNULL),colorligreen,LINETHICK1; {DRAWTEXT(CURRBARSCOUNT=1,大MSD,''),colorgreen;} VAR25:=LLV(INDEXC,M); VAR26:=HHV(INDEXC,M); HY:=100*(INDEXC-VAR25)/(VAR26-VAR25); 弱:20,LINETHICK1,colorred,LINETHICK2; 追:50,DOTLINE,colorgreen,LINETHICK1; 强:80,LINETHICK1,colorred; 反:90,DOTLINE,coloryellow; 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); VAR6:0; 吸:IF(VAR5>REF(VAR5,1),VAR5,0),colormagenta,NODRAW; STICKLINE(VAR5>REF(VAR5,1),0,VAR5/3,3,0 ),colormagenta; 洗:IF(VAR5<REF(VAR5,1),VAR5,0),colorgreen,NODRAW; STICKLINE(VAR5<REF(VAR5,1),0,VAR5/3,3,0),colorgreen; VAR10:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR11:=SMA(ABS(HIGH-VAR10),13,1)/SMA(MAX(HIGH-VAR10,0),10,1); VAR12:=EMA(VAR11,10); VAR13:=HHV(HIGH,33); VAR14:=EMA(IF(HIGH>=VAR13,VAR12,0),3); VAR15:0; 诱:IF(VAR14>REF(VAR14,1),VAR14,0),colormagenta,NODRAW; STICKLINE(VAR14>REF(VAR14,1),100,100-VAR14*15,3,0 ),colormagenta; 出:IF(VAR14<REF(VAR14,1),VAR14,0),colorgreen,NODRAW; STICKLINE(VAR14<REF(VAR14,1),100,100-VAR14*15,3,0),colorgreen; 天:100,DOTLINE,colorgreen; VAR7:=1; VAR8:=LLV(LOW,10); VAR9:=HHV(HIGH,25); N1:=5; N4:=34; CQ:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4)); SAT:=(AMOUNT/C)/(HHV(AMOUNT,N4)/HHV(C,N4)); 饱和度:=IF(SAT>1,1,SAT)*100; W1:=C=HHV(C,20); W2:=BARSLAST(W1); W3:=IF(W2>0,REF(C,W2),REF(C,W2)); W4:=CROSS(C,REF(W3,1)); N:=60; K:=3; VAR17:=LLV(LOW,N); VAR18:=HHV(HIGH,N); SD1:=100*(CLOSE-VAR17)/(VAR18-VAR17); MSD1:=SMA(SD1,K,1),colorred,LINETHICK4; STICKLINE(饱和度>=97 AND MSD1>50 AND CQ>90,100,105,5,0 ),colorgreen; J:=4; X:=3; ZF:=(C-REF(C,X))/REF(C,X)*100; MZF:=SMA(ZF,J,1),colorred,LINETHICK2; 上:=IF(MZF>REF(MZF,1),MZF,DRAWNULL),colorred,LINETHICK2; 下:=IF(MZF<REF(MZF,1),MZF,DRAWNULL),colorgreen,LINETHICK2; DPZF:=(INDEXC-REF(INDEXC,X))/REF(INDEXC,X)*100; MDPZF:=SMA(DPZF,J,1),colorred,LINETHICK3; 增:=IF(MDPZF>REF(MDPZF,1),MDPZF,DRAWNULL),colorred,LINETHICK3; 减:=IF(MDPZF<REF(MDPZF,1),MDPZF,DRAWNULL),colorgreen,LINETHICK3; 贝:4*SMA(MZF-MDPZF,J,1),colorlimagenta,LINETHICK2; Q:IF(贝>REF(贝,1),贝,DRAWNULL),colorlimagenta,LINETHICK4; R:IF(贝<REF(贝,1),贝,DRAWNULL),colorgreen,LINETHICK4; 第一法则过滤:0,DOTLINE,colorgreen,LINETHICK1; DRAWBAND(贝,RGB(155,50,50),第一法则过滤,RGB(0,100,50)); |