Sure will do that.

Best regards,
Tomasz Janeczko
amibroker.com
  ----- Original Message ----- 
  From: Herman 
  To: [email protected] ; AmiBroker Support 
  Sent: Friday, November 06, 2009 11:24 PM
  Subject: Re: [amibroker] How to use AUX1 and AUX2?




  OK, i think i know why the confusion: AUX1 and AUX2 are not formatted like a 
reserved word (like Close, Sell, etc) in the editor. They look like 
non-reserved words. However the syntax check does not flag them down as 
uninitialized variables so the are reserved variable names.

  Is it possible to format/color them like other reserved keywords?



  Many thanks,
  herman





  Tomasz Janeczko wrote: 
    They work the same as OHLCV arrays. 
    You can write to them, but what you write is NOT stored to database.
    These are built-in price arrays and in order to protect from modifying 
quotes by mistake 
    you are writing to temporary runtime copies of OHLCVA1A2 arrays.

    In order to actually write to database you need to use AddToComposite or 
COM or ASCII importer.

    Best regards,
    Tomasz Janeczko
    amibroker.com
      ----- Original Message ----- 
      From: Herman 
      To: [email protected] 
      Sent: Friday, November 06, 2009 8:08 PM
      Subject: Re: [amibroker] How to use AUX1 and AUX2?


      ahh, so they can't be assigned values, or be read, like we do OHLCVI 
fields? Thus, i gather, these fields cannot be used in a loop? 

      AUX1[b] = 999;
      MyData = AUX[b]

      I have a host of other uses, like storing real trade information so that 
these can easily be accessed and plotted - with having to compare DT all the 
time.

      Thanks for the reply,
      herman

      Tomasz Janeczko wrote: 
Hello,

Aux1 and Aux2 fields are intended to be used as:

1. Storage for extra quotation data such as bid/ask figures
2. Storage for other data such as trading volume expressed in dollars, 
volume-weigted average price, etc
3. Extra fields for AddToComposite/Foreign (use "1" field ID for aux1 and "2" 
for aux2 in Foreign/AddToComposite calls)

You can store values to those fields either using ASCII importer or
using OLE or using AddToComposite

Example:

AddToComposite( array, Name(), "1") ; // store array to aux1

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Herman" <[email protected]>
To: <[email protected]>
Sent: Friday, November 06, 2009 7:04 PM
Subject: Re: [amibroker] How to use AUX1 and AUX2?


  any AUX1 and AUX2 users out there?

As is often the case some very useful new features sit on the shelf for 
a long time before people start using them, simply because they are not 
documented for the simple user. Tomasz, please give a sales pitch as 
what we can do with the new array expansion - its a waste to let it go 
to waste :-)

herman

Herman wrote:
    I can't find any examples on how to use the two new AUX1 and AUX2 
fields. Can anyone give an example?

When working with the current ticker, how do i assign a value to one of 
these fields? How do i read it back?

Thanks,
herma




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links





  
      ------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links



    

------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links





  


  

<<moz-screenshot-122.jpg>>

Reply via email to