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

[amibroker] Re: Use an image as background


  • Date: Fri, 22 Jan 2010 15:21:14 -0000
  • From: "cvanhaesendonck" <carl.van@xxxxxxxxxx>
  • Subject: [amibroker] Re: Use an image as background

PureBytes Links

Trading Reference Links

Hi Ton, Reinsley,

Thank you, this is what I was looking for - this forum is great ;-)
And AB a great piece of software!

Carl


--- In amibroker@xxxxxxxxxxxxxxx, "Ton Sieverding" <ton.sieverding@xxx> wrote:
>
> 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: amibroker@xxxxxxxxxxxxxxx 
>   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/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/