[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Use an image as background


  • Date: Fri, 22 Jan 2010 15:11:36 +0100
  • From: "Ton Sieverding" <ton.sieverding@xxxxxxxxxx>
  • Subject: Re: [amibroker] Use an image as background

PureBytes Links

Trading Reference Links



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 -----
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



__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___