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

Re: [amibroker] AddCustomMetric() for open positions



PureBytes Links

Trading Reference Links

You do need to duplicate the metrics for closed trades and open trades
within the advanced code


-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com

On 29/11/06, Tomasz Janeczko <groups@xxxxxxxxxxxxx> wrote:
>
>  Hello,
>
> Are you sure ? Open positions and closed trades are handled by exactly the
> same class internally and I see
> no reason why it should not work. If in doubt send code that allows to
> reproduce the problem to support.
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
>
> ----- Original Message -----
> *From:* Mark H <amibroker@xxxxxxxxxxxxx>
> *To:* amibroker@xxxxxxxxxxxxxxx
> *Sent:* Tuesday, November 28, 2006 6:47 PM
> *Subject:* [amibroker] AddCustomMetric() for open positions
>
> Tomasz:
>
> AddCustomMetric() has no effect on open positions. I want to add some
> custom metrics based on some calculations using values returned
> by GetPrice().
>
> AddCustomMetric() works fine for closed positions (trades), but then
> GetPrice() no longer works.
>
> Is this by design?
>
> Thanks,
>
> - Mark
>
> 
>

Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.14.19/556 - Release Date: 11/28/2006 3:22 PM