源码
a: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);
a1:ma(a,2);
a2:ma(a,3);
a3:ma(a,4);
a4:ma(a,5);
a5:ma(a,6);
DRAWTEXT(CROSS(a,a1),a-5,'买入');
DRAWTEXT(CROSS(a2,a),a5+10,'卖出'),colorgreen;
STICKLINE(CROSS(a,a1),a,a-2,3,0),colorred;
STICKLINE(CROSS(a2,a),a5,a5+2,3,0),colorgreen;
选股:if(CROSS(a,a1) and a<30,1,0),LINETHICK0;