Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
長(cháng)趨勢:3*Q3-2*Q4,COLORWHITE,LINETHICK3;
趨勢線(xiàn):EMA(Q3, 3),COLORRED,LINETHICK3;
DRAWTEXT(CROSS(趨勢線(xiàn), 長(cháng)趨勢) AND REF(長(cháng)趨勢,1)>80, REF(長(cháng)趨勢,3), '*頂'),COLORRED,LINETHICK5;
★逢低買(mǎi)入: DRAWTEXT(REF(CROSS(趨勢線(xiàn),長(cháng)趨勢),82) AND 趨勢線(xiàn)>1.3*長(cháng)趨勢,長(cháng)趨勢,'★買(mǎi)入'),LINETHICK2,Color9500FF;
★低買(mǎi): DRAWTEXT(REF(CROSS(長(cháng)趨勢,趨勢線(xiàn)),1) AND 長(cháng)趨勢>1.3*趨勢線(xiàn),趨勢線(xiàn),'★低買(mǎi)'),COLORRED,LINETHICK1;
VAR3:=PEAKBARS(3,15,1)<10;
VAR5:=IF(VAR3=1,2,0);
頂:= IF(VAR5=2,2,0);
頂A:IF(頂>REF(頂,1),50,0),COLORGREEN;
DRAWTEXT(頂A=50,45,'快走'),COLOR00FF00;(南方財富網(wǎng)SOUTHMONEY.COM)
(責任編輯:張曉軒)