趋势线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), , COLORBLUE;
STICKLINE(趋势线,趋势线,100,8,0),COLORFAFFB4;
见底信号:5, , COLORYELLOW;
买点准备: IF(趋势线<=10,10,0),STICK ,,LINETHICK6, COLOR00C346;
买入时间1: IF(crOSS(趋势线,见底信号),5,0),STICK , COLORRED;
买入时间2: IF(CROSS(趋势线,10),5,0),STICK , COLORF0F000;
见顶信号1:90,COLORFAFFB4;
见顶信号2:85,COLORFAFFB4;
见顶信号3:80,COLORFAFFB4;
STICKLINE(趋势线,趋势线,0,8,0),COLORBLUE;
DRAWTEXT(CROSS(见顶信号1,趋势线),趋势线-5,'▲'),COLORRED;
DRAWTEXT(CROSS(见顶信号2,趋势线),趋势线-5,'▲'),COLORYELLOW;
DRAWTEXT(CROSS(见顶信号3,趋势线),趋势线-5,'▲'),COLORF0F000;
DRAWTEXT(CROSS(趋势线,见底信号),100,'★'),COLORRED;
DRAWTEXT(FILTER(CROSS(趋势线,10),15),60,'底'),COLORRED;
DRAWTEXT(FILTER(CROSS(趋势线,10),15),40,'买'),COLORRED;
DRAWTEXT(FILTER(CROSS(趋势线,10),15),20,'★'),COLORYELLOW;