Hi Tomasz, TJ> If you were not so lazy ...
Do we need ad hominem attacks here? I know you are a busy fellow, but regardless ... Yuki Wednesday, August 27, 2008, 4:20:28 PM, you wrote: TJ> Hello, TJ> The formula IS CORRECT and it WORKS IN REAL TIME TJ> =========================================== TJ> It also works correcly in EOD and covers SHORTS too. TJ> ======================================== TJ> If you were not so lazy, you would check the documentation of Equity() function TJ> and you will quickly find out that it USES AUTOMATIC ANALYSIS SETTINGS as TJ> defined in Tools->Automatic Analysis->Settings. TJ> Specifically it uses: TJ> "Positions" TJ> and TJ> "Trade Delays" TJ> If you set "Positions" to LONG ONLY then it will of course IGNORE shorts. TJ> To handle shorts you need to switch "Positions" to "Long and Shorts" TJ> Also, if P&L is one day off it means that you have set TJ> TRADE DELAYS > 0 TJ> ================ TJ> Go to Tools->Automatic Analysis->Settings, "Trade" tab TJ> and change delays to ZERO ! TJ> Best regards, TJ> Tomasz Janeczko TJ> amibroker.com TJ> ----- Original Message ----- TJ> From: "matrix10014" <[EMAIL PROTECTED]> TJ> To: <[email protected]> TJ> Sent: Tuesday, August 26, 2008 8:15 PM TJ> Subject: [amibroker] Re: 'Rule Based' versus 'Discretionary' trading... >>I am pretty sure the code does not function properly in EOD as >> well.The P&L appears to be off by one day,and I can not cover my >> shorts. >> >> >> >> --- In [email protected], "phlsti" <[EMAIL PROTECTED]> wrote: >>> >>> This AFL doesn't work for me in realtime, which is where I am all >> day. >>> It works on EOD static charts, but that is only limited help. >>> Phil >>> >>> --- In [email protected], "Tomasz Janeczko" <groups@> wrote: >>> > >>> > Available (2006): >>> > http://www.amibroker.com/kb/2006/05/06/discretionary-equity/ >>> > >>> > Best regards, >>> > Tomasz Janeczko >>> > amibroker.com >>> > ----- Original Message ----- >>> > From: "brian_z111" <brian_z111@> >>> > To: <[email protected]> >>> > Sent: Tuesday, August 26, 2008 10:34 AM >>> > Subject: [amibroker] Re: 'Rule Based' versus 'Discretionary' >> trading... >>> > >>> > >>> >> >> >> >> ------------------------------------ >> >> 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 >> >> >>
