主图指标:EMA(通达信最好的,9),LINETHICK0;{股票公式-股票指标www.gs6699.com}
DRAWBAND(通达信最好的,RGB(155,50,50),主图指标,RGB(0,100,50));
MACD:2*(通达信最好的-主图指标), COLORSTICK,LINETHICK2;
STICKLINE(MACD REF(MACD,1)AND MACD 0,0,MACD,0.5,0),COLORFFFF00;
STICKLINE(MACD REF(MACD,1)AND MACD 0,0,MACD,0.5,0)COLOR00FF00;
STICKLINE(MACD REF(MACD,1)AND MACD,0,MACD,0.5,0),COLOR00FFFF;
STICKLINE(MACD REF(MACD,1)AND MACD 0,0,MACD,0.5,0),COLORRED;
vvddds1:IF(通达信最好的 =主图指标,通达信最好的,DRAWNULL),COLORRED;
vvddds2:IF(主图指标 =通达信最好的,主图指标,DRAWNULL),COLORFF9900;
vvddds3:IF(通达信最好的 =主图指标,主图指标,DRAWNULL),COLOR00FFFF;
vvddds4:IF(主图指标 =通达信最好的,通达信最好的,DRAWNULL),COLOR00FF00;
AA:=BARSLAST(REF(CROSS(通达信最好的,主图指标),1));
BB:=REF(CLOSE,AA+1) CLOSE AND 通达信最好的 REF(通达信最好的,AA+1) AND CROSS(通达信最好的,主图指标);
vvddds8:DRAWLINE(AA=0,主图指标,BB,主图指标,0),COLOR0000FF;
STICKLINE(BB,0,5,0,1),COLORFFFFFF;