卖出线: 99;
阶段卖: 90;
趋势: 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);
底部: 10;
买入警戒: IF(趋势 =10,50,0);
买入信号: IF(CROSS(趋势,底部),100,0);
卖出警戒: IF(趋势 =90,50,100)