a:2;
蓝线:=HHV(high , 5);
红线:=LLV(L , 5);
卖出:=IF(C<蓝线*0.96,0.6,0);
买进:=IF(C>红线*1.04,0.5,0);
牛胜利:if(卖出=0 and 买进=0.5,1,0),STICK,COLOR0000CC,LINETHICK7;
熊胜利:if(买进=0 and 卖出=0.6,1,0),STICK,colorblue,LINETHICK7;
平分秋色:if(买进=0.5 and 卖出=0.6,0.68,0),STICK,coloryellow,LINETHICK7;
相安无事:if(买进=0 and 卖出=0,0.68,0),STICK,colorCYAN,LINETHICK7;