I don't like the idea of "stocknum = last", but I do like the idea of better post processing.
With matrices being better supported in AmiBroker, I suspect there'll be more use (and demand) for post-processing.
When you're limited by BarIndex-1 sized arrays you're fairly restricted to looking at things from the perspective of one stock.
But when you can define an arbitrarily sized matrix to store data, then (imo) it becomes a lot more natural to do large scale comparisons outside the current stock. e.g. What is this value like compared to the highest/lowest/average/median of some element in the watchlist? Or draw a scatter chart where output references the stock's percentage/rank within the watchlist.
The capacity to rank a portfolio suggests that there is some sort of post processing stage going on somewhere in the works, although I could imagine giving the user access to it might cause problems.
Personally what I'd actually prefer would be the capacity to loop the entire watchlist - so on the first loop you run the stocks to construct your combined data set, on the second loop you compare the stocks to the combined data set. But all that can be done via two formulae & a bunch of staticvars.
Cheers.
Hello,
"I want to append data to a file WITHOUT having to call fopen() and fclose() for ever single symbol"
So your problem is that you "don't want to call fopen to append"
Sorry, but no, I won't add features just because single person does not want to call fopen/fclose file.
If you want to ask for new features you need to come up with some much better reason than "I don't want to open file"
It is against multithreading programming paradigm to wait with everything until the "final step"
If you want to do so, you are limiting yourself to single thread execution and you can use all other suggestions posted earlier in this thread. Yes symbols are processed alphabetically so with #pragma maxthreads 1 you will get sequential
alphabetical execution as you wanted.
BTW: fopen/fputs/fclose are BUFFERED contrary to what you wrote.
Best regards,
Tomasz Janeczko
amibroker.com
Posted by: pache <amilist@moerae.net>
| Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (44) |
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/

EmoticonEmoticon