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

Re: [amibroker] BT equity chart



PureBytes Links

Trading Reference Links

Sid,

~~~Equity is artificial symbol that holds data for portfolio equity.
To plot it you should use Portfolio Equity formula (See indicator builder: built-in tab).

When you try to display candlestick chart it will be of course 
looking strange because it does not contain regular data.
Instead it contains:

1. portfolio equity in "Close" field
2. cash in "Low" field
3. equity line of long positions only in "Open" field
4. equity line of short positions only in "High" field.

Plot( Foreign("~~~EQUITY", "C"), "Port. equity", colorYellow );
Plot( Foreign("~~~EQUITY", "L"), "Cash", colorBlue );
Plot( Foreign("~~~EQUITY", "O"), "Long only", colorGreen );
Plot( Foreign("~~~EQUITY", "H"), "Short only", colorRed );

 

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Sidney Kaiser" <s9kaiser@xxxxxxxxxxx>
To: <AmiBroker@xxxxxxxxxxxxxxx>
Sent: Thursday, October 23, 2003 6:43 PM
Subject: [amibroker] BT equity chart


> I am just getting started with evaluating the new AA  portfolio backtest in AB.
> 
> Anyone have any ideas why I get this really messed up chart for 
> ~~~Equity?  The price range and week long flat tops on the bars are just 
> really weird.
> 
> TIA
> Sid
> 
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 


--------------------------------------------------------------------------------


> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.518 / Virus Database: 316 - Release Date: 9/11/2003
> 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/Tq9otC/XP.FAA/3jkFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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