穩(wěn)賺不賠。
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,colorlimagenta;
吸籌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),colorff66ff;
風(fēng)險:CEILING(SMA(VAR9,13,8)),LINETHICK2,colorgreen;
漲跌: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),LINETHICK2,colorred;
VAR8:=VOL>2*MA(VOL,30);
VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;
VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);
VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));
VARE:=0-"MACD.DIFF"(7,21,3);
VARF:=TROUGHBARS(3,15,1)<4;
VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);
VAR11:=IF(VARF=1,50,0);
多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),colorwhite,NODRAW;
0,colorred;
STICKLINE(FILTER(VARF=1,5) AND 多空<-10,50,0,15,0),colorf00ff0;
STICKLINE(FILTER(VARF=1,5),50,0,8,0),coloryellow;
DRAWTEXT(FILTER(VARF=1,3),60,' 狙擊手'),colorred ;
C2:=REF(C,1);
非ST漲停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
漲停:=非ST漲停;
STICKLINE(漲停,OPEN,CLOSE,3,4),COLOR00FFFF;
STICKLINE(漲停,H,L,5,5),COLOR00FFFF;
非ST跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
跌停:=非ST跌停;
STICKLINE(跌停,OPEN,CLOSE,5,0),colorgreen;
STICKLINE(跌停,H,L,0,0),colorgreen;
半漲1:=IF((C-C2)*100/C2>=(5-0.01*100/C2),1,0);
半漲2:=IF((C-C2)*100/C2<(10-0.01*100/C2),1,0);
JRS:=半漲1 AND 半漲2 AND FINANCE(33)>0;
STICKLINE(JRS,OPEN,CLOSE,5,0),COLOR0066FF;
STICKLINE(JRS,H,L,0,0),COLOR0066FF;
NUMBER:=COUNT(非ST漲停,BARSSINCE(非ST漲停)+1);
DRAWNUMBER(非ST漲停,HIGH*1.04,NUMBER),colorwhite;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.56,0.02,3,NUMBER),colorred;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.45,0.02,0,'總共漲停'),coloryellow;
VARC:=(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));
VARD:=(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));
STICKLINE((VARC=1),(12),0,4,0),colorred;
DRAWTEXT((VARC=1),(19),'快搶干'),colorred;
STICKLINE((VARD=1),8,0,4,0),Color00FF00;
DRAWTEXT((VARD=1),25,'快搶跑'),Color00FF00;
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);
DRAWTEXT(Var11 AND COUNT(Var11,30)=1,18,'機構(gòu)活動'),linethick1,COLORff00ff;
STICKLINE(Var11 AND COUNT(Var11,30)=1,1,10,5,0),colorff00ff;
Var12:=(HIGH+LOW+CLOSE)/3;
Var13:=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14));
Var14:=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));
Var15:=IF(Var13>=150 AND Var13<200 AND Var14>=150 AND Var14<200,10,0);
Var16:=IF(Var13<=-150 AND Var13>-200 AND Var14<=-150 AND Var14>-200,-10,Var15);
Var17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var18:=100-ABS(Var17);
Var19:=IF(Var18<90,Var18,100);
Var1A:=IF(VarE>0,VarE,0);
Var1B:=IF(Var14>=200 AND Var13>=150,15,IF(Var14<=-200 AND Var13<=-150,-15,Var16))+60;
Var1C:=Var1A>48 AND Var1B>60 AND Var19<100;
DRAWTEXT(Var1C AND COUNT(Var1C,30)=1,18,'機構(gòu)出貨'),linethick1,COLORffcc66;
STICKLINE(Var1C AND COUNT(Var1C,30)=1,0,10,5,0),colorffcc66;
|
|
來自: 鬼舞十七 > 《技術(shù)指標(biāo)》