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
|
|
|
|
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..........
|
|
|
|
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.
|
|
|
|
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 ?
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
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)
|
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.