警戒:(1-3/100)*MA(CLOSE,20)LINETHICK2;
TAI:MA(CLOSE,20),POINTDOT;
趋势:MA(CLOSE,5)LINETHICK2;
条件1:=警戒>=REF(警戒,1);
条件2:=趋势-0.03>REF(趋势,1);
条件3:=趋势>=警戒 AND LLVBARS(L,21)<5;
条件4:=REF(L,1)<=警戒 OR REF(L,2)<=警戒 OR REF(L,3)<=警戒;
条件5:=crOSS(趋势,警戒)AND REF( 警戒>趋势,2);
条件6:=条件1 AND (REF(CROSS(REF(OPEN,1),警戒),1) OR REF(CROSS(REF(CLOSE,1),警戒),1) OR REF(CROSS(REF(L,1),警戒),1) );
DRAWTEXT(FILTER(条件4 AND 条件3 AND 条件2 AND 条件1 OR 条件5 OR 条件6,3),警戒,'★')COLORBLUE;