MA18:=MA(CLOSE,18);:=C-REF(C,1);DX:=100*EMA(EMA(MTM,7),7)/EMA(EMA(A(MTM),7),7);买:=LLV(DX,3)=LLV(DX,8) AND COUNT(DX50,2) AND CROSS(MA(DX,2),DX);DRAWTEXT(FILTER(卖一=1,1),HIGH*1.02,'★卖'),colorgreen;
KU1:=IF(HIGH=HHV(HIGH,3),1,0);1:=IF(LOW=LLV(LOW,3),1,0);UL:=IF(REF(KU1,2)=1 AND REF(KU1,1)=0AND KU1=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1,2)=1AND REF(KU1,1)=0 AND KU1=0)));DL:=IF(REF(KD1,2)=1 AND ...