关于大智慧尾盘拉升股价的选股公式的问题

大智慧尾盘拉升股价的选股公式要设置一个条件源码和颜色函数,具体设置如下,请参考:

N:=2;

C1:=REFX(C,1)*1.01;

O1:=REFX(O,1)*0.99;

C2:=REF(C,N)*1.01;

O2:=REF(O,N)*0.99;

T0:=(REF(C,N)-REF(O,N))/REF(O,N)*100>3;

T1:=BETWEEN(HHV(C,N+1),O1,C1) AND BETWEEN(HHV(O,N+1),O1,C1);

T2:=BETWEEN(LLV(C,N+1),O1,C1) AND BETWEEN(LLV(O,N+1),O1,C1);

T3:=BETWEEN(HHV(C,N),O2,C2) AND BETWEEN(HHV(O,N),O2,C2);

T4:=BETWEEN(LLV(C,N),O2,C2) AND BETWEEN(LLV(O,N),O2,C2);

T5:=(REFX(C,1)-REFX(O,1))/REFX(O,1)*100>3;

BARSLAST(T0 AND T1 AND T2 AND T3 AND T4 AND T5)>1;