UP:DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1) AND L=LLV(L,D) AND RMA =NMA,L,H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1) AND H=HHV(H,D) AND RMA =NMA,H,0),COLOR0000FF,LINETHICK2;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_通达信股票指标公式}
DOWN:DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1) AND H=HHV(H,D) AND RMA =NMA,H,L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1) AND L=LLV(L,D) AND RMA =NMA,L,0),COLOR00FF00,LINETHICK2;
UH:HHV(H,55),COLORBROWN;
MID:(HHV(H,55)+LLV(L,55))/2,COLORBROWN;
DL:LLV(L,55),COLORBROWN;