上下趨勢
VAR1:=(C+H+O+L)/4;
賣(mài)出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;
買(mǎi)入:XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2;
幅度:100*(賣(mài)出-買(mǎi)入)/買(mǎi)入,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(賣(mài)出》LOW AND 賣(mài)出《HIGH,賣(mài)出,MAX(賣(mài)出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;
STICKLINE(賣(mài)出》MIN(C,O) AND 賣(mài)出《MAX(C,O),賣(mài)出,MAX(OPEN,CLOSE),3,0),COLORGREEN;
STICKLINE(賣(mài)出》LOW AND 賣(mài)出《HIGH,賣(mài)出,HIGH,0,0),COLORGREEN;
STICKLINE(賣(mài)出《LOW,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(賣(mài)出《LOW,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(買(mǎi)入》LOW AND 買(mǎi)入《HIGH,買(mǎi)入,MIN(MIN(OPEN,CLOSE),買(mǎi)入),3,0),COLORMAGENTA;
STICKLINE(買(mǎi)入》MIN(C,O) AND 買(mǎi)入《MAX(C,O),買(mǎi)入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;
STICKLINE(買(mǎi)入》LOW AND 買(mǎi)入《HIGH,買(mǎi)入,LOW,0,0),COLORMAGENTA;
STICKLINE(買(mǎi)入》HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(買(mǎi)入》HIGH,HIGH,LOW,0,0),COLORMAGENTA;
DRAWTEXT(CROSS(LOW,買(mǎi)入),LOW*0.95,‘B’),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(賣(mài)出,HIGH),HIGH*1.02,‘S’),COLORGREEN;
(南方財富網(wǎng)SOUTHMONEY.COM)