N:=20;
VAR1:VOL/REF(VOL,1)*100,NODRAW ;
6;50;100;15;30;
获利盘:EMA(WINNER(C)*100,20);
近邻筹码:EMA((WINNER(C*POW(1.1,0.75))*100-WINNER(C*POW(1.1,-0.75))*100),20);
VAR6:EMA((获利盘-近邻筹码),10),COLORFFFFFF,LINETHICK2;
VAR7:EMA((获利盘-近邻筹码),5),LINETHICK1;
AA:=IF(VAR6>=N,VAR6,N);
QSSJ:=BARSLAST(COUNT(VAR6>=N,2)=2);
VAR10:=IF(QSSJ<=3 AND COUNT(VAR6<REF(VAR6,1),2)=2,-10,N);
STICKLINE(AA>N AND AA>REF(AA,1),N,AA,2,0),COLOR0000FF;
STICKLINE(AA>N AND AA<REF(AA,1),N,AA,2,0),COLORFFFF00;
IF(AA>=REF(AA,1),AA,DRAWNULL),COLORRED,LINETHICK2;
IF(AA<=REF(AA,1),AA,DRAWNULL),COLORFFFF00,LINETHICK2;
IF(AA=REF(AA,1),AA,DRAWNULL),COLOR00FFFF,LINETHICK2;
XUANGU:VAR1>270 AND C>=OPEN AND C>REF(C,1);
DRAWICON(XUANGU,VAR6,1);
VAR18:=获利盘>REF(获利盘,1);
STICKLINE(VAR18,-2,0,2,0),COLORFFFF00;