{VAR1:=IF(DATE<1080415 AND DATE>680401,1,0);}
操盘线: MA(C,4){*VAR1},COLORRED,LINETHICK1;
安全线: MA(C,19){*VAR1},COLORGRAY,LINESTICK,LINETHICK1;
牛熊分界线: MA(C,200){*VAR1},COLORYELLOW,CIRCLEDOT,LINETHICK1;
DRAWTEXT(crOSS(安全线,操盘线) ,H*1.01,' 卖'), COLOR00FF00,LINETHICK9;
DRAWTEXT(CROSS(操盘线,安全线),L*0.99,' 买'),COLORYELLOW,LINETHICK9;
DRAWICON(CROSS(操盘线,安全线),L*0.98,9);
DRAWICON(CROSS(安全线,操盘线),H*1,2);