Herman -

I think that this is a useful discussion about AA output, so let's continue a 
little.

I've used the technique using large watchlists that you suggest, but it has 
significant limitations - particular where you want varying text columns or 
multiple ones like the correlation example.  I find that the enhancements that 
I covet fall into two categories.

1. Raw column output to the AA grid - this gives you FULL control over what is 
output (text or numbers) with colorization and sorting to get what you want.  
This is what I mentioned previously and gave the following example -

Ticker1 Ticker2 Correlation
XYZ ABC 0.867
DFG JKI 0.932

As an aside, consider that a flexible grid control is most likely used by AA 
(either a third party or one that TJ wrote).  For those who have used these in 
other languages, it seems that what Tomasz has done is hide the complexity and 
also simplify bar and summary output by tying it to AA operations - which is 
good.

2. Bar-varying text output - this is a little trickier because AFL doesn't have 
string arrays.  What I'd like to do it, for example -

Ticker  Date/Time  Close    Action
SPY     1/3/2008   139.668  Hold and check Open
SPY     1/4/2008   135.245  Sell to close

I can envision a way to do this with CSV strings and a new AddCSVColumn() 
function, but I try to refrain from suggesting implementations to Tomasz since 
only he knows all of the considerations.  I'd rather just concentrate on the 
result that I'd like.

Finally, like I said, I've long since found other ways to do these things, but 
they are more cumbersome.  IMHO, I think that a simple, native AFL way would be 
good for all users.

-- BruceR


Reply via email to