金品黄蓝带: JJ:=(CLOSE+HIGH+LOW)/3; A:=EMA(JJ,5); B:=REF(A,1); 持股:STICKLINE(A>B,A,B,4,0),coloryellow; 弃股:STICKLINE(A<=B,A,B,4,0),colorblue; HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6; HHJSJDB:(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6) +13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12) +7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+ REF(HHJSJDA,20))/210,coloryellow; HHJSJDC:MA(HHJSJDB,5),colorred; 顶底预警: DRAWGBK(C>0, RGB(50,60,250),RGB(17,21,89),0,'11',0); H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:=L1+P1*7/8,colorgreen; 支撑:=L1+P1*0.5/8,colorred; 中线:=(支撑+阻力)/2,colorwhite,POINTDOT; V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趋势线:EMA(V11,3),LINETHICK2,colorblue; V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100; 准备买入:STICKLINE(趋势线<11,趋势线,11,5,0),coloryellow; AA:=(趋势线<11) AND FILTER((趋势线<=11),15) AND C<中线; BB0:=REF(趋势线,1)<11 AND CROSS(趋势线,11) AND C<中线; BB1:=REF(趋势线,1)<11 AND REF(趋势线,1)>6 AND CROSS(趋势线,11); BB2:=REF(趋势线,1)<6 AND REF(趋势线,1)>3 AND CROSS(趋势线,6); BB3:=REF(趋势线,1)<3 AND REF(趋势线,1)>1 AND CROSS(趋势线,3); BB4:=REF(趋势线,1)<1 AND REF(趋势线,1)>0 AND CROSS(趋势线,1); BB5:=REF(趋势线,1)<0 AND CROSS(趋势线,0); BB:=BB1=1 OR BB2=1 OR BB3=1 OR BB4=1 OR BB5=1; 准备卖出:STICKLINE(趋势线>89,趋势线,89,5,0),colorblue; CC:=(趋势线>89) AND FILTER((趋势线>89),15) AND C>中线; DD0:=REF(趋势线,1)>89 AND CROSS(89,趋势线) AND C>中线; DD1:=REF(趋势线,1)>89 AND REF(趋势线,1)<94 AND CROSS(89,趋势线); DD2:=REF(趋势线,1)>94 AND REF(趋势线,1)<97 AND CROSS(94,趋势线); DD3:=REF(趋势线,1)>97 AND REF(趋势线,1)>99 AND CROSS(97,趋势线); DD4:=REF(趋势线,1)>99 AND REF(趋势线,1)<100 AND CROSS(99,趋势线); DD5:=REF(趋势线,1)>100 AND CROSS(100,趋势线); DD:=DD1=1 OR DD2=1 OR DD3=1 OR DD4=1 OR DD5=1; 顶:89,colorgreen; 底:11,colorred; 中:50,POINTDOT,colorblue; DRAWTEXT(ISLASTBAR,顶,'顶'); DRAWTEXT(ISLASTBAR,底,'底'); DRAWTEXT(ISLASTBAR,中,'中'),colorwhite; VAR2:=1/WINNER(CLOSE); VAR3:=MA(CLOSE,13); VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100); VAR5:=LLV(LOW,75); VAR6:=HHV(HIGH,75); VAR7:=(VAR6-VAR5)/100; VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1); VAR9:=SMA((OPEN-VAR5)/VAR7,20,1); VARA:=3*VAR8-2*SMA(VAR8,15,1); VARB:=3*VAR9-2*SMA(VAR9,15,1); VARC:=100-VARB; 主力仓位: (100-VARA),colorred,LINETHICK3; VARE:=REF(LOW,1)*0.9; VARF:=LOW*0.9; //www.70822.com VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL; VAR11:=EMA(VAR10,30); VAR12:=CLOSE-REF(CLOSE,1); VAR13:=MAX(VAR12,0); VAR14:=ABS(VAR12); VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100; VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100; VAR17:=BARSCOUNT(CLOSE); VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100; VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1); VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR1D:=SMA(VAR1C,4,1); VAR1E:=SMA(VAR1D,3,1); VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100; VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50; VAR21:=(HIGH+LOW+CLOSE)/3; VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14)); VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70)); VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0); VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24); DRAWTEXT(CROSS(VAR20,0.5) AND COUNT(VAR20=1,10)=1,95,'主力建仓!'),LINETHICK7 ; STICKLINE(VAR20,0,80,5,0),LINETHICK5,colorred; V6:=CLOSE/REF(CLOSE,3)>=1.1; V7:=BACKSET(V6,3); 买:IF((V7 AND COUNT(V7,3)=1),50,0),; DRAWTEXT(买,50,'买 '); V10:=PEAKBARS(3,15,1)<10; V12:=IF(V10=1,50,0); 头部:= IF(V12=50,100,0); 卖:IF(头部>REF(头部,1),50,0),LINETHICK2,colorgreen;DRAWTEXT(卖,50,'高顶出货 '); V9:=TROUGHBARS(3,15,1)<10; V11:=IF(V9=1,50,0); 底部:= IF(V11=50,50,0); 买:IF( 底部>REF(底部,1),40,0),LINETHICK3; DRAWTEXT(买,40,'主力抄底 '); V7:=TROUGHBARS(3,15,1)<10; V9:=IF(V7=1,50,0); 强弱分界线:50; 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; 主力吸货:VAR7; 吸筹1:STICKLINE(VAR7,0,VAR7,6,0); 吸筹2:STICKLINE(VAR7,0,VAR7,5,0); 吸筹3:STICKLINE(VAR7,0,VAR7,4,0); 吸筹4:STICKLINE(VAR7,0,VAR7,3,0); 吸筹5:STICKLINE(VAR7,0,VAR7,2,0); 吸筹6:STICKLINE(VAR7,0,VAR7,1,0); 吸筹7:STICKLINE(VAR7,0,VAR7,0,0); 底背离 顶背离(顶尖财经 股票学院: http://58188.com): LOWV:=LLV(LOW,9); HIGHV:=HHV(HIGH,9); RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3); K:EMA(RSV,3); D:MA(K,3); STICKLINE(K>D , K,D ,2.5,0),colorred,LINETHICK2; STICKLINE(D>K,K,D,2.5,0),colorgreen,LINETHICK2; 逃顶线:90,colorgreen; 中轴线: 50,colorred; 抄底线:10,coloryellow; DRAWICON(CROSS(K,D) AND K<=50,12,11),colorred; DRAWICON(CROSS(D,K) AND K>=80,88,4),colorgreen; A1:=BARSLAST(REF(CROSS(K,D),1)); 底背离:REF(CLOSE,A1+1)>CLOSE AND K>REF(K,A1+1) AND CROSS(K,D); DRAWLINE(A1=0,D,底背离,D,0),colorred,LINETHICK1; A2:=BARSLAST(REF(CROSS(D,K),1)); 顶背离:REF(CLOSE,A2+1)<CLOSE AND REF(D,A2+1)>D AND CROSS(D,K); DRAWLINE(A2=0,D,顶背离,D,0),colorgreen,LINETHICK1; DRAWTEXT(底背离>0,D-5,'加仓'),colorred; DRAWTEXT(顶背离>0,D-5,'减仓'),colorgreen; DRAWTEXT(CROSS(K,D) AND (D < 8),30,'买'),colorred; STICKLINE(CROSS(K,D) AND (D < 8)=1,3,20,8,0),colorred; DRAWTEXT(CROSS(D,K) AND (D > 85),70,'卖'),colorgreen; STICKLINE(CROSS(D,K) AND (D > 85)=1,85,70,8,0),colorgreen |