1、LS金牌黑马 波段顶底,底部买进,顶部卖出,战胜市场,获取盈利。 A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,2)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,2); 黑马线:EMA(A1,5),LINETHICK2,COLOR6600FF; 反切线:100-EMA(A1,5),LINETHICK2,COLOR00FF00; A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100; A3:=EMA(C,5); A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; 趋势线: (EMA(4*SMA(A4,6,1)-3*SMA(SMA(A4,5,1),5,1),2)),LINETHICK1,coloryellow; A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100; DRAWTEXT(FILTER(REF(黑马线,1)>90 AND A2<0,7),黑马线,'跑'),COLOR00FF00; DRAWTEXT(CROSS(趋势线,黑马线)AND 黑马线>20 AND 黑马线<A5,黑马线,'黑马'); DRAWTEXT(CROSS(趋势线,0) AND 黑马线<40,5,'大黑马'); 底部:(A2<-10 AND A2>REF(A2,1))*25,colorred; 机会来临:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),LINETHICK2,colore66878; 大势已去:IF(CROSS(黑马线,A1) AND 黑马线>70 AND 趋势线>80,90,100),LINETHICK2,COLORE66878; 2、中短线买卖参考,波段类 中线短线都可 改编自中短线买卖点,适应手机显示,线越长,仓位越重,红买绿卖,信号会漂移,请结合其它指标谨慎使用。( 股 民 学 院 : http://www.58188.net ) VARF:=TROUGHBARS(3,15,1)<4; 多空:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW) /4,30)*100,3);//,colorwhite DRAWTEXT(FILTER(VARF=1,5) AND 多空<-10,50,'--超跌'),colorred ; STICKLINE(多空<-10,0,多空,1,0),colorblue; R1:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*200; R2:=EMA((CLOSE-(LLV(LOW,5)))/((HHV(HIGH,5))-(LLV(LOW,5)))*100,4)*2; R3:=EMA(0.618*REF(R2,1)+0.382*R2,2); R4:=POW(MA(CLOSE,5),2)+MA(CLOSE,5); R5:=POW(MA(LOW,5),2)+MA(LOW,5); R6:=POW(MA(HIGH,5),2)+MA(HIGH,5); R7:=(R4-LLV(R5,64))/(HHV(R6,64)-LLV(R5,64))*150+65-10; R8:=SMA((SMA(R7,3,1)*1.5-100),3,1); R9:=3*(SMA(R7,3,1)*1.5-100)-2*R8; R10:=(HIGH+LOW+CLOSE*2)/4; R11:=(R10-(EMA(R10,13)))*100/(STD(R10,13)); R12:=EMA((EMA(R11,5)),13)+200-100; R13:=(SMA(R1,3,1))+R2+(SMA(R7,3,1)*1.5-100)+R12; R14:=(SMA((SMA(R1,3,1)),3,1))+R3+R8+(EMA(R12,10)); R15:=(3*(SMA(R1,3,1))-2*(SMA((SMA(R1,3,1)),3,1)))+(3*R12-2*(EMA(R12,10)))+ R9+(3*R12-2*(EMA(R12,10))); R16:=(HIGH+LOW+CLOSE)/3; R17:=(R16-MA(R16,34))/(0.015*AVEDEV(R16,34)); R18:=(HIGH+LOW+CLOSE+R16)/4; R19:=(R18-(EMA(R18,24)))/(STD(R18,24))*100; R20:=(R16-MA(R16,24))/(0.015*AVEDEV(R16,24)); R21:=(((EMA(R19,5))+R20+R17)/3+165)/4; R22:=(R13+R14+R15*30)/32/5-15; 短期线: EMA(((R21+R22)/2/1.3),1),colormagenta,LINETHICK2; 中期线:MA(短期线,3),coloryellow,LINETHICK2; 分界:0,coloryellow,LINETHICK2; R23:=中期线; DRAWICON(CROSS(短期线,中期线),R23,1); DRAWICON(CROSS(中期线,短期线),R23,2); //短线; STICKLINE(TROUGHBARS(1,6,1)=0 AND HIGH>LOW,25,0,2,0),colorred; STICKLINE(PEAKBARS(2,9,1)=1,25,0,2,0),colorgreen; //中线; STICKLINE(TROUGHBARS(3,18,1)=0 AND HIGH>LOW+0.1,50,0,4,0),colorred; STICKLINE(PEAKBARS(2,15,1)=0,50,0,4,0),colorgreen; 全买:= (ZIG(3,35)>REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)<REF(ZIG(3,35),2))*100,STICK,colorred,LINETHICK6; DRAWTEXT(全买=100,90,'--全买'),colorred; 全卖:= (ZIG(3,35)<REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)>REF(ZIG(3,35),2))*100,STICK,colorgreen,LINETHICK6; DRAWTEXT(全卖=100,15,'--全卖'),colorgreen; 3、同花顺组合副图,自己组合的原创公式 VAR2:=1/WINNER(CLOSE); VAR3:=MA(CLOSE,13); VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100); VAR5:=LLV(LOW,120); VAR6:=HHV(HIGH,120); VAR7:=(VAR6-VAR5)/100; VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1); VAR9:=SMA((OPEN-VAR5)/VAR7,20,1); VARA:=3*VAR8-2*SMA(VAR8,10,1); VARB:=3*VAR9-2*SMA(VAR9,10,1); VARC:=100-VARB; VARE:=REF(LOW,1)*0.9; VARF:=LOW*0.9; 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); VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VARF:=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); VAR10:=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); VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); V10:=PEAKBARS(3,15,1)<10; V12:=IF(V10=1,50,0); 头部=IF(V12=50,100,0); 卖:IF(IF(V12=50,100,0)>REF(IF(V12=50,100,0),1),40,0),colorgreen,LINETHICK2; DRAWTEXT(卖,50,'主力清仓 '),colorgreen; V9:=TROUGHBARS(3,15,1)<10; V11:=IF(V9=1,50,0); 底部=IF(V11=50,50,0); 买:IF( 底部>REF(底部,1),40,0),colorred,LINETHICK2; DRAWTEXT(买,50,'主力抄底 '),colorred; V7:=TROUGHBARS(3,15,1)<10; V9:=IF(V7=1,50,0); v1:=(C*2+H+L)/4*10; V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5; V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8; V6:=EMA(3*V5-2*SMA(V5,18,1),5); V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10; V8:=(INDEXC*2+INDEXH+INDEXL)/4; V9:=EMA(V8,13)-EMA(V8,34); VA:=EMA(V9,3); VB:=(V9-VA)/2; 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); V12:=(EMA(V11,3)-REF(EMA(V11,3),1))/REF(EMA(V11,3),1)*100; AA:=(EMA(V11,3)<=13) AND FILTER((EMA(V11,3)<=13),15); CC:=(EMA(V11,3)>=90 AND V12) AND FILTER((EMA(V11,3)>=90 AND V12),10); DD:=(EMA(V11,3)>=120 AND V12) AND FILTER((EMA(V11,3)>=120 AND V12),10); STICKLINE(IF(VB<=0,VB,0) AND EMA(V11,3)>90,0,10,10,0),colorgreen; STICKLINE(IF(V4<=0,V4,1) AND EMA(V11,3)>90,0,10,10,0),colorliblue; DRAWTEXT (CC,20,'主力减仓'),colorliblue; AA:=(O+H+L+C)/4; BB:=MA(AA,3); CC:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AA<REF(AA,1),AA*VOL,0),4); DD:=REF(100-(100/(1+CC)),1); A1:=HHV(AA,10); a2:=LLV(AA,30); a3:=A1-a2; a4:=EMA((AA-a2)/a3,1)*100; b1:=HHV(AA,16); b2:=LLV(AA,90); b3:=b1-b2; b4:=EMA((AA-b2)/b3,1)*100; C1:=HHV(AA,30); C2:=LLV(AA,240); C3:=C1-C2; C4:=EMA((AA-C2)/C3,1)*100; STICKLINE(a4>90 AND b4>70,86,94,6,0),coloryellow; DRAWTEXT((a4>90 AND b4>70)=1, 85,'拉'),coloryellow; D=CROSS(ZIG(3,50/5)*1,MA(ZIG(3,50/5)*1,2))*1; W=CROSS(MA(ZIG(3,50/5)*1,2),ZIG(3,50/5)*1)*1; VARg1:=(2*CLOSE+HIGH+LOW+OPEN)/5; VAR2X:=LLV(LOW,34); VAR3X:=HHV(HIGH,34); 多=EMA((VARg1-VAR2X)/(VAR3X-VAR2X)*100,13); 空=EMA(多,3); DRAWTEXT(W=1,多*-0.1,'▼下跌确立' ),colorgreen; DRAWTEXT(D=1,多*-0.31,'▲上涨确立'),colorred; LC= REF(CLOSE,1); RSI$1:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; RSI$2:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100; RSI$3:SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100; 下线:20; 上线:80; |