MA10:=MA(C,10);
MA20:=MA(C,20);
买线:=ZIG(3,10);
卖线:=MA(买线,3);
换手:=V/CAPITAL*100;
基线:MA(REF(LLV(C,30),1),2),NODRAW;
IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100 100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),NODRAW;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
STICKLINE(CROSS(买线,卖线),O,C,9,0),COLOR00AAFF;
STICKLINE(买线 卖线,H,L,0,0),COLORGREEN;
STICKLINE(买线 卖线,C,O,10,0),COLOR007700;
STICKLINE(买线 卖线,C,O,8,0),COLOR008E00;
STICKLINE(买线 卖线,C,O,7,0),COLOR009900;
STICKLINE(买线 卖线,C,O,6,0),COLOR00A600;
STICKLINE(买线 卖线,C,O,5,0),COLOR00B500;
STICKLINE(买线 卖线,C,O,4,0),COLOR00C600;
STICKLINE(买线 卖线,C,O,3,0),COLOR00D500;
STICKLINE(买线 卖线,C,O,2,0),COLOR00E600;
STICKLINE(买线 =卖线,H,L,0,0),COLOR0000FF;
STICKLINE(买线 =卖线,C,O,10,0),COLOR0000A3;
STICKLINE(买线 =卖线,C,O,8,0),COLOR0000B7;
STICKLINE(买线 =卖线,C,O,6,0),COLOR0000C8;
STICKLINE(买线 =卖线,C,O,5,0),COLOR0000D9;
STICKLINE(买线 =卖线,C,O,4,0),COLOR0000CD;
STICKLINE(买线 =卖线,C,O,3,0),COLOR0000E9;
STICKLINE(买线 =卖线,C,O,2,0),COLOR0000EA;
STICKLINE(买线 =卖线,C,O,1,0),COLOR0000FF;
STICKLINE(C 1.095*REF(C,1),O,C,8,0),COLORMAGENTA;
VARF1:=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);
VAR101:=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);
VAR111:=VARF1 REF(VAR101,1) AND REF(VOL,1) AND CLOSE REF(CLOSE,1);
游资:=(VAR111 AND COUNT(VAR111,30)=1 AND 买线 =卖线);
DRAWTEXT(游资,(基线*0.97), -游资 ),COLORLIBLUE;
STICKLINE(游资,(基线*0.96),(基线+0.2),9,0),COLORLIBLUE;