放塔:CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,1)=REF(CLOSE,5)),IF(REF(CLOSE,5)REF(MA(C,5),1),COLORRED;
{ _最新股票指标公式}
收塔:CLOSEREF(CLOSE,3) AND IF(REF(CLOSE,3)>REF(CLOSE,4),1,IF(REF(CLOSE,4)>REF(CLOSE,5),REF(CLOSE,1)>REF(CLOSE,4) OR (REF(CLOSE,2)>REF(CLOSE,4) AND REF(CLOSE,3)<=REF(CLOSE,5)),IF(REF(CLOSE,5)>REF(CLOSE,6),1,REF(CLOSE,6)>REF(CLOSE,7))))AND CROSS(MA(C,5),C) AND MA(C,5)
DRAWBAND(0>放塔,RGB(0,0,0),0<放塔,RGB(250,0,0));
DRAWBAND(0>收塔,RGB(0,0,0),0<收塔,RGB(0,250,0));
DRAWTEXT(放塔,放塔,'放塔'),COLOR00FFFF;
DRAWTEXT(收塔,收塔,'收塔'),COLORFFFF00;