通达信曹薇短买(源码主图/副图贴图)

[复制链接]
查看88 | 回复0 | 2021-8-19 14:21:26 | 显示全部楼层 |阅读模式

以下是通达信曹薇短买(源码主图/副图贴图)(无源码的请下载附件导入)

曹薇短买主图

Z1A:=STRCAT(HYBLOCK,' ');
 Z2A:=STRCAT(Z1A,FGBLOCK);
 Z3A:=STRCAT(Z2A,DYBLOCK);
 Z4A:=STRCAT(Z3A,' ');
 DRAWTEXT_FIX(ISLASTBAR,0.01,1,0,STRCAT(Z4A,GNBLOCK)),COLORCYAN;
 MA5:=MA(C,5);
 MA10:=MA(C,10);
 MA30:=MA(C,30);
 FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);
 FB:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);
 DRAWTEXT(FB,L-0.10,'★龙门关'),COLORRED;
 V1:=EMA(CLOSE,5);

 V2:=EMA(EMA(CLOSE,90)*1.01,10);
 DRAWTEXT(CROSS(V1,V2),V1+0.05,'迎上水'),COLOR00FF00;
 VAR1D:=LLV(LOW,21);
 VAR2D:=HHV(HIGH,21);
 AK1:=EMA((((CLOSE - VAR1D) / (VAR2D - VAR1D)) * 100),5);
 AKD:=EMA((((CLOSE - VAR1D) / (VAR2D - VAR1D)) * 50),13);
 AB:=CROSS(AK1,AKD);
 DRAWTEXT((AB = 1),(LOW * 0.99),'○鱼跃'),COLORYELLOW;
 AA1D:=AMOUNT/V;
 BB1:=L<AA1D*0.9;
 CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
 DD1:=L<MA(C,5)*0.921;
 EE1:=V<MA(V,5)*1.5;
鱼跃龙门:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0,COLOR0099FF;
 DRAWTEXT(鱼跃龙门,L*0.99,'鱼跃龙门'),COLOR0099FF;
 VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
 VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
 DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'★蓄势待发 '),COLOR00FFFF;
 DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★补仓'),COLOR00FFFF;
 A1AA:=9;
 A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
 DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.05),'风险警示'),COLORFFFFFF;
 VAR6D:=REF(C,1);
 VAR7D:=SMA(MAX(C-VAR6D,0),6,1)/SMA(ABS(C-VAR6D),6,1)*100;
 DRAWTEXT(CROSS(82,VAR7D),H*1.01,'风险警示'),COLORYELLOW;
 AA:=MA(C,5);
 BB:=MA(C,15);
 AF:=CROSS(AA,BB);
 STICKLINE(AF,LLV(L,8),LLV(L,8),50,1),COLORRED,LINETHICK3;
 AF1:=CROSS(BB,AA);
 STICKLINE(AF1,HHV(H,8),HHV(H,8),50,1),COLOR00FF00,LINETHICK3;
 A1A:=C>REF(C,4);
 A2A:=BARSLASTCOUNT(A1A);
 A3A:=REF(A2A,1)=8 AND A2A>REF(A2A,1);
 A4A:=REF(BETWEEN(A2A,5,8),1) AND A2A<REF(A2A,1);
 A5A:=ISLASTBAR AND BETWEEN(A2A,6,8);
 A6A:=(BACKSET(A3A>0,9) OR BACKSET(A4A>0,A2A+1)*0 OR BACKSET(A5A>0,A2A))*A2A;
 DRAWTEXT(A6A>0,H+H*0.005,VAR2STR(A6A,0)),COLOR00FFFF;
 DRAWTEXT(A2A=9,H+H*0.005,'9'),COLOR00FF00;
 B1A:=C<REF(C,4);
 B2A:=BARSLASTCOUNT(B1A);
 B3A:=REF(B2A,1)=8 AND B2A>REF(B2A,1);
 B4A:=REF(BETWEEN(B2A,5,8),1) AND B2A<REF(B2A,1);
 B5A:=ISLASTBAR AND BETWEEN(B2A,6,8);
 B6A:=(BACKSET(B3A>0,9) OR BACKSET(B4A>0,B2A+1)*0 OR BACKSET(B5A>0,B2A))*B2A;
 DRAWTEXT(B6A>0,L-L*0.005,VAR2STR(B6A,0)),COLORFFFFFF;
 DRAWTEXT(B2A=9,L-L*0.005,'9'),COLORFF00FF;
 JRH:=HHV(C,2);
 JRL:=LLV(C,2);
 MA3:=MA(CLOSE,3);
 YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;
 VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
 VAR2:=(REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR4:=(REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR6:=(REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR8:=(REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VARA:=(REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
 VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);
 VAR1A:=((REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)) AND VARD);
红色持股:VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,COLOR0000FF,NODRAW;
致远离场:=IF(红色持股,JRL,DRAWNULL);
明离场价:=致远离场,COLORFF99FF,NODRAW;
今离场价:REF(致远离场,1)COLOR0000FF,NODRAW;
青色观望:VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,COLORFFFF00,NODRAW;
进:=IF(青色观望,JRH,DRAWNULL);
明进场价:=进,COLOR33AACC,NODRAW;
今进场价:REF(明进场价,1),COLORFF0000,NODRAW;
曹薇短买:VAR19,COLOR33AACC,NODRAW;
曹薇离场:VAR1A,COLORFF99FF,NODRAW;
急速超跌:(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORFFFFFF,NODRAW;
辰星线:(20*YTSL+19*REF(YTSL,1)+18*REF(YTSL,2)+17*REF(YTSL,3)+16*REF(YTSL,4)+15*REF(YTSL,5)+14*REF(YTSL,6)+13*REF(YTSL,7)+12*REF(YTSL,8)+11*REF(YTSL,9)+10*REF(YTSL,10)+9*REF(YTSL,11)+8*REF(YTSL,12)+7*REF(YTSL,13)+6*REF(YTSL,14)+5*REF(YTSL,15)+4*REF(YTSL,16)+3*REF(YTSL,17)+2*REF(YTSL,18)+REF(YTSL,20))/211,COLOR0000FF;
牵牛线:MA(CLOSE,26),COLORFF00FF;
等待:=IF(MA3>辰星线,辰星线,MA3);
上市日期年:REF(YEAR,BARSCOUNT(CLOSE)-1),NODRAW,COLOR0000FF;
月:REF(MONTH,BARSCOUNT(CLOSE)-1),NODRAW,COLORFF00FF;
日:REF(DAY,BARSCOUNT(CLOSE)-1),NODRAW,COLOR00FFFF;
 IF(等待>REF(等待,1),等待,DRAWNULL),LINETHICK2,COLOR00FFFF;
 IF(辰星线>REF(辰星线,1),辰星线,DRAWNULL),LINETHICK2,COLOR0000FF;
 IF(辰星线<REF(辰星线,1),辰星线,DRAWNULL),COLOR00FF00;
 IF(牵牛线>REF(牵牛线,1),牵牛线,DRAWNULL),LINETHICK1,COLORFF00FF;
 IF(牵牛线<REF(牵牛线,1),牵牛线,DRAWNULL),COLOR669933;
 STICKLINE(ISLASTBAR AND (红色持股 OR REF(红色持股,1)=1),今离场价,今离场价,30,1),COLOR0000FF;
 STICKLINE(ISLASTBAR AND (青色观望 OR REF(青色观望,1)=1),今进场价,今进场价,30,1),COLOR00FF00;
 STICKLINE(C>=O,L,H,0,0),COLOR0000CC;
 STICKLINE(C<O,L,H,0,0),COLOR999900;
 STICKLINE(1,C,O,3.5,0),COLOR858500;
 STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;
 STICKLINE(红色持股,CLOSE,O,2.8,0),COLOR000055;
 STICKLINE(红色持股,CLOSE,O,2,0),COLOR000088;
 STICKLINE(红色持股,CLOSE,O,1.5,0),COLOR0000AA;
 STICKLINE(红色持股,CLOSE,O,1,0),COLOR0000CC;
 STICKLINE(红色持股,CLOSE,O,0.5,0),COLOR0000EE;
 STICKLINE(青色观望,CLOSE,O,2.8,0),COLOR555500;
 STICKLINE(青色观望,CLOSE,O,2,0),COLOR888800;
 STICKLINE(青色观望,CLOSE,O,1.5,0),COLORAAAA00;
 STICKLINE(青色观望,CLOSE,O,1,0),COLORCCCC00;
 STICKLINE(青色观望,CLOSE,O,0.5,0),COLOREEEE00;
 CO:=(C-O);
 STICKLINE(急速超跌,O,C-CO/2,2.8,0),COLOR555555;
 STICKLINE(急速超跌,O,C-CO/2,2,0),COLOR888888;
 STICKLINE(急速超跌,O,C-CO/2,1.5,0),COLORAAAAAA;
 STICKLINE(急速超跌,O,C-CO/2,1,0),COLORCCCCCC;
 STICKLINE(急速超跌,O,C-CO/2,0.5,0),COLOREEEEEE;
 STICKLINE(曹薇短买,O,O+CO/3,2.8,0),COLOR335555;
 STICKLINE(曹薇短买,O,O+CO/3,2,0),COLOR338888;
 STICKLINE(曹薇短买,O,O+CO/3,1.5,0),COLOR33AAAA;
 STICKLINE(曹薇短买,O,O+CO/3,1,0),COLOR33CCCC;
 STICKLINE(曹薇短买,O,O+CO/3,0,0),COLOR33EEEE;
 DRAWTEXT(曹薇短买,REF(CLOSE,1),'←短买'),COLOR33FFCC;
 STICKLINE(曹薇离场,O,O+CO/3,2.8,0),COLOR550055;
 STICKLINE(曹薇离场,O,O+CO/3,2,0),COLOR880088;
 STICKLINE(曹薇离场,O,O+CO/3,1.5,0),COLORAA00AA;
 STICKLINE(曹薇离场,O,O+CO/3,1,0),COLORCC00CC;
 STICKLINE(曹薇离场,O,O+CO/3,0.5,0),COLOREE00EE;
 DRAWTEXT(曹薇离场,REF(CLOSE,1)+0.1,'←离场'),COLORFF99FF;
 A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
 A4:=SMA(A3,3,1);
 A5:=SMA(A4,3,1);
 A6:=3*A4-2*A5;
 A7:=C-REF(C,1);
 A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
 DRAWTEXT(FILTER(买=1,5),LOW-0.11,'↖买进'),COLORYELLOW;


曹薇短买副圖

N 0 100 40
 MTM:=C-REF(C,1);
 DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
 YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
加仓:IF(FILTER(YXF=1,5),1,0),STICK,COLORFFFFFF,LINETHICK3;
 A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV
 (L,55))*100,5,1);
 FY:=EMA(A51,5);
 A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
 QS:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));
 VARA1:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);
 VARA2:=(((CLOSE - MA(CLOSE,10)) / MA(CLOSE,10)) * 100);
 VARA3:=(((CLOSE - MA(CLOSE,20)) / MA(CLOSE,20)) * 100);
 VARA4:=(((VARA1 + (2 * VARA2)) + (3 * VARA3)) / 6);
 VARA5:=MA(VARA4,3);
 RSVJ:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
 KJ:=SMA(RSVJ,3,1);
 DJ:=SMA(KJ,3,1);
 JJ:=((3 * KJ) - (2 * DJ));
绝杀抄底:CROSS(JJ,0) AND (VARA5 <= (0 - 7));
 JRH:=HHV(C,2);
 JRL:=LLV(C,2);
 MA3:=MA(CLOSE,3);
 YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;
 VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
 VAR2:=(REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR4:=(REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR6:=(REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR8:=(REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VARA:=(REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
 VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
 VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
 VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);
曹薇短买:VAR19,COLORRED;
 AA05:=MA(C,5);
 AA:=(C-AA05)/AA05*100;
 AA30:=MA(C,30);
 BB:=(C-AA30)/AA30*100;
 MR:=COUNT(CROSS(AA,0),3)>=1 AND BB>REF(BB,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;
尾盘选D:IF(FILTER(MR,10),1.5,0);
 SM01:=MA((2*C+H+L)/4,5);
 SM02:=SM01*(200-102)/100;
 SM03:=(1-7/100)*DMA(C,ABS((2*C+H+L)/4-MA(C,20))/MA(C,20));
 SM04:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
 SM05:=3*SMA(SM04,3,1)-2*SMA(SMA(SM04,3,1),3,1);
 SM06:=((H+L+C)/3-MA((H+L+C)/3,14))/(0.015*AVEDEV((H+L+C)/3,14));
 SM07:=SM02<SM03&&SM05>REF(SM05,1)&&REF(SM05,1)<REF(SM05,2)&&SM06<-100&&SM06>REF(SM06,1);
 STICKLINE(SM07,0,0.5,2,0),COLORYELLOW;
神秘买点:SM07,COLORLICYAN,LINETHICK2;
 BIAS0:= (C-MA(C,2))/MA(C,2)*100;
 BIAS1 := (C-MA(C,12))/MA(C,12)*100;
 BIAS2 := (C-MA(C,26))/MA(C,26)*100;
 BIAS3 := (C-MA(C,48))/MA(C,48)*100;
 HXL:=V/CAPITAL*100;
 D1:=INDEXC;
 D2:=MA(D1,13);
 DR2:=D2>1.050*D1;
 E1:=(C-HHV(C,12))/HHV(C,12)*10;
 E2:=(C-REF(C,26))/REF(C,26)*10;
 E3:=MA(C,3);
 SJ1:=DR2;
 SJ2:=E2<-2.30;
 SJ3:=BIAS0<-2.7;
 SJ5:=SJ1 AND SJ2 AND SJ3;
 SJ6:=CROSS(0.5,SJ5);
 JS1:=CROSS(SJ6,0.5);JS2:=BARSLAST(JS1=1);
 JS3:=JS2<=5 AND C<REF(C,JS2);
中短线:SJ6 OR JS3,COLORGREEN;
 N:=5;
 M:=10;
 DIVE:=0.01*EMA(AMOUNT,N)/EMA(VOL,N);
 CYR:=(DIVE/REF(DIVE,1)-1)*100;
 MACYR:=MA(CYR,M);
 XG1:=CYR<-1.1 AND MACYR<-1.1;
 XG2:=CROSS(CYR,MACYR);
 XG3:=XG1 AND XG2;
 N1:=9;
 VAR1F:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1);
 VAR2F:=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);
 LC := REF(CLOSE,1);
 RSI:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
 EEA:=(C-REF(C,26))/REF(C,26)*10;
抄底:CROSS(RSI,20) AND VAR1F<-45 AND VAR2<12 AND EEA<-2 AND XG3;
 B1:=(EMA(CLOSE,4)+MA(CLOSE,4*2)+MA(CLOSE,4*4))/3;
 B2:=(EMA(CLOSE,6)+MA(CLOSE,6*2)+MA(CLOSE,6*4))/3;
 B3:=(EMA(CLOSE,9)+MA(CLOSE,9*2)+MA(CLOSE,9*4))/3;
 B4:=(EMA(CLOSE,13)+MA(CLOSE,13*2)+MA(CLOSE,13*4))/3;
 B5:=(EMA(CLOSE,18)+MA(CLOSE,18*2)+MA(CLOSE,18*4))/3;
 B6:=(EMA(CLOSE,24)+MA(CLOSE,24*2)+MA(CLOSE,24*4))/3;
 B7:=B6>B5 AND B5>B4 AND B4>B3 AND B3>B2 AND B2>B1;
 A1:=(((2 * CLOSE) + HIGH) + LOW) / 4;A2:=LLV(LOW,34);A3:=HHV(HIGH,34);
 A4:=EMA((((A1 - A2) / (A3 - A2)) * 100),13);A5:=EMA(((0.667 * (REF(A4,1))) + (0.333 * A4)),2);
 A6:=(HHV(HIGH,9)) - (LLV(LOW,9));A7:=(HHV(HIGH,9)) - CLOSE;A8:=CLOSE - (LLV(LOW,9));
 A9:=((A7 / A6) * 100) - 70;A10:=((CLOSE - (LLV(LOW,60))) / ((HHV(HIGH,60)) - (LLV(LOW,60)))) * 100;
 A11:=SMA(((A8 / A6) * 100),3,1);A12:=(SMA(A11,3,1)) - (SMA(A9,9,1));
 ZZ2:=REF(C>O OR O>C,2) AND REF(C>O OR O>C,1) AND REF(C>O OR O>C,6);
 A13:=IF((A12 > 100),(A12 - 100),0);GG:=EMA((((A1 - A2) / (A3 - A2)) * 100),5);
 HH:=EMA(GG,13);AS:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
 AD:=SMA(AS,9,1)+100;AF:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 AG:=SMA(AF,3,1);AH:=SMA(AG,3,1)+100;AJ:=AH-AD;KK:=IF(AJ>45,AJ-45,0);
 T3:=KK>REF(KK,1) AND REF(KK,1)<REF(KK,2);DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
 DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);
 ZZ1:=REF(MACD,1)<REF(MACD,2) AND MACD>=0 AND MACD>REF(MACD,1);
潜龙出海:CROSS(GG,HH) AND T3 AND B7 AND ZZ1 AND ZZ2 COLORBLUE;
 MA5 := MA(CLOSE,5);
 MA10 := MA(CLOSE,10);
 MA60 := MA(CLOSE,60);
 PDAY1 := BARSLAST(CROSS(MA5,MA60));
 PDAY2 := BARSLAST(CROSS(MA10,MA60));
 PDAY3 := BARSLAST(HIGH=HHV(HIGH,PDAY2));
 PDAY4 := BARSLAST(CROSS(MA10,MA5));
 PDAY5 := BARSLAST(CROSS(MA5,MA10));
 A1S:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND
 PDAY5<5;
 A2S:= COUNT(CROSS(MA10,MA5),PDAY2)=1;
 A3S:=MA5>MA60 AND MA10>MA60 AND C>MA5;
老鸭头:A1S AND A2S AND A3S,COLORMAGENTA;
 VAR10L:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
 VAR11L:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
 VAR13L:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
 VAR14L:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
 VAR15L:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
 VAR16L:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
 VAR17L:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
买1:=VAR10L;
买2:=(VAR11L+VAR13L+VAR15L+VAR17L);
 RSVL:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
 KL:=SMA(RSVL,15,1);
 DL:=SMA(KL,15,1);
 JL:=3*KL-2*DL;
 FF:=EMA(CLOSE,3);
 MA15:=EMA(CLOSE,21);
 TTJ:=CROSS(FF,MA15);
上:=EMA(C,3),COLORBLUE,LINETHICK1;
 MML:=上>REF(上,1) AND REF(上,1)<REF(上,2);
 VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);
 VAR04:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
金叉L:=CROSS(JL,DL);
买1:=(VAR14 OR VAR15) AND VAR11;
买2:=(VAR14 OR VAR15) AND VAR04;
买3:=(VAR14 OR VAR15) AND VAR02;
买4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);
买5:=(金叉L AND VAR04) OR (金叉L AND VAR02) OR (金叉L AND VAR11);
 TTJ0:=VAR16;
 TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MML;
 XG0:=TTJ AND TTJ0;
 XG1L:=TTJ AND TTJ1;
 XG11:=XG0 OR XG1L;
 EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);
 PL10:=ZIG(3,10);
 EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);
 PL20:=ZIG(3,20);
 EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);
走强2:=BARSLAST(PL10<REF(PL10,1));
走强3:=BARSLAST(PL20<REF(PL20,1));
走弱3:=BARSLAST(PL20>REF(PL20,1));
 ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
 ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
 DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);
 TJ11:=EN2 AND ZTJZ5=1;
 TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;
 TJ33:=EN2 AND DTJZ10=1;
 TJ44:=EN3 AND ZTJZ10=1;
 TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;
 XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;
放心买:=XG11 OR XG22 COLORCYAN;
 DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
 DEA1:=EMA(DIF1,9);
黑马线:=16;
 DDL:=CROSS(DIF1,DEA1);
陶金上:=DDL AND 黑马线 COLORRED;
陶金1:=(DIF1-DEA1)*2*60;
主力L:=陶金1-REF(陶金1,1);
主力信号:=主力L>5 AND 主力L>REF(主力L,1)COLORRED;
 VAR20:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
 VAR21L:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
 VAR22L:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
 VAR23L:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
 VAR24L:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
 VAR25L:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
 VAR26L:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
 VAR27:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
买点二:=(VAR20+VAR22L+VAR24L+VAR26L);
卖点一:=(VAR21L+VAR23L+VAR25L+VAR27);
买待涨:=(VAR20+VAR22L+VAR24L+VAR26L)COLOR00FFFF;
快卖欲跌:=(VAR21L+VAR23L+VAR25L+VAR27) COLOR00FF00;
 ZDZ:=买待涨 AND 放心买 AND 陶金上 AND 主力信号 COLOR00FFFF;
真涨:ZDZ,STICK,COLORCYAN;
 DRAWTEXT(真涨>0,1.2,'真涨'),COLORCYAN;
 DRAWICON(真涨>0,真涨,24);
 
 

818355005.jpg

818355005.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则