[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Renaming 'composite' ticker files



PureBytes Links

Trading Reference Links

>>perhaps I miss your point<<
I guess I should clarify why I'm doing the effort.
First of all, I've got a moduile in 'AA' that will calculate the composites (say) ~compMacdBuy. Now this module is common module that I want to run against multiple databases.
Ideal solution for me will be to have some way of referencing the database name within AFL, so that I can simply make the composites include the database name at the end as (say) ~compMacdBuyUtilities and ~compMacdBuyEnergy and ~compMacdBuyHealthcare...  But looks like there is no way to access the current database name within the AFL.  (That's the conclusion I draw based on my own search and due to lack of any response to my earlier e-mail inquiring about referencing the current database name within AFL.)  Absent this, I'm trying to find out an artificial solution of perhaps renaming the physical composite ticker files externally so as to append the database names externally.
I never wanted to give so many details, which perhaps are distracting. That's why I gave simple example of just re-name the physical files and try to load them back in AmiBroker.  Hope this clarifies the point of it all ...
Regards,
- Salil V Gangal
 Jayson <jcasavant@xxxx> wrote:


Salil,
 
Why go to the effort???
when you compute the composite to begin with simply change your code to read the desired names....... perhaps I miss your point
 
Jayson 
-----Original Message-----From: Salil V Gangal [mailto:salil_gangal@xxxx]Sent: Monday, October 28, 2002 9:51 AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Renaming 'composite' ticker files
Friends,
Here are the steps I performed ===>

I computed 'composite' tickers in 'AA' and named them ~compMacdBuy and ~compMacdSell. 
I exited AmiBroker. 
Using Windows Explorer, I renamed the physical ticker files for the above composite tickers to ~macdPlus and ~macdMinus respectively. 
I restarted AmiBroker.
The composite tickers with old names were gone from 'All' as well as from 'Group 253'.  The composite tickers with their new names did not come-up anywhere.
What more is required to get back the user-generated tickers which are re-named at the OS level without changing their names back to the earlier names ?  In other words, I am interested in retaining their changed names just the way they are and I don't want to run 'AA' once again.
Any inputs ?
Regards,
- Salil V Gangal


Do you Yahoo!?Y! Web Hosting - Let the expert host your web site Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: http://groups.yahoo.com/group/amiquote/messages/)Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: http://groups.yahoo.com/group/amiquote/messages/)Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site