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

RE: [amibroker] Formatting help



PureBytes Links

Trading Reference Links

Printf will help, but apparently you can't change the font in the Interpretation window to Courier or other monospaced font, which is probably needed to keep things lined up.

 

Instructions on printf can be found here:

http://msdn.microsoft.com/library/default.asp?url="">

--

Terry

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of cstrader
Sent: Friday, January 06, 2006 08:58
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Formatting help

 

I'm trying to print to the window and interpretation in way that the columns

line up.  For instance,

 

Trade P/L     Day P/L

-30               100

 

I find that the regular formatting e.g.

 

Writeval(TradePL, 4.0)

 

doesn't keep the numbers in exact columns.

 

Does something like %g or %f do this?

 

I can't find documentation on that.

 

thanks

 

 

----- Original Message -----

From: "Graham" <kavemanperth@xxxxxxxxx>

To: <amibroker@xxxxxxxxxxxxxxx>

Sent: Friday, January 06, 2006 3:02 AM

Subject: Re: [amibroker] Help with code a cycle indicator

 

 

> sin ?

>

> --

> Cheers

> Graham

> AB-Write >< Professional AFL Writing Service

> Yes, I write AFL code to your requirements

> http://e-wire.net.au/~eb_kavan/ab_write.htm

>

>

> On 1/6/06, Padhu <ccie8340@xxxxxxxxx> wrote:

>>

>> Hello folks,

>>

>> I would like to code a cycle indicator that basically starts with 1 on

>> seeddate and then goes upto +20 and then starts counting down from

>> +20 to 0 and then starts 0 to -20 and then goes from -20 to 0. Basically

>> like a sine wave. What function can be used for this?. Appreciate any

>> sample

>> if you can help me with. Thanks.

>>

>> Cycle Indicator:

>> Seeddate = ' 12/01/2005'

>> Cycleperiod = 20

>> Plot the histogram or sine wave as green while going from 0 to +20

>> Plot the histogram or sine wave as red while going from 0 to -20

>>

>> I would like to plot these on indices such as OEX and DOW.

>>

>> Cheers,Padhu

>>

>> Please note that this group is for discussion between users only.

>>

>> To get support from AmiBroker please send an e-mail directly to

>> SUPPORT {at} amibroker.com

>>

>> For other support material please check also:

>> http://www.amibroker.com/support.html

>>

>>

>>

>>

>> ________________________________

>> YAHOO! GROUPS LINKS

>>

>>  Visit your group "amibroker" on the web.

>>

>>  To unsubscribe from this group, send an email to:

>>  amibroker-unsubscribe@xxxxxxxxxxxxxxx

>>

>>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

>>  To unsubscribe from this group, send an email to:

>>  amibroker-unsubscribe@xxxxxxxxxxxxxxx

>>

>>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

>>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

>> ________________________________

>>

>

>

>

> Please note that this group is for discussion between users only.

>

> To get support from AmiBroker please send an e-mail directly to

> SUPPORT {at} amibroker.com

>

> For other support material please check also:

> http://www.amibroker.com/support.html

>

>

> Yahoo! Groups Links

>

>

>

>

>

>

 

 

 

------------------------ Yahoo! Groups Sponsor --------------------~-->

Try Online Currency Trading with GFT. Free 50K Demo. Trade

24 Hours. Commission-Free.

http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM

--------------------------------------------------------------------~->

 

Please note that this group is for discussion between users only.

 

To get support from AmiBroker please send an e-mail directly to

SUPPORT {at} amibroker.com

 

For other support material please check also:

http://www.amibroker.com/support.html

 

 

Yahoo! Groups Links

 

<*> To visit your group on the web, go to:

    http://groups.yahoo.com/group/amibroker/

 

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

 

 

 



Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS