VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
高抛: 80;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
SK: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),COLORRED,LINETHICK2;
SD: EMA(SK,3),COLORGREEN,LINETHICK2;
低吸: 20;
强弱分界: 50;
VAR4:=IF(CROSS(SK,SD),40,22);
VAR5:=IF(CROSS(SD,SK),60,78);
卖出: VAR5;
买进: VAR4;
{以下两行为老浩添加,增添了买卖提示信号,其中的数据20和80可根据需要作修改}
DRAWICON(SK<20 AND SD<20 AND CROSS(SK,SD),SK,13);
DRAWICON(SK>80 AND SD>80 AND CROSS(SD,SK),SD,14);