公式用法:每根线都是压力和支撑,两根红线是重压力和强支撑,简洁明了 ah:hhvall(h); al:llvall(l); ahl:=ah-al; a23:al+ahl*0.125,COLORYELLOW,DOTLINE; a38:al+ahl*0.25,COLOREE00EE,DOTLINE; a50:al+ahl*0.333, COLORred,LINETHICK1; a61:al+ahl*0.375, COLORred,LINETHICK1; a76:al+ahl*0.5,COLORYELLOW,DOTLINE; a77:al+ahl*0.625,COLORred,LINETHICK1; a78:al+ahl*0.677,COLORred,LINETHICK1; a79:al+ahl*0.75,COLORYELLOW,DOTLINE; a80:al+ahl*0.875,COLORYELLOW,DOTLINE; {标注数字}y:=999;DRAWTEXTREL(500,0,'99.99% '+ah),COLOREE00EE; DRAWTEXTREL(500,y*0.125,'87.5% '),COLORYELLOW; DRAWTEXTREL(500,y*0.25,'75% '),COLOREE00EE; DRAWTEXTREL(500,y*0.333,'67.7 %'),COLORred,LINETHICK2; DRAWTEXTREL(500,y*0.5,' 50%'),COLOREE00EE; DRAWTEXTREL(500,y*0.375,'62.5% '),COLORYELLOW; DRAWTEXTREL(500,y*0.625,'37.5% '),COLOREE00EE; DRAWTEXTREL(500,y*0.677,'33.3% '),COLORYELLOW; DRAWTEXTREL(500,y*0.75,'25% '),COLOREE00EE; DRAWTEXTREL(500,y*0.875,'12.5% '),COLORYELLOW; DRAWTEXTREL(500,y-30,'最低 '+al),COLOREE00EE; |
