发布网友 发布时间:2022-04-19 15:16
共1个回答
热心网友 时间:2023-07-21 15:26
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:= (20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
马线:=MA(牛线,6);
A:=MAX(MA(C,60),MA(C,120));
B:=MIN(MA(C,60),MA(C,120));
E:=MAX(MA(C,45),MA(C,90));
F:=MIN(MA(C,45),MA(C,90));
J:=MAX(MA(C,30),MA(C,60));
K:=MIN(MA(C,30),MA(C,60));
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;