Hi, With the following code I need to use two colors:
jj = c > O; UpColor = colorgreen; DownColor = colorred; GfxSelectFont( "Arial", 8, 700 ); GfxSetBkMode( 1 ); GfxSetTextColor( IIf( jj , UpColor , DownColor )); pxHeight = Status( "pxchartheight" ) ; //---------- HIGH ---------- OP = "HIGH : " + H; x = 20; //---------- OPEN ---------- HI = "OPEN : " + O; x2 = 20; //---------- CLOSE --------- LO = "CLOSE : " + C; x3 = 20; //---------- LOW ----------- CL = "LOW : " + L; x4 = 20; //-------------------------- y = pxHeight; GfxSelectPen( colorBrightGreen, 0.5 ); GfxRoundRect( 5, y - 93, 120, y , 7, 7 ) ; GfxTextOut( OP , x , y -81) ; GfxTextOut( HI , x2, y -63) ; GfxTextOut( LO , x3, y -45) ; GfxTextOut( CL , x4, y -27) ; _SECTION_END(); But this give me an error.. Thank you for your help. Regards
