1.���߽Ƕ�ѡ��ָ�깫ʽԴ��
���߽Ƕ�ѡ��ָ�깫ʽԴ��
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;牛线:= (*MID+*REF(MID,1)+*REF(MID,2)+*REF(MID,3)+*REF(MID,4)+*REF(MID,5)+*REF(MID,6)+*REF(MID,7)+*REF(MID,8)+*REF(MID,9)+*REF(MID,)+9*REF(MID,)+8*REF(MID,)+7*REF(MID,)+6*REF(MID,)+5*REF(MID,)+4*REF(MID,)+3*REF(MID,)+2*REF(MID,)+REF(MID,))/;
马线:=MA(牛线,6);
A:=MAX(MA(C,),MA(C,));
B:=MIN(MA(C,),MA(C,));
E:=MAX(MA(C,),MA(C,));
F:=MIN(MA(C,),MA(C,));
J:=MAX(MA(C,),MA(C,));
K:=MIN(MA(C,),MA(C,));
T1:=CROSS(C,牛线) AND CROSS(C,A) AND CROSS(C,E) AND CROSS(C,J);
T2:=NOT(牛线>=C AND C>=马线) AND NOT(A>=C AND C>=B) AND NOT(E>=C AND C>=F) AND NOT(J>=C AND C>=K);
T3:=NOT(C<马线) AND NOT(C<=B) AND NOT(C<F) AND NOT(C<K);
XG:T1=1 AND T2=1 AND T3=1;