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

Re: [amibroker] Stepping Your Equity by the month



PureBytes Links

Trading Reference Links

Equity plot is produced by clicking on "Equity" button in the AA window,
but AFL gives you also the access to Equity function that allows you
to apply modifications to Equity display.
The code that Hermand provided should be used as follows:

1. copy your trading system to one of Custom Indicator formulas
in Indicator Builder 
2. attach Herman's code at the end of this formula
and plot resulting indicator.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: dingo 
To: amibroker@xxxxxxxxxxxxxxx 
Sent: Monday, July 22, 2002 2:10 AM
Subject: RE: [amibroker] Stepping Your Equity by the month


Thats' really neat!  

Where do I plug in it? (Which one of the many windows do I put it in?

Thanks!

dingo
-----Original Message-----
From: Herman van den Bergen [mailto:psytek@x...] 
Sent: Sunday, July 21, 2002 7:57 PM
To: Amibroker@xxxx Com
Subject: [amibroker] Stepping Your Equity by the month


This formula gives you a quick view of loosing periods, given in nm months:

E = Equity();
Plot(E,"T3xx QQQ",1,1);

nm = 3; //number of months for equity breakdown >1
m = Cum(Month() != Ref(Month(),-1));
Ok = Cross(m/nm,int(m/nm));
E = ValueWhen(OK,E);
Plot(E,"Monthly Equity",6,1); 





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


Yahoo! Groups Sponsor 
ADVERTISEMENT
             
       

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


------=_NextPart_001_0058_01C2315B.712F37A0
Content-Type: text/html;
charset="windows-1250"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1250">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#fffcf0>
<DIV><FONT face="Arial CE" size=2>Hello,</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Equity plot is produced by clicking on "Equity" button in the 
AA window,</FONT></DIV>
<DIV><FONT size=2>but AFL gives you also the access to Equity function that 
allows you</FONT></DIV>
<DIV><FONT size=2>to apply modifications to Equity display.</FONT></DIV>
<DIV><FONT size=2>The code that Hermand provided should be used as 
follows:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>1. copy your trading system to one of Custom Indicator 
formulas</FONT></DIV>
<DIV><FONT size=2>in Indicator Builder </FONT></DIV>
<DIV><FONT size=2>2. attach Herman's code at the end of this 
formula</FONT></DIV>
<DIV><FONT size=2>and plot resulting indicator.</FONT></DIV>
<DIV><BR>Best regards,<BR>Tomasz Janeczko<BR>amibroker.com</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV 
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
dingo </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=amibroker@xxxxxxxxxx 
href="mailto:amibroker@xxxxxxxxxxxxxxx";>amibroker@xxxxxxxxxxxxxxx</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 22, 2002 2:10 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [amibroker] Stepping Your 
Equity by the month</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=924330900-22072002><FONT face=Arial color=#0000ff 
size=2>Thats' really neat!&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=924330900-22072002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=924330900-22072002><FONT face=Arial color=#0000ff 
size=2>Where do I plug in it?&nbsp; (Which one of the many windows do Iput it 
in?</FONT></SPAN></DIV>
<DIV><SPAN class=924330900-22072002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=924330900-22072002><FONT face=Arial color=#0000ff 
size=2>Thanks!</FONT></SPAN></DIV>
<DIV><SPAN class=924330900-22072002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=924330900-22072002><FONT face=Arial color=#0000ff 
size=2>dingo</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Herman van den 
Bergen [mailto:psytek@x...] <BR><B>Sent:</B> Sunday, July 21, 2002 
7:57 PM<BR><B>To:</B> <A 
href="mailto:Amibroker@xxxx";>Amibroker@xxxx</A>. 
Com<BR><B>Subject:</B> [amibroker] Stepping Your Equity by the 
month<BR><BR></FONT></DIV>
<P><FONT size=2>This formula gives you a quick&nbsp;view of loosing periods, 
given in&nbsp;nm months:<BR><BR>E = Equity();<BR>Plot(E,"T3xx 
QQQ",1,1);<BR><BR>nm = 3; //number of months for equity breakdown &gt;1<BR>m 
= Cum(Month() != Ref(Month(),-1));<BR>Ok = Cross(m/nm,int(m/nm));<BR>E = 
ValueWhen(OK,E);<BR>Plot(E,"Monthly Equity",6,1);</FONT> </P>
<P><IMG alt="" hspace=0 src="cid:005601c2314a$ad9d3fe0$168e62d9@xxxxxxxxxxxxx"; 
align=baseline border=0></P><BR><BR><TT>Your use of Yahoo! Groups is subject 
to the <A href="http://docs.yahoo.com/info/terms/";>Yahoo! Terms of 
Service</A>.</TT> <BR></BLOCKQUOTE><BR><BR><TT>Your 
use of Yahoo! Groups is subject to the <A 
href="http://docs.yahoo.com/info/terms/";>Yahoo! Terms of Service</A>.</TT> 
<BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_001_0058_01C2315B.712F37A0--

Attachment: Description: ""