趋势线: 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),COLORYELLOW;
长趋势线: 3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1),3,1),COLORRED,POINTDOT,LINETHICK4;
超长趋势线: 3*SMA((CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100,5,1),3,1),COLORLIGRAY,CIRCLEDOT,COLORLIGRAY;
见底信号: 7;
见顶信号: 90;
买入时间: IF(CROSS(趋势线,见底信号),20,7),COLORGREEN;
买入: IF(CROSS(长趋势线,见底信号),20,7),COLORGREEN;
卖出: IF(CROSS(90,长趋势线),70,90),COLORMAGENTA;
卖出时间: IF(CROSS(90,趋势线),80,90),COLORMAGENTA; |