您好,欢迎访问三七文档
11-8-292:5116(COND,PRICE,BMPFILE),COND,PRICEBMPFILEBMP(\USERDATA\BMP)DRAWBMP(CLOSEOPEN,LOW,'SUN')Superstk\UserData\Bmp\Sun.BMPDRAWFLAGTEXT(COND,PRICE,TEXT)DRAWFLAGTEXT(COND,PRICE,TEXT),COND,PRICETEXT,DRAWFLAGTEXT(CLOSE/OPEN1.08,LOW,'')8%,''DRAWGBKDRAWGBK(COND,COLOR),CONDCOLORSTRIPBMP(\USERDATA\BMP)COLOR(COLORRED)DRAWGBK(CLOSEOPEN),COLORREDDRAWGBK(CLOSEOPEN,'MyBMP');USERDATA\BMP\MyBMP.BMPDRAWGBKLASTKDRAWGBKLAST(COND,COLOR),KCONDCOLORCOLORSTRIPBMP(\USERDATA\BMP)(COLORRED)|||9.11-8-292:5126(CLOSEOPEN),COLORRED;KDRAWGBKLAST(CLOSEOPEN,STRIP(RGB(255,0,0),RGB(0,255,0),1));KDRAWICONDRAWICON(COND,PRICE,TYPE),COND,PRICETYPETYPE1—14DRAWICON(CLOSEOPEN,LOW,1)1DRAWLINE(COND1,PRICE1,COND2,PRICE2,EXTEND)COND11PRICE1H,L,C,OCOND22PRICE2EXTEND123DRAWLINE(COND1,PRICE1,COND2,PRICE2,EXPAND)COND1PRICE1COND2PRICE2EXPANDDRAWILINE(HIGH=HHV(HIGH,20),HIGH,LOW=LLV(LOW,20),LOW,1)2020DRAWMOVETEXT(COND,TEXT)DRAWMOVETEXT(COND,TEXT),COND,TEXT,DRAWMOVETEXT(CLOSE/OPEN1.08,'')8%,''DRAWRECTABSDRAWRECTABS(LEFT,TOP,RIGHT,BOTTOM,COLOR),(LEFT,TOP)(RIGHT,BOTTOM),(0,0)COLOR,COLOR0DRAWRECTABS(0,0,100,60,0)100*60DRAWRECTREL11-8-292:5136(LEFT,TOP,RIGHT,BOTTOM,COLOR),(LEFT,TOP)(RIGHT,BOTTOM)1/10000—999,,COLOR,COLOR0DRAWRECTREL(0,0,500,500,RGB(255,255,0))1/4DRAWTEXT(COND,PRICE,TEXT)COND,1PRICETEXT,DRAWTEXT(COND,PRICE,TEXT)CONDPRICETEXTDRAWTEXT(CLOSE/OPEN1.08,LOW,'')8%''DRAWTEXTABSDRAWTEXTABS(X,Y,TEXT),(X,Y)TEXT,(0,0)DRAWTEXTABS(0,0,'')''DRAWTEXTRELDRAWTEXTREL(X,Y,TEXT),(X,Y)TEXT1/1000X,Y0—999,DRAWTEXTREL(0,0,'')''FILLRGNFILLRGN(PRICE1,PRICE2,COND1,COLOR1,COND2,COLOR2...),PRICE1PRICE2COND1,COLOR1COND2,COLOR2COND110FILLRGN(CLOSE,OPEN,CLOSEOPEN,RGB(255,0,0),CLOSEp=FLOATRGN11-8-292:5146(PRICE,WIDTH,COND1,COLOR1,COND2,COLOR2...),PRICEWIDTHWIDTH,COND1,COLOR1COND2,COLOR2COND110FLOATRGN(CLOSE,VOL/HHVALL(VOL)*15,CLOSEOPEN,RGB(255,0,0),1,RGB(0,255,0))15,FLOATSTICKFLOATSTICK(PRICE,WIDTH,COND1,COLOR1,COND2,COLOR2...),PRICEWIDTHWIDTH,COND1,COLOR1COND2,COLOR2COND110FLOATSTICK(CLOSE,VOL/HHVALL(VOL)*20),20HORILINE(COND1,PRICE,COND2,TOLEFT)HORILINE(COND1,PRICE,COND2,TOLEFT),COND1,PRICECOND2,TOLEFT1TOLEFT0HORILINE(HIGH=HHV(HIGH,20),HIGH,HIGH=HHV(HIGH,20))2020PARTLINE(PRICE,COND1,COLOR1,COND2,COLOR2...)PARTLINE(PRICE,COND1,COLOR1,COND2,COLOR2...),PRICECOND1,COLOR1COND2,COLOR2COLOR110PARTLINE(CLOSE,CLOSEOPEN,RGB(255,0,0),CLOSEp=p=11-8-292:5156=PERCENTBAR(P1,P2):PERCENTBAR(P1,P2),P1P20-100P2PERCENTBAR(VOL/CAPITAL*100,REF(VOL/CAPITAL,1)*100),POLYLINE(COND,PRICE)COND1PRICEPOLYLINE(COND,PRICE)CONDPRICEPOLYILINE(HIGH=HHV(HIGH,20),HIGH)20RGBRGB(R,G,B),(R)(G)(B),0-255RGB(255,0,0)RGB(0,0,255).STICKLINE(COND,PRICE1,PRICE2,WIDTH,ATTR)COND1PRICE1PRICE2WIDTH,0-9,0,K8ATTRATTR0ATTR-1000—1000COND,PRICE1PRICE2WIDTH(10),ATTR0ATTR-1000—1000STICKLINE(CLOSEOPEN,CLOSE,OPEN,0.8,501)K,K11-8-292:5166(RGB1,RGB2,DIR),RGB1RGB2DIR=1,RGB1,RGB2RGBDRAWGBKDRAWGBKLASTSTRIP(RGB(255,0,0),RGB(0,255,0),0)TIPTEXTTIPTEXT(COND,PRICE,TEXT),COND,PRICEPRICE0TIPTEXT(CLOSE/OPEN1.08,LOW,':'close)8%,',:15.88'VERTLINEVERTLINE(COND,TYPE),COND,TYPE,TYPE=01'---'2'...'3'-.-.-'4'-..-..-'VERTLINE(HIGH=HHV(HIGH,20),1)20
本文标题:9.绘图函数
链接地址:https://www.777doc.com/doc-5129134 .html