画面起点:=SYSPARAM(2);画面终点:=SYSPARAM(3);画面数:=画面终点-画面起点+1;最高:=HHV(,画面K线数);视高:最高[画面终点],LINETHICK1,LINEDOT,Color006600;0.5*视高,Color006600,LINETHICK1,LINEDOT;{空跌}var910:=100*(c-cost(10))/cost(10);空度:if(var910<0,var910,0),coloryellow,linethick0;空跌:=视高+空跌幅度*视高/20,linethick0,COLOR008800;FILLRGN(空跌<视高,if(空跌<视高*0.6,视高*0.6,空跌),视高*0.999),COLOR005000;