箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00;
t4:=CROSS(选手,箱底) AND 箱顶/箱底>110/100;
t5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100;
DRAWICON(t2 OR t4,l,1);
DRAWICON(t3 OR t5,h,2);
Var1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=SMA(Var3,3,1);
t6:=DRAWTEXT(Var3>=Var4,箱顶,'大盘中期好'),COLOR00FFFF;{持仓区,大盘中期向好!}
t7:=DRAWTEXT( A>B,箱底,'大盘短期好'),COLOR00FFFF;{大盘短期向好!}
DRAWTEXT(CROSS(Var3,Var4) AND Var3<40,箱底,'逢低吸呐'),COLORf00ff0;
t8:=DRAWTEXT( Var3
t9:=DRAWTEXT(A
DRAWTEXT(CROSS(Var4,Var3) AND Var4>75,箱顶,'逢高减磅'),COLORf0f000;