Markus,
In this context, a "flag" is just a variable of your own
which tracks the status you want to be aware of. In this case, a variable
which is 0 until an open trade is available, and 1
after.
Progster
--- In amibroker@xxxxxxxxxps.com,
"Markus Witzler" <funnybiz@xx.>
wrote:
>
> Thomas,
>
> what, please, do you mean by
"flag"?
>
> Sorry for my ignorance
>
>
Markus
>
> ----- Original Message -----
> From: Thomas Z.
> To: amibroker@xxxxxxxxxps.com
> Sent: Saturday, February 20, 2010 10:55 PM
> Subject: Re:
[amibroker] Bar number of first trade in CBT
>
>
>
> You could iterate through all bars and at every through the list of
open positions and set a flag when an open trade is available.
>
>
>
> Best regards, Thomas
> Web:
www.PatternExplorer.com
>
>
> Am 20.02.2010 20:05,
schrieb Markus Witzler:
> Hello,
>
> I need to retrieve
the bar number of first trade in CBT (low level)., i.e. when first trade was
opened.
>
> Any clue how to accomplish this?
>
> The
only thing I know is I must do this in closed trade list.
>
>
Thanks
>
> Markus
>
>
>
> __________
Information from ESET Smart Security, version of virus signature database 4668
(20091207) __________
>
> The message was checked by ESET Smart
Security.
>
> http://www.eset.com
>
>
>
>
> __________ Information from ESET Smart Security,
version of virus signature database 4668 (20091207) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>