画线虚实:=1;
显买卖点:=1;
XA_18:=MIN(CLOSE,OPEN);
XA_19:=MAX(CLOSE,OPEN);
XA_30:=画线虚实;
XA_119:=REF(HHV(IF(XA_30=1,XA_19,HIGH),2),1);
XA_120:=FILTER(CLOSE>XA_119,1);
XA_121:=REF(LLV(IF(XA_30=1,XA_18,LOW),2),1);
XA_122:=FILTER(CLOSE<XA_121,1);
XA_123:=XA_120 AND COUNT(XA_120,BArslAST(XA_122))=1 AND 显买卖点=1;
红三角:XA_123;