QK1:MA(CLOSE,144),DOTLINE,COLORRED;
QK2:MA(CLOSE,169),DOTLINE,COLORBLUE;
OFII:MA(CLOSE,209);
MA4:MA(CLOSE,377);
MA5:MA(CLOSE,610),,DOTLINE,COLORCYAN;
IF(OFII>REF(OFII,1) AND OFII>REF(OFII,2),OFII,DRAWNULL),COLORRED,LINETHICK2;
AMOW:=AMOUNT/10000.0;
K1:=C>=REF(C,1)*1.02 AND AMOW>=REF(AMOW,1)*1.2;
KK:=AMOUNT>REF(AMO,1)*1.2;
KK1:=C>REF(C,1)*1.02;
TJ:=KK AND KK1;
OO:STICKLINE(TJ,LLV(L,2),LLV(L,2),10,0),COLORGREEN;
OO1:STICKLINE(TJ,C,O,3,0),COLORRED;
DRAWNUMBER(TJ ,LLV(L,2),LLV(L,2));
黄马甲:STICKLINE( C>REF(C,1)*1.03 AND V>REF(LLV(V,3),1)*2 AND C>O, C,O,3,0),COLORYELLOW;
红马甲:STICKLINE(C>REF(C,1)*1.095 AND C=H,C,O,1.5,0),COLORRED;