How To Create Dll For Metastock

0 views
Skip to first unread message

Vaniria Setser

unread,
Jun 29, 2024, 9:58:38 AM6/29/24
to nisboundsesa

I subscribe to US/CA region + world indices EOD and download the data daily to MS Local files. I wish to create a custom local list comprising of the Russell 2000 index, based on a symbol name list that I have for the index.

You are not able to paste in instrument/company names and have MetaStock determine a symbol, but you can paste symbols into an Online List, and then create new local securities using that Online List in DownLoader.

When you have a folder set up for local data creation, you can right-click on the folder in DownLoader, choose Create New Security, and select the "Multiple Selections" check-box and click Lookup to access the list.

I'm not sure that is quite what you're looking for as it sounds like you want this list to locate existing local data files, not create new ones. Something like a Find in DownLoader based on a list of instruments?

I have created a layout which displays a share being view in 3 different ways - each in a window of its own. Window 1 shows candlesticks, EMA and a buy/sell adviser, Window 2 shows the GMMA and window 3 shows bars, stop loss, profit taking.

I wanted to know if Metastock allows you to save this style (multiple windows within the main screen) as your default template so that when i open a new stock to view it shows me the stock in the 3 different viewings.

If not, what is the best way of setting up your screen to display this image or is creating an individual layout for each stock you want to view the only way. I am happy to attach a sample if required. I have read where you can create shortcuts too??

Delete all smart charts (MSSMART folder contents or folders complete with contents) and MetaStock will build new smart charts from the new template as each security is opened from then on. New folders are also created as necessary. I assume you've used the "Save as Default Template" to create the new template. It's wise to create a copy of the old DEFAULT before saving a new one so you can go back to it if necessary. If everything turns to custard you can load the CLEAN template and save as new default.

I have previously deleted MSSmart Charts but they seem to keep coming back and this was a very time consuming task as the system would only allow me to delete individually. What is the purpose of deleting these? I ran a search and ended up 26 files but the system won't allow me to delete them - I get a dialogue box coming up with the message "Cannont delete file: Cannot read from the source file or disk". I ran a search from the Start Menu.

I think the only way to get the 3 viewings/windows of the same security on the screen is to create a new layout for each one I want to view. I don't think Metastock allows you to have multiple windows and then try and save it as a template.

Excitement plus!!! I have worked out how to get my preferred screen how i want it. Set the screen up with the 3 layouts - saved as a template - then created a custom button. Now when i open the chart of a new share all i have to do is click on the custom icon, named 'preferred template' and my screen displays the image of the 3 layouts. Just wonderful!! have a smile from ear to ear. Perserverance is the key.

I'm new to Amibroker and would like to try to create a database that connect to my Metastock 16. However, during the setup, amibroker require me to locate the "MASTER" file that I couldn't find in my metastock directory, would anyone please advise me how to connect amibroker to metastock as data source? thanks.

Hi SBU888!
Quite curious regarding your contact with Metastock support?
Im atm having issues trying to establish a intraday solution for Amibroker through their Xenith platform. The support is (shockingly) friendly, but they cant seem to find a compatible file for me to place in the Path(s) to Metastock data folder(s) (When using Metastock EOD which i get through "The Downloader 10.1". The Downloader "produces" a MASTER-file who is placed and retrived from this "section". But it dosent seem to be just as easy with intraday data...)

Thomson Reuters may be knowing about significant customer base of Amibroker, which is much more than metastock. If they are not aware, they may be made aware of it. Thomson Reuters may consider it worth to create an API for amibroker or deliver a MASTER, EMASTER, XMASTER, Fxxx.DAT files,

Greetings Amibroker community,
I'm entirely new to the Amibroker community but I've had some experience using the Metastock software. I like what this software has to offer over Metastock but I'm having difficulties setting up the databases with the data from Metastock Legacy (or Local) files. What I want to do is set up separate Amibroker databases for each of my Metastock legacy (or local) folders. Currently, these folders are organized as AMEX, NYSE, NASDAQ, CDN Equities, US ETFs, CDN ETFs, Indexes, Optionable US. It seems that every time I want to set up a new database it overwrites the data in the "markets", and "groups" areas of these databases. I'm basically trying to figure out the best way to manage these databases so that I can easily group them accordingly. I've tried looking throughout here and google as well but can't seem to find a solution. Any help is greatly appreciated.

I would like to understand better if you want to have ALL your data in a single database and distinguish the assets based on their Market, typology, etc., or if you want to access your legacy "folders" in multiple AmibBroker databases.

Thank you for responding to me so quickly. I tried again today for a bit to set up the database structure. So there are two things at play here. First is that my "Legacy MetaStock" data structure for downloading Metastock data is currently set up so that I download the 8 folders of data (NYSE, AMEX, NASDAQ, CDN Equities, US ETFs, CDN ETFs, Optionable US, Indexes) so each folder has a separate MASTER or EMASTER or XMASTER file specific to each of those 8 folder structures. The other thing to note is that I have another converted set of data for each of those 8 folders for data that was converted to Heikin-Ashi values. Without getting into the details of why I want to load in the pre-calculated Heikin Ashi data, I basically end up with a second set of data. The way I've been trying to handle this so far has been to try and create two separate databases, one for the regular value set and the other for the Heikin Ashi value set.
So to trace through how I've been doing it so far, I started by reading in the first 8 sets of data by creating a database on a separate drive (E: drive for example) and read in the MASTER files for each of those using the Configure button. For EOD data I'm selecting about 5200 bars (20 years). I repeat this for the Heikin Ashi ones.
When I start to assign the groups using the "File" then "Import Metastock data" wizard, it seemed to have the correct number of files (ie. AMEX was 7209 symbols). but as I add other Groups for example, then after I download the data, the number of symbols in that previous folder decreases. (I guess it
I read the links you've sent and I believe I'm doing things correctly as was described in them but I think in the end it's made me even more confused.
I feel that since this is a very important topic for getting things set up correctly, I wish there were good video tutorials on how to set up this initial step. The ones that exist are of quite poor quality and don't address my specific needs. Anyways, I really appreciate your advice and thanks again for your assistance. If you have any other thoughts that can help me get up the proper data I'd be certainly all ears. I'll keep fiddling around with things to try to make it work.

I guess let's assume I want to setup two databases. One for regular prices and a separate database for the Heikin Ashi values. I think I have the 2 databases set up properly though. They are reading in their data to their specific database, but being able to do the "assignments" using the assignments organize seems to be where it goes wonky.
I guess the first step i'd like to do is make those 8 mentioned folders as 8 entries within the Markets button of the symbols tab. If I can get those set up correctly without the data magically disappearing, then I'll consider that a win as I can likely build from there. I just don't understand why it reads the data in correctly and then for some reason it decides it wants to store a much fewer number of values.

That's what I meant by "magically disappearing" I had data, but then on next reload of the program, it's gone.
I'll try what you mentioned Thomasz and let you know how it goes. Thanks for your patience and help. Cheers.

Hi Tomasz, Thanks for your response. Still working through it here. One question is it possible to have multiple databases. In more concise terms, Is it possible to have 2 local databases and one online database. Basically, I want to be able to use local data if I'm away from an internet connection. The two databases would be for normal Metastock data (legacy "MASTER" data) and then I have a second dataset with data converted to Heikin Ashi values.

Ah ok, yes, thanks beppe for the clarification regarding that. Much appreciated.
So now I have all 14931 symbols but they are in the undefined block under the markets tab. How do I start putting these into their respective categories? I started renaming the different markets I want to follow as shown below:

@Brossy, you should use Symbol->Organize Assignments and reassign the newly imported symbols from the undefined market into your desired "markets," as indicated in the first link I posted - ideally doing it after each folder import to streamline the process.

In any case, you can always use this dialog to reassign tickers when you need to change the assignments and/or classify the tickers in different groups or watchlists using different criteria (keep in mind that a ticker can be assigned to multiple watchlists but it can belong only to a single market and to a single group ).

b1e95dc632
Reply all
Reply to author
Forward
0 new messages