Current market price (cmp) afl

#1
hi hello seniors,

Drag n drop CMP AFL for chart.

Query -

Whenever i plot it.. it is coming on LEFT Side of chart.

Kindly help to Plot on Right side or Top middle.


Formula below -

GfxSelectFont("arial", 13, 700 ); GfxSetBkMode( colorYellow );
GfxSetTextColor( ParamColor("Color",colorYellow) );
Hor=Param("Vertical Position",120,10,1200,1);
Ver=Param("Horizontal Position",185,100,50,50);
GfxTextOut(""+C,Hor , Ver );
 
Last edited:

KelvinHand

Well-Known Member
#2
hi hello seniors,

Drag n drop CMP AFL for chart.

Query -

Whenever i plot it.. it is coming on LEFT Side of chart.

Kindly help to Plot on Right side or Top middle.


Formula below -

GfxSelectFont("arial", 13, 700 ); GfxSetBkMode( colorYellow );
GfxSetTextColor( ParamColor("Color",colorYellow) );
Hor=Param("Vertical Position",120,10,1200,1);
Ver=Param("Horizontal Position",185,100,50,50);
GfxTextOut(""+C,Hor , Ver );

Read help guide and add GfxSetTextAlign( align ) ;
 

Similar threads