N:=50;
XA_1:=EMA(EMA(CLOSE,13),13);
XA_2:=(XA_1-REF(XA_1,1))/REF(XA_1,1);
XA_3:=CROSS(XA_2,0);
XA_4:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
XA_5:=N;
趋势:IF(CROSS(XA_4,XA_5),1,0);
起妖:XA_3 AND 趋势;
N:=50;
XA_1:=EMA(EMA(CLOSE,13),13);
XA_2:=(XA_1-REF(XA_1,1))/REF(XA_1,1);
XA_3:=CROSS(XA_2,0);
XA_4:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
XA_5:=N;
趋势:IF(CROSS(XA_4,XA_5),1,0);
起妖:XA_3 AND 趋势;