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

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



PureBytes Links

Trading Reference Links

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


> --- In amibroker@xxxxxxxxxxxxxxx, "wavemechanic" <fimdot@xxx> wrote:
>>
>> x = Foreign("aaa", "close"); //or C if this is the selected symbol
>> y = Foreign("bbb", "close");
>> z = 2 * x / 3 * y;
>> 
>> Bill
>> 
> 
> 
> Thanks Bill.  
> Regarding spread, I have one further question. Does amibroker only show 
> close of the spread symbol, or it can also show OHLC of the spread 
> symbol, just like a normal symbol ?

Look at the syntax for Foreign in Help.


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