logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
today  
#1 Posted : 13 years ago
today

Rank: Newbie

Groups: Registered, Registered Users
Joined: 9/30/2011(UTC)
Posts: 8

I would like to write a text file from an indicator that calls an external metastock dll. I have the MDK but unfortunately it is way over my head.I have seen the request to write a file many times in the forum and the common reply is it can be done from the MDK, If anyone has done this or can point me in the right direction I would appreciate it, I am happy to pay for someones services programming this.

Murray
today  
#2 Posted : 13 years ago
today

Rank: Newbie

Groups: Registered, Registered Users
Joined: 9/30/2011(UTC)
Posts: 8

While i work out a MDK solution I feel strongly that Equis should be able to supply the code to write a text file and provide their customers with a way to quickly execute a trade. I would do it from an indicator that writes a text file. Forget about the 43 new adaptive indicators, the days of running your explorations in the weekend to find what you are going to buy and hold for the next 6 months are long gone.
In the interim I am running an exploration via a macro and saving the results to a text file which I edit with vb. Not really the way I want to do it but it is working for now.
I have emailed their formulas request team who replied it can be done via the MDK but did not offer to do it .Come on equis you were one of the first charting software packages..........
Branden Russell  
#3 Posted : 13 years ago
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

Creating a text file isn't part of the MDK. To create a text file, you just do whatever is the standard way to create a text file in the programming language you choose to use to write with. There are examples of that in help documentation or on blogs and such you can find with a search engine. Which language are you using? As for the executing a trade part, I can't help you there. I'm not familiar with any of the trade executing systems.
today  
#4 Posted : 13 years ago
today

Rank: Newbie

Groups: Registered, Registered Users
Joined: 9/30/2011(UTC)
Posts: 8

Thanks for the reply Brandon.
I can handle everything with the trade execution.
I was going to use powerbasic as I have some experience in vb.
Before I start , it is possible to get signals via Equis\ External Function DLLs for intraday data ?
Branden Russell  
#5 Posted : 13 years ago
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

You can call into your MSX DLL within the formula language, but I'm not sure exactly what you're asking. You can pass an array of data, such as the result of a formula or Open, High, Low, Close (interday or intraday) to your DLL. Your DLL cannot access the MetaStock formula language and cannot access any of the formulas in MetaStock. It seems like what you're asking (based on previous posts) is possible. You can pass the result of a formula in MetaStock to your DLL and then have your MSX DLL process it however you want and then create a text file for your trade execution.
today  
#6 Posted : 13 years ago
today

Rank: Newbie

Groups: Registered, Registered Users
Joined: 9/30/2011(UTC)
Posts: 8

Hello Brandon,
Thank you again for the reply.
What I would like to do is;
using real time data , 1 minute interval
get the signals from the MurphyMorris dll
which is in C:\Program Files\Equis\MetaStock\External Function DLLs.
Is this possible ?
regards
Murray




today  
#7 Posted : 13 years ago
today

Rank: Newbie

Groups: Registered, Registered Users
Joined: 9/30/2011(UTC)
Posts: 8

Only Kidding about the 1 minute data into a zigzag indicator.
I have been through the code examples in the MDK (C++)and there are no examples on how to access the results from an external metastock dll. I see you can't access metastocks indicators.
Your sales staff and formula team told me it is possible.
If it is possible how about posting an example piece of code here. I have C++ so that would be fine.
Any questions feel free to ask.
Thanks for your time Brandon.

today  
#8 Posted : 13 years ago
today

Rank: Newbie

Groups: Registered, Registered Users
Joined: 9/30/2011(UTC)
Posts: 8

798 views , no solution.
There used to be a lot of good coders here ....
For those of us who haven't spent the last 300 years studying the dark arts associated with the MDK there is a solution.
VitaminC from www.compuvision.com.au can write a text file and do other useful Metastock stuff.
The proprietor is even helpful with scripts.

Users browsing this topic
Guest (Hidden)
Similar Topics
Downloader downloading security data from text file for multiple days (MetaStock)
by Pawelpipi 7 months ago
Can a Local Data text file have a ticker in the header? (Data Related Questions)
by Brian48072 7 years ago
Creating Custom List using a text file? (Data Related Questions)
by Trump1000 8 years ago
Expert Advisor : Exporting Alert messages to a plain-text file (MetaStock)
by xrousaios 10 years ago
Creating Custom List using a text file (MetaStock)
by Ujjwal 10 years ago
Write Signals to text file ... (Formula Assistance)
by DimC 12 years ago
Quotecenter text file to metastock (MetaStock)
by ww333 16 years ago
Security names - exporting to text file (Data Related Questions)
by hyperdimension 17 years ago
exploration report to text file or excel (MetaStock)
by elit 18 years ago
Expert Advisor: Can I write alerts to a text file? (MetaStock FAQ)
by StorkBite 18 years ago
Importing formula code from a text file (Formula Assistance)
by John Devine 18 years ago
How to update data form text file [RESOLVED] (Plugins & Addons)
by haohmaku 19 years ago
Writing Alerts to a Text file with MDK ?? (MetaStock Developer's Kit (MDK) Assistance)
by michaelb 19 years ago
Saving OHLC + Indicators as text file (Data Related Questions)
by Hwyman 19 years ago
Problems importing text file [RESOLVED] (Data Related Questions)
by bolitar 19 years ago
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

information You have 1 unread message(s) in your Inbox.