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

[amibroker] Equity Candlesticks



PureBytes Links

Trading Reference Links




There has been much discussion lately about trade equity, 
profits, and etc.
Here is a formula that I use which was written by Herman van 
den Bergen.
He made a brilliant combination of graphs and text to 
show each trade and the effect on the equity line. Combined with a price 
plot showing the Buy and Sell arrows, you should have a good idea of how 
your formula is operating. Add Fred's equity graph to this and you will see just 
about everything that you need for individual and cumulative trade 
information.
I made a few changes since I found that the original sometimes 
missed the first trade.
I manually set inital equity using the variable <FONT 
color=#0000ff>IE. You can use <FONT 
color=#0000ff>SetOption("InitialEquity", nn) to change the 
initial equity set in the AA settings. See <FONT 
color=#0000ff>SetOption in the AFL Function Reference for more 
information.
 
This colors in this formula work best against a dark 
background.
If you just load this and click apply, nothing will happen. 
You will need to go to the top and insert your formula to include Buy and 
Sell rules, and your PositionSize statement.
 
-CS
 






Yahoo! Groups Sponsor












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 the Yahoo! Terms of Service.



Attachment:
Equity Candlesticks (export).afl

Attachment: Description: "Description: Binary data"