N1:=30; N2:=20; N3:=10; DRAWTEXT(T1=1 AND CURRBARSCOUNT=N1 AND PERIOD=5,AAA-(AAA*TS1),'【獲利盤%】'),COLORRED; DRAWTEXT(T2=1 AND CURRBARSCOUNT=N1 AND PERIOD=5,AAA-(AAA*TS2),'【套牢盤%】'),COLOR00FF00; DRAWTEXT(T3=1 AND CURRBARSCOUNT=N1 AND PERIOD=5,AAA-(AAA*TS3),'【90%成本集中度】'),COLORYELLOW; DRAWTEXT(T4=1 AND CURRBARSCOUNT=N1 AND PERIOD=5,AAA-(AAA*TS4),'【70%成本集中度】'),COLOR008FFF; DRAWTEXT(T5=1 AND CURRBARSCOUNT=N2 AND PERIOD=5,AAA-(AAA*TS5),'【平均成本】'),COLORFF99FF; DRAWTEXT(T6=1 AND CURRBARSCOUNT=N2 AND PERIOD=5,AAA-(AAA*TS6),'【主力成本】'),COLORFF00FF; DRAWTEXT(T7=1 AND CURRBARSCOUNT=N2 AND PERIOD=5,AAA-(AAA*TS7),'【短期壓力】'),COLORFFFFBF; DRAWTEXT(T8=1 AND CURRBARSCOUNT=N2 AND PERIOD=5,AAA-(AAA*TS8),'【短期支撐】'),COLORF0F000; DRAWTEXT(T9=1 AND CURRBARSCOUNT=N3 AND PERIOD=5,AAA-(AAA*TS9),'【中價(jià)】'),COLORWHITE; DRAWTEXT(T10=1 AND CURRBARSCOUNT=N3 AND PERIOD=5,AAA-(AAA*TS10),'【近高】'),COLORFFFFBF; DRAWTEXT(T11=1 AND CURRBARSCOUNT=N3 AND PERIOD=5,AAA-(AAA*TS11),'【近低】'),COLORF0F000; DRAWTEXT(T12=1 AND CURRBARSCOUNT=N3 AND PERIOD=5,AAA-(AAA*TS12),'【最高】'),COLORFF99FF; DRAWTEXT(T13=1 AND CURRBARSCOUNT=N3 AND PERIOD=5,AAA-(AAA*TS13),'【最低】'),COLORFF00FF;
DRAWNUMBER(T1=1 AND CURRBARSCOUNT=N1-6 AND PERIOD=5,AAA-(AAA*TS1),CONST(獲利盤%)),COLORRED; DRAWNUMBER(T2=1 AND CURRBARSCOUNT=N1-6 AND PERIOD=5,AAA-(AAA*TS2),CONST(套牢盤%)),COLOR00FF00; DRAWNUMBER(T3=1 AND CURRBARSCOUNT=N1-7 AND PERIOD=5,AAA-(AAA*TS3),CONST(集中度90%)),COLORYELLOW; DRAWNUMBER(T4=1 AND CURRBARSCOUNT=N1-7 AND PERIOD=5,AAA-(AAA*TS4),CONST(集中度70%)),COLOR008FFF; DRAWNUMBER(T5=1 AND CURRBARSCOUNT=N2-6 AND PERIOD=5,AAA-(AAA*TS5),CONST(平均成本)),COLORFF99FF; DRAWNUMBER(T6=1 AND CURRBARSCOUNT=N2-6 AND PERIOD=5,AAA-(AAA*TS6),CONST(主力成本)),COLORFF00FF; DRAWNUMBER(T7=1 AND CURRBARSCOUNT=N2-6 AND PERIOD=5,AAA-(AAA*TS7),CONST(短期壓力)),COLORFFFFBF; DRAWNUMBER(T8=1 AND CURRBARSCOUNT=N2-6 AND PERIOD=5,AAA-(AAA*TS8),CONST(短期支撐)),COLORF0F000; DRAWNUMBER(T9=1 AND CURRBARSCOUNT=N3-4 AND PERIOD=5,AAA-(AAA*TS9),CONST(中價(jià))),COLORWHITE; DRAWNUMBER(T10=1 AND CURRBARSCOUNT=N3-4 AND PERIOD=5,AAA-(AAA*TS10),CONST(近高)),COLORFFFFBF; DRAWNUMBER(T11=1 AND CURRBARSCOUNT=N3-4 AND PERIOD=5,AAA-(AAA*TS11),CONST(近低)),COLORF0F000; DRAWNUMBER(T12=1 AND CURRBARSCOUNT=N3-4 AND PERIOD=5,AAA-(AAA*TS12),CONST(最高)),COLORFF99FF; DRAWNUMBER(T13=1 AND CURRBARSCOUNT=N3-4 AND PERIOD=5,AAA-(AAA*TS13),CONST(最低)),COLORFF00FF;