五线多头排列第一阳
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA60:=MA(C,60);
MA120:=MA(C,120);
A1:=REF(MA60,1)>REF(MA120,1) AND MIN(REF(MA5,1),MIN(REF(MA10,1),REF(MA20,1)))>REF(MA60,1) AND REF(MA5,1)<REF(MA10,1)
OR REF(MA5,1)<REF(MA20,1);
A2:=MA60>MA120 AND MIN(MA5,MIN(MA10,MA20))>MA60 AND MA5>MAX(MA10,MA20);
A3:=C>OPEN AND C>MA5;
XG:A1 AND A2 AND A3;