顶:=HHV(V,90);
底:=LLV(V,90);
下:=底+(顶-底)*0.28;
T1:=V<REFDATE(下,DATE);
XA_1:=1*AMOUNT;
XA_4:=HHV(XA_1,30)=XA_1;
T2:=XA_4>0 AND COUNT(XA_4,5)<3;
抬头线:=(EMA(C,5) * 7 + EMA(C,10) * 3) / 10;
AZ:=EMA((EMA(CLOSE,29)+EMA(CLOSE,31)+EMA(CLOSE,33))/3,3);
轴线:=REF(AZ,1);
T3:=C>轴线 AND REF(C,1)<轴线 AND COUNT(C<轴线,4)>2 AND 抬头线>REF(抬头线,1) AND
REF(抬头线,1)>REF(抬头线,2);
XG:T1 AND T2 AND T3;
{XG1:T1 AND T2 AND 抬头线>REF(抬头线,1) AND REF(抬头线,1)>REF(抬头线,2) AND
抬头线-轴线>0.01 AND REF(抬头线,1)<REF(轴线,1),COLORYELLOW;}