T1:=REF(MA(C,18),N)>REF(MA(C,47),N) AND REF(MA(C,47),N)>REF(MA(C,76),N);
T2:=REF(MA(C,18),N+1)>REF(MA(C,47),N+1) AND REF(MA(C,47),N+1)>REF(MA(C,76),N+1);
T3:=REF(MA(C,18),N+2)>REF(MA(C,47),N+2) AND REF(MA(C,47),N+2)>REF(MA(C,76),N+2);
TT1:=T1 AND T2 AND T3;
T4:=REF(MA(C,18),N)>=REF(MA(C,18),N+1) AND REF(MA(C,18),N+1)>=REF(MA(C,18),N+2);
T5:=REF(MA(C,47),N)>=REF(MA(C,47),N+1) AND REF(MA(C,47),N+1)>=REF(MA(C,47),N+2);
T6:=REF(MA(C,76),N)>=REF(MA(C,76),N+1) AND REF(MA(C,76),N+1)>=REF(MA(C,76),N+2);
TT2:=T4 AND T5 AND T6;
LLN0:=ABS(REF(L,N)-REF(MA(C,47),N))/REF(MA(C,47),N);
LLN1:=ABS(REF(L,N+1)-REF(MA(C,47),N+1))/REF(MA(C,47),N+1);
LLN2:=ABS(REF(L,N+2)-REF(MA(C,47),N+2))/REF(MA(C,47),N+2);
LLN3:=ABS(REF(L,N+3)-REF(MA(C,47),N+3))/REF(MA(C,47),N+3);
LLN4:=ABS(REF(L,N+4)-REF(MA(C,47),N+4))/REF(MA(C,47),N+4);
LLN5:=ABS(REF(L,N+5)-REF(MA(C,47),N+5))/REF(MA(C,47),N+5);
LL1:=IF(LLN0>LLN1,LLN1,LLN0);
LL2:=IF(LL1>LLN2,LLN2,LL1);
LL3:=IF(LL2>LLN3,LLN3,LL2);
LL4:=IF(LL3>LLN4,LLN4,LL3);
LL5:=IF(LL4>LLN5,LLN5,LL4);
T7:=REF(C,N+2)<=REF(MA(C,18),N+2) AND REF(C,N+2)>=REF(MA(C,47),N+2);
T8:=LL5<0.02;
T9:=CROSS(REF(C,N),REF(MA(C,18),N));
T10:=REF(V,N)>REF(V,N+1);
TT3:=T7 AND T8 AND T9 AND T10;
T:TT1 AND TT2 AND TT3;
這是通達(dá)信上運行的公式,其中N為天數(shù),指N天前出現(xiàn)空中加油。N=0指當(dāng)今天出現(xiàn)空中加油
(南方財富網(wǎng)SOUTHMONEY.COM)(責(zé)任編輯:張曉軒)