Thanks, Progster.

I wasn´t sure what you meant.

Peace

Markus
  ----- Original Message ----- 
  From: progster01 
  To: [email protected] 
  Sent: Sunday, February 21, 2010 7:45 PM
  Subject: [amibroker] Re: Bar number of first trade in CBT


    
  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 [email protected], "Markus Witzler" <funny...@...> wrote:
  >
  > Thomas,
  > 
  > what, please, do you mean by "flag"?
  > 
  > Sorry for my ignorance
  > 
  > Markus
  > 
  > ----- Original Message ----- 
  > From: Thomas Z. 
  > To: [email protected] 
  > 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
  >



  

  __________ 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

Reply via email to