2、{抄底高手}
M:=30;N:=27;D:=42; VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M; VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N; VAR3:=VAR1 AND VAR2; VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 AND (CLOSE OPEN OR CLOSE OPEN) {AND (OPEN -REF(CLOSE,1))/REF(CLOSE,1) -0.07} AND (REF(OPEN,1) REF(CLOSE,1) OR REF(OPEN,1) REF(CLOSE,1)) AND (REF(OPEN,2) REF(CLOSE,2) OR REF(OPEN,2) REF(CLOSE,2)) AND (REF(OPEN,3) REF(CLOSE,3) OR REF (OPEN,3) REF(CLOSE,3)) AND (REF(OPEN,4) REF(CLOSE,4) OR REF(OPEN,4) REF(CLOSE,4)) AND (REF (OPEN,5) REF(CLOSE,5) OR REF(OPEN,5) REF(CLOSE,5)); VAR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8/CAPITAL); VAR6:=(CLOSE-VAR5)/VAR5*100; VAR7:=REF(VAR6,1)+D 0 AND VAR6 REF(VAR6,1) AND REF(VAR6,1) REF(VAR6,2) AND VAR6-REF(VAR6,1) 1.8 AND (HIGH LOW) AND (REF(HIGH,1) REF(LOW,1)) AND (REF(HIGH,2) REF(LOW,2)) AND (REF(HIGH,3) REF(LOW,3)) AND (REF(HIGH,4) REF(LOW,4)) AND (REF(HIGH,5) REF(LOW,5)); 潜龙:VAR1; 铰龙:VAR2; 亢龙:VAR6+D; 飞龙:IF(VAR4 OR VAR7,40,0);3、{抄底}
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1); 线:3*SMA(RSV2,5,1)-2*SMA(SMA(RSV2,5,1),3,1),LINETHICK2,COLORFF84FF; K:SMA(RSV2,3,1),LINETHICK2,COLORWHITE; D:SMA(K,3,1),LINETHICK2,COLORF408F4; {见顶信号:100,COLORCCFF00;} 买点准备:IF(趋势线 =10,30,0),LINETHICK2,COLORYELLOW; 出点准备: IF(CROSS(J2,J1) AND J2 85,70,100),LINETHICK2,COLOR00FF00; 强弱界线:49,POINTDOT,LINETHICK3,COLOR99AACC; STICKLINE(趋势线 88,100,趋势线,4,1),COLORGREEN; STICKLINE(趋势线 =10,0,趋势线,4,1),COLORYELLOW; STICKLINE(COUNT(趋势线 REF(趋势线,1) AND 趋势线 10,2)=2,0,20,4,0),COLORRED; STICKLINE(CROSS(J2,J1) AND J2 85,100,80,4,0),COLORGREEN; DRAWICON(CROSS(趋势线,49),趋势线,1),COLORRED; DRAWICON(FILTER(CROSS(D,K) AND D 81,10),D*1.05,2); DRAWTEXT(CROSS(趋势线,49),47,'转强'),COLORRED; DRAWTEXT(CROSS(49,趋势线),52,'转弱'),COLORGREEN;
4、{准备抄底}
N:=30; VAR1:=HHV(HIGH,9)-LLV(LOW,9); VAR2:=HHV(HIGH,9)-CLOSE; VAR3:=CLOSE-LLV(LOW,9); VAR4:=VAR2/VAR1*100-70; VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=SMA(VAR3/VAR1*100,3,1); VAR8:=LLV(LOW,34); VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1); VARA:=IF(VAR9 100,VAR9-100,0); VARB:=HHV(HIGH,34); AA:= VARA*2; BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13); VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2); CC:= SMA(VAR5,20,1); VARD:=SMA(AA,2,1)-AA; VARE:=EMA(0.667*REF(BB,1)+0.333*BB,2)-BB; VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70; VAR2A:=SMA(VAR1A,9,1)+100; VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR4A:=SMA(VAR3A,3,1); VAR5A:=SMA(VAR4A,3,1)+100; VAR6A:=VAR5A-VAR2A; 准备抄底: IF(VAR6A N,VAR6A-N,0),COLORFFFFFF; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; E:=CROSS(83,RSI); STICKLINE( E,E,55,1,0),COLOR00FFFF; DRAWTEXT(E,50,' '),COLORFF9966; STICKLINE(REF(准备抄底,1) 准备抄底,准备抄底,REF(准备抄底,1),5,0),COLORFF00FF; STICKLINE(REF(准备抄底,1) 准备抄底,准备抄底,REF(准备抄底,1),5,0),COLORFFCC66;5、{千载难逢}
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100; :SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00; 中线:SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED; RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; :SMA(RSV3,5,1),COLORYELLOW; 看底:STICKLINE(中线 15,中线,15,6,0),COLORF00FF0; :STICKLINE(短线 20 AND 中线 20 AND 长线 20,MAX(长线,MAX(短线,中线)),20,8,0),COLOR00CCFF; 看顶:STICKLINE(中线 80,80,中线,6,0),COLORFFF000; DRAWICON(CROSS(长线,15),中线,1); DRAWTEXT(LONGCROSS(中线,20,15),20,'追涨'); DRAWTEXT(CROSS(短线,长线)AND 长线 18 AND 长线 REF(长线,1)OR CROSS(长线,5),20,'千载难逢'); 粘合星:DRAWTEXT(ABS(中线-长线) 2 AND 中线 REF(中线,1),中线,'*'); 中线2:=-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40)); 底:DRAWTEXT(CROSS(中线2,-90) AND (长线 中线 AND 长线 REF(长线,1)OR 短线 20 AND 中线 20 AND 长线 20),长线,'底'),COLORFF00FF; IF(COUNT(CROSS(中线2,-90),12)=3,30,5); IF(COUNT(CROSS(-5,中线2),12)=3 OR COUNT(CROSS(-15,中线2),6)=3,70,100);6、{趋势抄底}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); XG1:=VOL HHV(VOL,120)/10 AND CROSS(DIF,DEA) AND VOL MA(VOL,60)/1.9; XG2:=HHV(C,120)/LLV(C,120) 趋势线:3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1),3,1), COLORYELLOW; 见底信号: 10, COLOR983433; 买点准备: IF(趋势线 =10,20,0), COLORRED; 买入时间: IF(CROSS(趋势线,见底信号),30,0), COLOR008833; 买进关注:IF(XG1 AND XG2,80,0),COLORSTICK,LINETHICK5; STICKLINE(XG1 AND XG2,0,60,2,0),COLORMAGENTA;7、{稳赢}
VAR2:=REF(LOW,1); VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100; VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3); VAR5:=LLV(LOW,30); VAR6:=HHV(VAR4,30); VAR7:=IF(MA(CLOSE,58),1,0); VAR8:=EMA(IF(LOW =VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; VAR9:=IF(VAR8 100,100,VAR8); STICKLINE(VAR9 -150,0,VAR9,3,0), , COLORFF00FF; 底部吸筹指标: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00; STICKLINE(CROSS(底部吸筹指标,-24),100,0,6,0), , COLORFFFFFF; 先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , COLORFF00FF; 可能放量拉升: IF(CROSS(底部吸筹指标,-24),1,0), , COLORFFFFFF; 短线获利:STICKLINE(REF("KDJ.J",1) 0 AND "KDJ.J" 0,60,0,2,0),COLOR0000FF; VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARK2:=REVERSE(VARK1); VARK3:=SMA(VARK1,3,1);王:=SMA(VARK3,3,1), , COLORRED,LINETHICK2; 波段鬼:=SMA(波段王,2.5,1),COLORYELLOW,LINETHICK2; 趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2 *SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), , COLORFF6666,LINETHICK2;RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1),COLORSTICK; 出手就赢:IF(DK1 7 AND REF(DK1,1) 0 AND (DK1-REF(DK1,1)) 9,50,0), STICK, COLORYELLOW;DRAWICON(出手就赢 0,50 ,1); 买点准备:IF(趋势线 =10,0,10), COLORFF9933,LINETHICK3; STICKLINE( CROSS(趋势线,10),0,73,6,0), COLOR3366FF,; DRAWTEXT(IF(CROSS(趋势线,10),100,0),68,'抄底'),COLORWHITE ; DRAWTEXT(IF(CROSS(10,趋势线),1,0), 10,'$备钱'),COLOR33FFCC,; DRAWTEXT(REF("KDJ.J",1) 0 AND "KDJ.J" 0,50,'短买'),,,,COLORRED ,; DRAWTEXT(CROSS(底部吸筹指标,-24),80,'抄底'),COLORWHITE ,;8、{量价抄底}
B:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2; B1:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORGREEN,LINETHICK2; A:EMA(100*(V-LLV(V,34))/(HHV(V,34)-LLV(V,34)),3); A1:EMA(100*(INDEXV-LLV(INDEXV,34))/(HHV(INDEXV,34)-LLV(INDEXV,34)),3); 20,POINTDOT,COLORF00FF0; 50,POINTDOT,COLORGREEN; 80,POINTDOT,COLORWHITE;9、{魔鬼}
{VAR1:=MA(WINNER(CLOSE),1)*100; 底1: CROSS(VAR1,2.5)*55; } VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; VAR3:=SMA(SMA(VAR2,3,1),3,1); VAR4:=SMA(VAR3,3,1); VAR5:=3*VAR3-2*VAR4; 底2: IF(VAR3 20 AND VAR4 20 AND CROSS(VAR5,VAR3) AND CROSS(VAR3,VAR4),70,0),STICK,,LINETHICK5; VAR6:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); VAR7:=10; 警戒1: IF(VAR6 =10,15,0),LINETHICK2; 底3: IF(CROSS(VAR6,VAR7),40,0),STICK,LINETHICK5; VAR8:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80; VAR9:=SMA(VAR8,7,1); VARA:=SMA(VAR9,5,1); 底4: IF(CROSS(VAR9,VARA) AND VAR9 20,50,0),STICK,LINETHICK2; VARB:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VARC:=SMA(VARB,5,1); VARD:=SMA(VARC,5,1); 底5: IF(CROSS(VARC,VARD) AND VARC 20,60,0),STICK,LINETHICK2; VARE:=1/WINNER(CLOSE); VARF:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VAR10:=100-ABS(VARF); VAR11:=IF(VARE 5,IF(VARE 100,VARE,VAR10-10),0); VAR12:=HHV(HIGH,25); VAR13:=LLV(LOW,25); VAR14:=EMA((CLOSE-VAR13)/(VAR12-VAR13)*100,5); 警戒2: IF(VAR14 7,30,0),STICK,LINETHICK1; 底6: IF(CROSS(VAR14,VAR11),80,0),STICK,LINETHICK2,COLORRED; 底7: (CLOSE-MA(CLOSE,58))/MA(CLOSE,58) -0.225,STICK;10、{薛斯抄底}
AHC1:=CLOSE*VOL; AHC2:=EMA((EXPMA(AHC1,3)/EXPMA(VOL,3)+EXPMA(AHC1,6)/EXPMA(VOL,6)+EXPMA(AHC1,12)/EXPMA(VOL,12)+EXPMA(AHC1,24)/EXPMA(VOL,24))/4,13); 内上:=1.06*AHC2; 内下:=AHC2*0.94; AHC3:=EXPMA(CLOSE,9); 外上:=EXPMA(AHC3*1.14,5); 外下:=EXPMA(AHC3*0.86,5); 买:=REF(O,1) 内下 AND REF(C,1) 内下 AND REF(C,1) REF(C,2) AND C 抄底:=O 内下 AND C 千载难逢:=O 内下 AND C11、{抄底布林主图}
STICKLINE(C =O ,O ,C ,5 ,0 ),COLORRED; STICKLINE(O C ,C ,O ,5 ,0 ),COLORBBFF00; STICKLINE(C =O ,C ,H ,0.5 ,0 ),COLORRED; STICKLINE(C =O ,O ,L ,0.5 ,0 ),COLORRED; STICKLINE(O C ,C ,L ,0.5 ,0 ),COLORBBFF00; STICKLINE(O C ,O ,H ,0.5 ,0 ),COLORBBFF00; MM1:EMA(C,20),COLORYELLOW; MM2:EMA(MM1*1.05,3),COLORFF00FF; MM3:EMA(MM1*0.8,3),COLOR00FF00; MM4:EMA(MM1*1.1,3),COLORWHITE; MM5:EMA(MM1*0.75,3),COLORFFFF00; MM6:EMA(MM1*0.85,3),COLORFFCCCC; 底部支撑:LLV(MA(H,5),20),COLOR0076BF,LINETHICK2; VAR11:=(2*C+O+H+L)/5; VAR12:=VOL; M8:=SUM(VAR11*VAR12,8)/SUM(VAR12,8),COLORFFCCCC; :=LLV(M8, 8),COLOR00FF00,LINETHICK1; DRAWTEXT(散户=REF(散户,1),散户,' ┬ '),COLORFF9900;12、{尖底}
持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA,LINETHICK2; 主力集中度:WINNER(ADVANCE)*100,COLORRED,LINETHICK2; 散筹筹码集中度:(WINNER(ADVANCE*1.1)-WINNER(ADVANCE*0.9))*100,COLORGREEN,LINETHICK2; 强弱分界:80,COLORYELLOW; 趋势线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); XIAO1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); XIAO2:=SMA(ABS(LOW-XIAO1),13,1)/SMA(MAX(LOW-XIAO1,0),10,1); XIAO3:=EMA(XIAO2,10); XIAO4:=LLV(LOW,33); XIAO5:=EMA(IF(LOW =XIAO4,XIAO3,0),3); TDXSTEP110:STICKLINE(XIAO5 REF(XIAO5,1),0,XIAO5,3,0),COLOR000055; TDXSTEP111:STICKLINE(XIAO5 REF(XIAO5,1),0,XIAO5,2.6,0),COLOR000077; TDXSTEP112:STICKLINE(XIAO5 REF(XIAO5,1),0,XIAO5,2.1,0),COLOR000099; TDXSTEP113:STICKLINE(XIAO5 REF(XIAO5,1),0,XIAO5,1.5,0),COLOR0000BB; TDXSTEP114:STICKLINE(XIAO5 REF(XIAO5,1),0,XIAO5,0.9,0),COLOR0000DD; TDXSTEP115:STICKLINE(XIAO5 REF(XIAO5,1),0,XIAO5,0.3,0),COLORRED; TDXSTEP116:STICKLINE(XIAO5 REF(XIAO5,1),0,XIAO5,3,0),COLOR005500; TDXSTEP117:STICKLINE(XIAO5 REF(XIAO5,1),0,XIAO5,2.6,0),COLOR007700; TDXSTEP118:STICKLINE(XIAO5 REF(XIAO5,1),0,XIAO5,2.1,0),COLOR009900; TDXSTEP119:STICKLINE(XIAO5 REF(XIAO5,1),0,XIAO5,1.5,0),COLOR00BB00; TDXSTEP120:STICKLINE(XIAO5 REF(XIAO5,1),0,XIAO5,0.9,0),COLOR00DD00; TDXSTEP121:STICKLINE(XIAO5 REF(XIAO5,1),0,XIAO5,0.3,0),COLORGREEN; 进场:IF(XIAO5 REF(XIAO5,1),XIAO5,0),NODRAW,COLORRED; 私募洗盘:IF(XIAO5 REF(XIAO5,1),XIAO5,0),NODRAW,COLORGREEN; B1:=(HHV(VOLINSTK,9)-ADVANCE)/(HHV(VOLINSTK,9)-LLV(LOW,9))*100-70; B2:=SMA(B1,9,1)+100; B3:=(ADVANCE-LLV(QHJSJ,9))/(HHV(VOLINSTK,9)-LLV(QHJSJ,9))*100; B4:=SMA(B3,3,1); B5:=SMA(B4,3,1)+100; B6:=B5-B2; 观望期:=IF(B6 60,B6-60,0); T1:=STICKLINE(REF(观望期,1) 观望期,观望期,REF(观望期,1),9,0); T2:=STICKLINE(REF(观望期,1) 观望期,观望期,REF(观望期,1),9,0); TAI1:=MA(ADVANCE,1)/MA(REF(ADVANCE,13),8)*100; TAI2:=MA(FORCAST(TAI1,21),3); TAI3:=REF(TAI1,1); TAI4:=REF(TAI1,2); 通达信1:=LLV(LOW,8); 通达信2:=HHV(HIGH,13); 股市黑客:=EMA((CLOSE-通达信1)/(通达信2-通达信1)*100,5); 升跌临界:=EMA(0.667*REF(股市黑客,1)+0.333*股市黑客,2); VAR1:=CLOSE REF(CLOSE,1)ANDCLOSE REF(CLOSE,2); VARD:=CLOSE REF(CLOSE,1)ANDCLOSE REF(CLOSE,2); VARE:=REF(VARD,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VARF:=REF(VARE,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR10:=REF(VARF,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR11:=REF(VAR10,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR12:=REF(VAR11,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR13:=REF(VAR12,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR14:=REF(VAR13,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR15:=REF(VAR14,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR16:=REF(VAR15,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR17:=REF(VAR16,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR18:=REF(VAR17,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2); VAR19:=REF(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16ORVAR17ORVAR18,1)ANDVAR1; DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26); DEA:=EMA(DIFF,9); MACD:=(DIFF-DEA)*2; A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); A2:=BARSLAST(REF(CROSS(DEA,DIFF),1)); 底:=REF(CLOSE,A1+1) CLOSEANDDIFF REF(DIFF,A1+1)ANDCROSS(DIFF,DEA); 顶背离:=REF(CLOSE,A2+1) CLOSEANDREF(DIFF,A2+1) DIFFANDCROSS(DEA,DIFF); NOTEXT①:IF(REF((MA(ADVANCE,5)-ADVANCE)/ADVANCE 0.04AND(MA(ADVANCE,10)-MA(ADVANCE,5))/MA(ADVANCE,5) 0.04AND观望期=0ANDADVANCE REF(ADVANCE,1),1),44,0),COLORCYAN,LINETHICK3; NOTEXT②:IF(REF(KDJ.J,1) 0ANDKDJ.J 0ANDTAI1 =TAI2ANDTAI3 TAI4,34,0),COLORRED,LINETHICK3; NOTEXT③:IF(REF(股市黑客,1) =13ANDCROSS(股市黑客,升跌临界)ANDREF(MA(ADVANCE,55),1) REF(MA(ADVANCE,55),2)AND(VAR19ORREF(VAR19,1)),23,0),COLORBLUE; NOTEXT④:IF(底背离,57,0),COLORBROWN,LINETHICK3;13、{准确抄底}
顶部:100; 底部:-30; VARTIME:=IF(YEAR =2050ANDMONTH =11ANDDAY =07,0,1); VARDTIME:=IF(YEAR=2050ANDMONTH=11ANDDAY=06,1,0); QW1:=(HIGH+LOW+CLOSE*2)/4*VARTIME; QW3:=EMA(QW1,10)*VARTIME; QW4:=STD(QW1,10)*VARTIME; QW5:=(QW1-QW3)*100/QW4*VARTIME; QW6:=EMA(QW5,5)*VARTIME; RK7:=EMA(QW6,10)+100/2-5*VARTIME; STICKLINE(RK7 REF(RK7,1)*VARTIME,RK7,MA(RK7,3),0,0),COLOR007700; STICKLINE(RK7 REF(RK7,1)*VARTIME,RK7,MA(RK7,3),8,0),COLOR008800; STICKLINE(RK7 REF(RK7,1)*VARTIME,RK7,MA(RK7,3),7,0),COLOR009900; STICKLINE(RK7 REF(RK7,1)*VARTIME,RK7,MA(RK7,3),6,0),COLOR00AA00; STICKLINE(RK7 REF(RK7,1)*VARTIME,RK7,MA(RK7,3),5,0),COLOR00BB00; STICKLINE(RK7 REF(RK7,1)*VARTIME,RK7,MA(RK7,3),4,0),COLOR00CC00; STICKLINE(RK7 REF(RK7,1)*VARTIME,RK7,MA(RK7,3),3,0),COLOR00DD00; STICKLINE(RK7 REF(RK7,1)*VARTIME,RK7,MA(RK7,3),2,0),COLOR00EE00; STICKLINE(RK7 REF(RK7,1)*VARTIME,RK7,MA(RK7,3),1,0),COLOR00FF00; STICKLINE(RK7 REF(RK7,1),RK7,EMA(RK7,3),0,0),COLOR00BBFF; STICKLINE(RK7 REF(RK7,1),RK7,EMA(RK7,3),8,0),COLOR0011FF; STICKLINE(RK7 REF(RK7,1),RK7,EMA(RK7,3),7,0),COLOR0022FF; STICKLINE(RK7 REF(RK7,1),RK7,EMA(RK7,3),6,0),COLOR0044FF; STICKLINE(RK7 REF(RK7,1),RK7,EMA(RK7,3),5,0),COLOR0066FF; STICKLINE(RK7 REF(RK7,1),RK7,EMA(RK7,3),4,0),COLOR0088FF; STICKLINE(RK7 REF(RK7,1),RK7,EMA(RK7,3),3,0),COLOR0099FF; STICKLINE(RK7 REF(RK7,1),RK7,EMA(RK7,3),2,0),COLOR00AAFF; STICKLINE(RK7 REF(RK7,1),RK7,EMA(RK7,3),1,0),COLOR00BBFF; 生命线:EMA(RK7,4),COLORYELLOW; 出击:IF(CROSS(QW6,RK7)ANDQW6 RK7ANDQW6 18,20,0),STICK,COLORWHITE; STICKLINE((CROSS(QW6,RK7)ANDQW6 RK7ANDQW6 30),RK7,-30,2,1),COLORLIBLUE; DRAWICON(出击 0,生命线,1); 卖出:IF(CROSS(RK7,QW6)ANDQW6 RK7ANDQW6 60,RK7,100),POINTDOT,COLORBLUE; STICKLINE((CROSS(RK7,QW6)ANDQW6 RK7ANDQW6 60),RK7,100,2,1),COLORBLUE; DRAWICON(卖出 90,卖出,2); VAR09:=EMA(C,5); VAR10:=LLV(LOW,33); VAR11:=EMA(IF(LOW =VAR10,VAR09,0),3)*40; VAR12:=IF(VAR11 100,VAR11*0.312,VAR11); 量:VAR12,COLORWHITE; STICKLINE(量 0,量,0,1,0),COLORGRAY; {公式源码:} VARTIME:=IF(YEAR =2050ANDMONTH =11ANDDAY =07,0,1); VARDTIME:=IF(YEAR=2050ANDMONTH=11ANDDAY=06,1,0); QW1:=(HIGH+LOW+CLOSE*2)/4*VARTIME; QW3:=EMA(QW1,10)*VARTIME; QW4:=STD(QW1,10)*VARTIME; QW5:=(QW1-QW3)*100/QW4*VARTIME; QW6:=EMA(QW5,5)*VARTIME; RK7:=EMA(QW6,10)+100/2-5*VARTIME; 出击:IF(CROSS(QW6,RK7)ANDQW6 RK7ANDQW6 18,20,0);14、{短线抄底}
短趋势:((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),COLORRED; VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5; VAR3:=LLV(LOW,34); VAR4:=HHV(HIGH,34); 长趋势:EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13),COLOR00FF00; 判断底:SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5; VAR5:=CROSS(短趋势,长趋势)AND长趋势 底部:STICKLINE(短趋势 10AND判断底 0,0,30,6,1); STICKLINE(VAR5,0,50,8,0),COLORRED; DRAWICON(VAR5AND判断底 0,60,1); DRAWTEXT(COUNT(短趋势 10AND判断底 0,8)ANDVAR5,50,'抄底'); VAR6:=CROSS(短趋势,长趋势)AND长趋势 DRAWTEXT(COUNT(短趋势 30AND判断底 0,5)ANDVAR6,30,'短线买');15、{逃顶}
VARD2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; VARD3:=SMA(SMA(VARD2,3,1),3,1)/28.57; VARD4:=EMA(VARD3,5); VARD5:=3*VARD3-2*VARD4; AA:=CROSS(VARD5,VARD3)ANDVARD3 2.1ANDC VARS1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; VARS2:=SMA(VARS1,3,1); VARS3:=SMA(VARS2,3,1); VARS4:=SMA(VARS3,3,1); 波:=VARS3; 段:=VARS4; VARS5:=CROSS(VARS3,VARS4)ANDVARS3 DRAWTEXT(FILTER(VARS5,10)=1,40,'抄底'),COLORRED; STICKLINE(FILTER(VARS5,10)=1,0,30,10,0),COLORRED; VARS9:=CROSS(VARS4,VARS3)ANDVARS3 STICKLINE(FILTER(VARS9,5)=1,80,100,10,0),COLORGREEN; DRAWTEXT(FILTER(VARS9,5)=1,70,'逃顶'),COLORGREEN; VARS8:=CROSS(VARS2,VARS3)ANDVARS3 80ANDVARS3 VARS4; STICKLINE(VARS8,85,100,10,0),COLOR0099FF; 100,COLORBBBBBB,LINETHICK3; 0,LINETHICK3;16、{乖离抄底}
N:=9; VAR1:=(C-REF(C,1))/REF(C,1); VAR2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1); 个股:=EMA(SUM(VAR1,20),5); :=EMA(SUM(VAR2,20),5); 领涨:=(个股-大盘) VAR3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100; VAR4:=SMA(VAR3,72,1); VAR5:=SMA(VAR4,34,1); 中线趋势:=3*VAR4-2*VAR5; 中线趋势升:=(中线趋势-REF(中线趋势,1)) 均五升:=(MA(C,5)-REF(MA(C,5),1)) 均十升:=(MA(C,10)-REF(MA(C,10),1)) STICKLINE(均五升AND均十升AND中线趋势升,0+0.5,0-0.5,6,1),COLORFFFF00,LINETHICK4; 强势:=IF(均五升AND均十升AND中线趋势升AND领涨,4,0),COLORFF99FF; VAR6:=(2*C+H+L)/4; VAR7:=LLV(L,N); VAR8:=HHV(H,N); 操作:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13)-50,LINETHICK0,COLORRED; 趋势:EMA(0.618*REF(操作,1)+0.382*操作,3),COLORFFFF00,LINETHICK2; STICKLINE(操作 趋势AND操作 =REF(操作,1),操作+5,趋势-1,3.5,0),COLORRED,LINETHICK2; STICKLINE(操作 =趋势,趋势,趋势,3.5,0),COLORYELLOW,LINETHICK2; STICKLINE(操作 趋势,趋势+0.5,趋势-0.5,3.5,0),COLORFFFF00,LINETHICK2; STICKLINE(强势=4,操作+6,趋势-1,4,0),COLORFF99FF; 强弱界:=0,COLORFFFF00; STICKLINE(操作 =趋势AND均五升AND均十升AND中线趋势升,趋势-3,趋势-7,4,0),COLOR64A0E6; 运动:=IF(操作 =趋势AND均五升AND均十升AND中线趋势升AND趋势 0,1,0); 买进:IF(运动=1ANDCOUNT(运动=1,5)=1,8,0),COLORRED,LINETHICK1; DRAWTEXT(买进=8,操作,'买进'),COLORCC33CC; BIAS1:=(C-MA(C,6))/MA(C,6)*100; BIAS2:=(C-MA(C,12))/MA(C,12)*100; BIAS3:=(C-MA(C,24))/MA(C,24)*100; BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6; 乖离:=MA(BIAS,3); 准备:STICKLINE(乖离 -6AND乖离 =-12,-6,0,6,1),COLOR33FFCC; 抄底一:IF(乖离 -12AND乖离 =-18,-12,0),COLOR33CCCC,STICK; STICKLINE(乖离 -12AND乖离 =-18,-12,0,6,0),COLOR33CCCC; 抄底二:IF(乖离 -18,-18,0),COLOR3399CC,STICK; STICKLINE(乖离 -18,-18,0,6,0),COLOR3399CC; 抄底:IF(买进=8ANDCOUNT(乖离 -12,10) =1,10,0),LINETHICK0,COLORRED; STICKLINE(抄底=10,10,0,10,1),COLORRED; DRAWTEXT(抄底=10,10,'←抄底'),COLOR00FF00; DRAWTEXT(CROSS(操作,趋势)AND(操作 -30),操作,'▲'),COLORRED; DRAWTEXT(CROSS(趋势,操作)AND(操作 -20),操作,'▼'),COLOR00FF00;17、{红柱抄底}
M:=55; N:=34; LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*100); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); VAR1:=IF(YEAR =2038ANDMONTH =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; 吸筹:IF(VAR8 100,100,VAR8)*VAR1,COLORRED; 吸筹:STICKLINE(吸筹 -150,0,吸筹,8,0),COLORRED; 散户:100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORLIBLUE,LINETHICK2; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 庄家:EMA(J,6),COLORLIRED,LINETHICK2; 第一买点:DRAWTEXT(CROSS(14,吸筹),10,'买'),COLORYELLOW; 第一卖点:DRAWTEXT(CROSS(88,庄家),80,'SELL1'),COLORGREEN; 第二卖点:DRAWTEXT(CROSS(散户,庄家),60,'SELL2'),COLORCYAN;18、{金矿抄底}
N1:=9;M11:=3;M12:=3; N2:=38;M21:=4;M22:=7; RSV1:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100; Y0:SMA(RSV1,M11,1),COLORRED,LINETHICK1; Y1:SMA(Y0,M12,1),COLORYELLOW,LINETHICK1; RSV2:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100; Y2:SMA(RSV2,M21,1),COLORMAGENTA,LINETHICK2; Y3:SMA(Y2,M22,1),COLORGREEN,LINETHICK2; STICKLINE(Y0 Y1,Y0,Y1,1,0),COLORRED; STICKLINE(Y0 =Y1,Y0,Y1,1,0),COLORYELLOW; STICKLINE(Y2 Y3,Y2,Y3,1,0),COLORMAGENTA; STICKLINE(Y2 =Y3,Y2,Y3,1,0),COLORGREEN; :IF(BARSLAST(CROSS(Y2,Y3)) 10ANDBARSLAST(CROSS(Y3,Y2)) 10ANDCROSS(Y2,Y3)ANDY3 15,88,0),STICK,COLORFF937F; STICKLINE(牛股,0,88,3,1),LINETHICK4,STICK,COLORFF937F; AA:=IF(BARSLAST(CROSS(Y2,Y3)) =4ANDCROSS(Y3,Y2)ANDY3 50,20,0); 卖:STICKLINE(AA,80,100,3,1),COLOR00FF00; STICKLINE(AA,80,100,3,1),LINETHICK4,STICK,COLOR00FF00; 抄底:IF(BARSLAST(CROSS(Y2,Y3)) 12 ANDCROSS(Y2,Y3)ANDY3 12,78,0),STICK,COLORYELLOW; STICKLINE(抄底,0,78,3,1),LINETHICK4,STICK,COLORYELLOW; 超卖15:15,COLORWHITE; 超买85:85,COLORBLUE; 优选:=牛股OR抄底; DRAWTEXT(优选,80,'★买'),COLOR00FF00; DRAWTEXT(优选,10,'金矿'),COLOR00FF00;19、{反弹}
VAR1:=CLOSE; VAR2:=(VAR1-MA(VAR1,25))/MA(VAR1,45)*123; 抄底:CROSS(VAR2,(-25)),COLORYELLOW; LC:=REF(C,1); RSV34:=100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)); K34:=SMA(RSV34,3,1); BIAS34:=((C-MA(C,34))/MA(C,34)*100+10)*5; KB34:=(K34+BIAS34)/4+10; BB1:=IF((K34 10OR(K34 15ANDHHV(H,5)/LLV(C,5) 1.15))ANDKB34 =-0.5,1,0); 抢反弹:BB1=1ANDC=LLV(C,10)ANDC L*1.045ANDV HHV(V,10)ANDC LC*0.9015,COLORRED;20、{见底再抄底}
VARA32:=MA(CLOSE,27); VARA33:=((CLOSE-VARA32)/(VARA32))*(100); VARA34:=MA(VARA33,3); VARA35:=BARSLAST((CROSS((-10),VARA34)=1)); VARA36:=BARSLAST((CROSS(VARA34,10)=1)); VARA37:=(VARA34 (-10))AND(VARA35 趋势线:VARA34,COLORFF00FF; 观望区:IF((趋势线 (-0.15999999)),趋势线,0),COLORFFCF00,LINETHICK2; 操作区:IF((趋势线 0.15999999),趋势线,0),COLOR0000FF,LINETHICK2; 抄底:IF((趋势线 REF(趋势线,7))ANDVARA37AND(VARA34 (-15)),10,0),COLOR00FFFF; 见底:IF((趋势线 REF(趋势线,7))ANDVARA37AND(VARA34 (-15)),10,0),COLOR0000FF;今天的分享就到这里啦,大家感觉怎么样呢?有什么意见建议的朋友欢迎在下方评论区写下你的看法,我们共同学习进步,还请大家多多关注支持哦!!