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 : Friday, September 30, 2011 1:37:19 PM(UTC)
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 : Tuesday, October 4, 2011 10:52:54 AM(UTC)
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 : Tuesday, October 4, 2011 11:03:09 AM(UTC)
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 : Tuesday, October 4, 2011 12:19:11 PM(UTC)
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 : Tuesday, October 4, 2011 2:21:49 PM(UTC)
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 : Tuesday, October 4, 2011 6:16:21 PM(UTC)
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 : Tuesday, October 11, 2011 2:51:01 PM(UTC)
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 : Wednesday, October 19, 2011 12:30:29 PM(UTC)
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 5/19/2024 10:16:28 AM(UTC)
Can a Local Data text file have a ticker in the header? (Data Related Questions)
by Brian48072 11/27/2017 12:21:15 AM(UTC)
Creating Custom List using a text file? (Data Related Questions)
by Trump1000 6/3/2017 9:16:31 PM(UTC)
Expert Advisor : Exporting Alert messages to a plain-text file (MetaStock)
by xrousaios 5/19/2015 4:07:02 PM(UTC)
Creating Custom List using a text file (MetaStock)
by Ujjwal 7/11/2014 8:19:53 PM(UTC)
Write Signals to text file ... (Formula Assistance)
by DimC 12/6/2012 9:52:37 AM(UTC)
Quotecenter text file to metastock (MetaStock)
by ww333 3/22/2009 11:41:51 AM(UTC)
Security names - exporting to text file (Data Related Questions)
by hyperdimension 4/9/2008 12:44:04 AM(UTC)
exploration report to text file or excel (MetaStock)
by elit 8/28/2006 11:25:43 PM(UTC)
Expert Advisor: Can I write alerts to a text file? (MetaStock FAQ)
by StorkBite 7/31/2006 11:16:26 PM(UTC)
Importing formula code from a text file (Formula Assistance)
by John Devine 7/23/2006 9:14:30 AM(UTC)
How to update data form text file [RESOLVED] (Plugins & Addons)
by haohmaku 5/21/2006 2:39:54 PM(UTC)
Writing Alerts to a Text file with MDK ?? (MetaStock Developer's Kit (MDK) Assistance)
by michaelb 1/24/2006 7:38:50 PM(UTC)
Saving OHLC + Indicators as text file (Data Related Questions)
by Hwyman 1/1/2006 8:54:45 PM(UTC)
Problems importing text file [RESOLVED] (Data Related Questions)
by bolitar 6/29/2005 12:05:02 PM(UTC)
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.