PureBytes Links
Trading Reference Links
|
Hello,
The formula IS CORRECT and it WORKS IN REAL TIME
===========================================
It also works correcly in EOD and covers SHORTS too.
========================================
If you were not so lazy, you would check the documentation of Equity() function
and you will quickly find out that it USES AUTOMATIC ANALYSIS SETTINGS as
defined in Tools->Automatic Analysis->Settings.
Specifically it uses:
"Positions"
and
"Trade Delays"
If you set "Positions" to LONG ONLY then it will of course IGNORE shorts.
To handle shorts you need to switch "Positions" to "Long and Shorts"
Also, if P&L is one day off it means that you have set
TRADE DELAYS > 0
================
Go to Tools->Automatic Analysis->Settings, "Trade" tab
and change delays to ZERO !
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "matrix10014" <allansn@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, August 26, 2008 8:15 PM
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 amibroker@xxxxxxxxxxxxxxx, "phlsti" <pstitzer@xxx> 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 amibroker@xxxxxxxxxxxxxxx, "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: <amibroker@xxxxxxxxxxxxxxx>
>> > 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
>
>
>
------------------------------------
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
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|