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

Re: [amibroker] How to make a spread in Amibroker ?



PureBytes Links

Trading Reference Links

x = Foreign("aaa", "close"); //or C if this is the selected symbol
y = Foreign("bbb", "close");
z = 2 * x / 3 * y;

Bill

----- Original Message ----- 
From: "itmwh" <toxutao@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, November 22, 2006 2:31 AM
Subject: [amibroker] How to make a spread in Amibroker ?


>i want to make a spread of two symbols with fixed ratio (2:3) , can 
> someone tell me how to do this in amibroker ?  thanks
> 
> 
> 
> 
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.430 / Virus Database: 268.14.12/544 - Release Date: 11/21/2006 4:59 PM
> 
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.13/546 - Release Date: 11/22/2006