VAR1:=Xma(REF((L+OPEN+CLOSE+HIGH)/4,1),2);
VAR2:=SMA(Abs(LOW-VAR1),11,1)/SMA(MAX(LOW-VAR1,0),11,1);
VAR3:=ema(VAR2,3);
VAR4:=LLV(LOW,11);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),5.5);
AA:=IF(VAR5>REF(VAR5,1),VAR5,0),COLORLIMAGENTA,NODRAW;
AA1:=IF(VAR5<REF(VAR5,1),VAR5,0),COLORCYAN,NODRAW;
AA2:EXPMEMA(AA+AA1,1),COLORWHITE,NODRAW;
AA3:=EXPMEMA(AA-AA1,1);
筹码:=EXPMEMA(AA2*AA3,1);
STICKLINE(筹码>REF(筹码,1)AND 筹码>0,0,筹码,3,0),COLORWHITE;
STICKLINE(筹码>REF(筹码,1)AND 筹码>0,0,筹码,2,0),COLORWHITE;
STICKLINE(筹码>REF(筹码,1)AND 筹码>0,0,筹码,1.5,0),COLORWHITE;
STICKLINE(筹码>REF(筹码,1)AND 筹码>0,0,筹码,0.5,0),COLORWHITE;
STICKLINE(筹码>REF(筹码,1)AND 筹码<0,0,筹码,2,0)COLORBLUE;
STICKLINE(筹码<REF(筹码,1)AND 筹码<0,0,筹码,3,0),COLORBLUE;
STICKLINE(筹码<REF(筹码,1)AND 筹码<0,0,筹码,3,0),COLORBLUE;
STICKLINE(筹码<REF(筹码,1)AND 筹码<0,0,筹码,2,0),COLORYELLOW;
STICKLINE(筹码<REF(筹码,1)AND 筹码<0,0,筹码,1,0),COLORCC00FF;
DRAWTEXT(crOSS(0,筹码),筹码,'*买'),COLORWHITE;
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
注意: IF(CROSS(J,3),95,0),COLORBLUE,LINETHICK2;