{莊家控盤} AAA:=(3*CLOSE+OPEN+HIGH+LOW)/6;
MA12:=EMA(AAA,12);
MA36:=EMA(AAA,36);
MA108:=EMA(AAA,108);
MA250:=EMA(AAA,250);
控盤度:(EMA(AAA,12)-REF(EMA(AAA,36),1))/REF(EMA(AAA,36),1)*100+50,NODRAW;
低控盤:IF(控盤度>=50 AND 控盤度<60,控盤度,0),COLORYELLOW,NODRAW;
中控盤:IF(控盤度>=60 AND 控盤度<80,控盤度,0),COLORRED,NODRAW;
高控盤:IF(控盤度>=80 AND 控盤度<100,控盤度,0),COLORMAGENTA,NODRAW;
STICKLINE( 控盤度>=50,50,控盤度,2.5,0),COLORYELLOW;
STICKLINE( 控盤度>=60,60,控盤度,2.5,0),COLORRED;
STICKLINE( 控盤度>=80,80,控盤度,2.5,0),COLORMAGENTA;
{三線扭轉(zhuǎn)}
TS:=BARSCOUNT(CLOSE)>=10; MM:EMA((3*CLOSE+HIGH+LOW+OPEN)/6,20),COLORGRAY,LINETHICK1; FLT:HHV(MM,5),LINETHICK1,COLORYELLOW; FST:MM-(FLT-MM),LINETHICK1; DRAWICON(FLT=FST AND REF(FLT,1)>REF(FST,1) AND TS ,L,42); DRAWICON(FLT>FST AND REF(FLT,1)=REF(FST,1) AND TS,H*1.008,43); 攻擊線:IF(FLT<>FST,DRAWNULL,MA((3*CLOSE+HIGH+LOW+OPEN)/6,5)),COLORGRAY; IF(FLT=FST AND 攻擊線>=REF(攻擊線,1),攻擊線,DRAWNULL),COLORRED;
ZF:=100*(H-L)/REF(C,1); 振幅:=ZF>7; 漲幅:=(C/REF(C,1)-1)*100>=4 AND (C/REF(C,1)-1)*100<=9.92 AND C>O; 陽(yáng)線:=振幅 AND 漲幅; 昨日3倍:=V>=REF(V,1)*3; 昨日2倍:=V>=REF(V,1)*2 AND V>=MA(V,100)*2; 倍量:=昨日3倍 OR 昨日2倍; 陽(yáng)K線:=陽(yáng)線 AND 倍量; STICKLINE(陽(yáng)K線,OPEN,CLOSE,1,0),COLORRED; DRAWTEXT(陽(yáng)K線,C,'倍量陽(yáng)'),LINETHICK3,COLORRED;
TA:=CONST(REF(HHV(HIGH,10),1)); TB:=CONST(REF(LLV(LOW,10),1)); TC:=CURRBARSCOUNT<=11; TD:=CURRBARSCOUNT=11;
LA:IF(TC,TA,DRAWNULL),COLORYELLOW,DOTLINE; LB:IF(TC,TB,DRAWNULL),COLORGREEN,DOTLINE; DRAWTEXT(TD,LA+0.05,VAR2STR(TA,2)),COLORYELLOW; DRAWTEXT(TD,LB+0.05,VAR2STR(TB,2)),COLORGREEN; |
|