{VAR1:=IF(DATE<1080415 AND DATE>680401,1,0);}
操盘线: MA(C,4){*VAR1},COLORRED,LINETHICK3;
安全线: MA(C,19){*VAR1},COLORGRAY,LINESTICK,LINETHICK1;
牛熊分界线: MA(C,200){*VAR1},COLORYELLOW,CIRCLEDOT,LINETHICK1;
DRAWTEXT(CROSS(安全线,操盘线) ,H*1.01,'←S 卖出'), COLOR00FF00,LINETHICK9;
DRAWTEXT(CROSS(操盘线,安全线),L*0.99,'←B 买入'),COLORYELLOW,LINETHICK9;
STICKLINE(CROSS(操盘线,安全线) AND BACKSET(CLOSE>操盘线,2) AND (操盘线>安全线) AND (CLOSE>安全线),OPEN,CLOSE,2,1),COLORYELLOW;
STICKLINE(CROSS(安全线,操盘线) AND BACKSET(CLOSE<操盘线,2) AND (操盘线<安全线),OPEN,CLOSE,2,1),COLORLIGREEN;
DRAWICON(CROSS(操盘线,安全线),L*0.98,9);
DRAWICON(CROSS(安全线,操盘线),H*1,2);
上一篇:通达信量价,macd,rsi同主图指标 下一篇:通达信DMI和MACD同时金叉的选股公式