Hi Carl, something like this ? I hope you will understand how to get the code 
in the way you want it. I just took part out of existing code I have on my PC :

if (ShowGraphs!="NONE")
{

    // Characters in background ...

    GfxSetOverlayMode(1);

    GfxSelectFont("Tahoma", Status("pxheight")/2 );

    GfxSetTextAlign( 6 ); // center alignment

    GfxSetTextColor( ColorRGB( 200, 200, 200 ) );

    GfxSetBkMode(1); // transparent

    if (CheckBSSC(BuyEx,1))

        Tekst="Buy";

    else

    {

    if (CheckBSSC(SellEx,1))

        Tekst="Sell";

    else

        Tekst="";

    }

}



if (PopupBack=="BACKGROUND" AND ShowGraphs!="NONE")

                GfxTextOut( Tekst, Status("pxwidth")/2, Status("pxheight")/12 );



Regards, Ton.

  ----- Original Message ----- 
  From: cvanhaesendonck 
  To: [email protected] 
  Sent: Friday, January 22, 2010 2:26 PM
  Subject: [amibroker] Use an image as background


    
  This might seem like a strange inquiry but I would like to know whether it is 
possible to have an image (or a text) fill in the background of a chart. The 
reason is that, as a trader, I like to have some text reminder in front of my 
eyes before I take a trade (such as "don't forget to check this and that...").
  I didn't find such possibility, other than using the existing 
"setchartbkcolor", and "gfxsetbkcolor", etc.
  Could anyone help here?

  Thank you,
  Carl



  

Reply via email to