N:=1,100,20;
M:=1,100,32;
P1:=1,100,80;
P2:=1,100,100;
VAR1:=(C+H+O+L)/4;
賣出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;
買入:XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2;
幅度:100*(賣出-買入)/買入,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(賣出》LOW AND 賣出《HIGH,賣出,MAX(賣出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;
STICKLINE(賣出》MIN(C,O) AND 賣出《MAX(C,O),賣出,MAX(OPEN,CLOSE),3,0),COLORGREEN;
STICKLINE(賣出》LOW AND 賣出《HIGH,賣出,HIGH,0,0),COLORGREEN;
(南方財(cái)富網(wǎng)SOUTHMONEY.COM)