A01:=(C+O+L+H)/4;
A02:=(WINNER((A01*1.05))*100.00);
A03:=(WINNER((A01*0.95))*100.00);
主力:A03,COLORGRAY,LINETHICK2;
游资:=(A02-A03),NODRAW;
散户:=(100.00-A02),NODRAW;
STICKLINE( 1.00,0,主力,0.1,0),COLORGRAY;
A0A:=(((((HHV(主力,15.00)-A03)/A03)*100.00) > N) AND (HHV(主力,15.00)>50.00));
STICKLINE(A0A,(0-2.00), 2.00,0.1,0),COLORYELLOW;
STICKLINE(NOT(A0A),(0-2.00), 2.00,0.1,0),COLORMAGENTA;
主力盈利比例:EMA(A03,M),COLORRED;
界线:50,COLORYELLOW,DOTLINETHICK1;
VAR1:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);
0,COLORYELLOW;
90,COLORGREEN;
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
STICKLINE(FILTER(VAR6,10)=1,0,50,1,0),COLORYELLOW;
DRAWTEXT(FILTER(VAR6,10)=1,-10,'▲'),LINETHICK2,COLORRED;
VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;
STICKLINE(FILTER(VAR7,5)=1,0,80,3,0),COLORGREEN;
DRAWTEXT(FILTER(VAR7,5)=1,90,'▼'),LINETHICK3,COLORCYAN;
BAR1:=REF(LOW,1);
BAR2:=SMA(ABS(LOW-BAR1),13,1)/SMA(MAX(LOW-BAR1,0),13,1)*4;
BAR3:=EMA(BAR2,13);BAR4:=LLV(LOW,34);
BAR5:=EMA(IF(LOW<=BAR4,BAR3,0),3);
BAR6:=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);
BAR7:=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);
BAR8:=BAR6REF(VOL,1) AND CLOSE>REF(CLOSE,1);
STICKLINE(BAR8 AND COUNT(BAR8,30)=1,0,80,3,0),COLORMAGENTA;
DRAWTEXT(BAR8 AND COUNT(BAR8,30)=1,90,'★'),COLORMAGENTA;
VAR11:=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);
VAR12:=EMA(VAR1,8);
VAR13:=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);
趋势:EMA(VAR3,3)-10,LINETHICK1,COLORYELLOW;
A1:IF(趋势>75,趋势,80),COLORGREEN;
DRAWICON(CROSS(趋势,0),-10,1);
建仓:=0,COLORYELLOW;
VAR14:=(趋势-REF(趋势,1))/REF(趋势,1)*100;
STICKLINE(趋势<=4,0,20,1,0),COLORYELLOW;
DRAWTEXT(FILTER(趋势<=4,10),20,''),COLORYELLOW;
STICKLINE(趋势>=90 AND VAR4,0,20,1,0),COLORCYAN;