十日:ma(c,10),colorgreen,linethick2;
十周:ma("T001.收盤#week",10),coloryellow, linethick1;
日10周:ma(c,25), color0088ff, linethick1; //50
日10月:ma(c,100), colorgray, linethick1; //200
//十月:ma("T001.收盤#month",10), colorred, linethick1;
拉升放量:VOL>=ref(MA(VOL,5),1)*2 and C/REF(C,1)>1.03,LINETHICK0,colorgreen; //colorFF00FF;
STICKLINE(拉升放量,OPEN,CLOSE,8,0),COLORYELLOW;
高量柱:VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01,coloryellow, linethick0;
K1:=SUMBARS(高量柱,1);
//STICKLINE(K1,REF(C,K1-1),REF(C,K1-1),10,0),ColorFF00FF;
STICKLINE(高量柱,OPEN,CLOSE,8,0),COLORYELLOW;
A:=if(hhv(v,20)=v,h,0);
PL:=BARSLAST(A);
最大量的最高价:REF(HIGH,PL),LINETHICK, colorwhite;
STICKLINE(BARSLAST(A),REF(HIGH,PL),REF(HIGH,PL),4,0),POINTDOT,COLORwhite,LINETHICK2;
STICKLINE(BARSLAST(A),REF(Low,PL),REF(low,PL),4,0),POINTDOT,COLORmagenta,LINETHICK2;
J:="KDJ.J";
A:=CROSS(J,0);
SEL1:=FILTER(REF(J,1)>75 AND J<REF(J,1),3);
B:=SEL1;
stickline(A,c,o,8,0),colormagenta;
stickline(B,open,CLOSE,6,0),COLORBLUE;
//大資金活動
VAR6:=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);
VAR7:=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);
VAR8:=VAR6<REF(VAR7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
大資金活動:VAR8 AND COUNT(VAR8,18)=1, linethick0, colormagenta;
DRAWTEXT(VAR8 AND COUNT(VAR8,18)=1,low*0.95,'大资金活動'),colorFF00FF;
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);
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;
大筆出貨:VAR1C AND COUNT(VAR1C,30)=1,colorwhite, linethick0;
DRAWTEXT(大筆出貨,LOW*0.95,'大筆出貨') COLORWHITE;
//T001
收盤:c;
|