<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forum.equis.com/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MetaStock Developer's Kit (MDK) Assistance</title><link>http://forum.equis.com/forums/3046/ShowForum.aspx</link><description>Place to come to get help with the MDK including MSK and MSFL.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.0 (Debug Build: 60217.2664)</generator><item><title>&amp;quot;Official&amp;quot; dll Programming Requests             </title><link>http://forum.equis.com/forums/thread/11255.aspx</link><pubDate>Fri, 11 Nov 2005 11:14:09 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:11255</guid><dc:creator>StorkBite</dc:creator><slash:comments>0</slash:comments><comments>http://forum.equis.com/forums/thread/11255.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=11255</wfw:commentRss><description>&lt;span style="color:gold"&gt;&lt;b&gt;New Requests&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol class="anf_list" style="list-style:decimal;"&gt;&lt;li&gt;Multiple time frame fucntion so that any indicator in one time frame can be plotted on other time frame &lt;br /&gt;&lt;/li&gt;Range Tool to find stocks that are trading in a sideways range, i.e., ExtFml("ForumDLL.Periodicity",Data Array, periodicity)&lt;br /&gt;&lt;li&gt;URL, SMS and email alerts.  Similar functonality to "evaluate condition and if true then write a {variable}.txt with a msg {variable} in c:/{variable}"&lt;br /&gt;&lt;/li&gt;Variable-to-static function&lt;br /&gt;&lt;li&gt;trend line function with variable time periods, support and resistance lines, plus option for third line like Andrews pitch fork&lt;br /&gt;&lt;/li&gt;In explorations and system tests, there should be a section to declare "global" variables to be used throughout that, and only that, exploration.&lt;br /&gt;&lt;li&gt;Volume by Price... maybe not as a horizontal, but as vertical bars - it can be done! says wabbit :D&lt;br /&gt;&lt;br /&gt;&lt;span style="color=green:f2d3f59ef2;"&gt;&lt;b&gt;Completed Requests&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol class="anf_list" style="list-style:decimal;"&gt;&lt;/li&gt;Latch&lt;br /&gt;&lt;li&gt;DateRange&lt;br /&gt;&lt;/li&gt;VarRef&lt;br /&gt;&lt;li&gt;VarHHV&lt;br /&gt;&lt;/li&gt;VarLLV&lt;br /&gt;&lt;li&gt;VarSUM&lt;br /&gt;&lt;/li&gt;VarHHVBARS&lt;br /&gt;&lt;li&gt;VarLLVBARS&lt;br /&gt;&lt;/li&gt;VarMOV&lt;br /&gt;&lt;li&gt;VarRSI&lt;br /&gt;&lt;/li&gt;VarMOM&lt;br /&gt;&lt;li&gt;VarCMO&lt;br /&gt;&lt;/li&gt;Custom indices&lt;br /&gt;&lt;li&gt;Function(firstDate, lastDate) and/or function(periodsAgo,periodUnits) [DateRange]&lt;br /&gt;&lt;/li&gt;Adaptive moving averages [VarMOV] &lt;br /&gt;&lt;li&gt;In explorations and system tests, there should be a section to declare "global" variables to be used throughout that, and only that, exploration. [GV.dll]&lt;br /&gt;&lt;/li&gt;Variable standard deviation unit to adjust the bandwidth of the support/resistance trend lines. [myDll]&lt;br /&gt;&lt;li&gt;Expert advisor with MA cross and Demand Index - Demand Index has been coded in the native MS Formula Language.  Creation of the expert is now up to the individual!&lt;br /&gt;&lt;br /&gt;&lt;span style="color=red:f2d3f59ef2;"&gt;&lt;b&gt;Deferred Requests&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol class="anf_list" style="list-style:decimal;"&gt;&lt;/li&gt;Ability to vary price styles and colors... Modification of the GUI cannot be achieved using dll&lt;br /&gt;&lt;li&gt;Optimize outside the system tester to increase speed... External functions will be slower than System Tester?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;***Last updated: Jun 16, 2006*** by wabbit</description></item><item><title>*** Post new dll Wishlist items here ***                    </title><link>http://forum.equis.com/forums/thread/7569.aspx</link><pubDate>Sat, 10 Sep 2005 12:29:09 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:7569</guid><dc:creator>StorkBite</dc:creator><slash:comments>27</slash:comments><comments>http://forum.equis.com/forums/thread/7569.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=7569</wfw:commentRss><description>This is more of a thread for organization than anything.  It does not pertain to any particular dll.  Post your ideas here and perhaps one of the programmers might get interested! :D</description></item><item><title>Variable moving average - anyone knows what it plots in the null area?</title><link>http://forum.equis.com/forums/thread/30964.aspx</link><pubDate>Sun, 18 Oct 2009 05:31:10 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:30964</guid><dc:creator>exito100</dc:creator><slash:comments>1</slash:comments><comments>http://forum.equis.com/forums/thread/30964.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=30964</wfw:commentRss><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Does anyone know what the variable moving average of the forum.dll plots in the undefined (N/A) also known as null area?&lt;/P&gt;
&lt;P&gt;It seems to come up with a pretty good and defined(!) guess - but&amp;nbsp;not just faster moving averages. I guess the original programmer would know that..? :)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;ExtFml( "Forum.MOV",C, 200, e) -&amp;gt; during the first 200 periods?&lt;/P&gt;
&lt;P&gt;Also - this function slows down the explorer incredibly. Is this a known problem.. &lt;/P&gt;
&lt;P&gt;Otherwise this function is amazing.. :)&lt;/P&gt;
&lt;P&gt;Many thanks for any help,&lt;/P&gt;
&lt;P&gt;-exito&lt;/P&gt;</description></item><item><title>Is it possible to read MetaStock Files using C# [RESOLVED]  </title><link>http://forum.equis.com/forums/thread/19078.aspx</link><pubDate>Fri, 14 Jul 2006 07:03:47 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:19078</guid><dc:creator>daydreamsy2k</dc:creator><slash:comments>18</slash:comments><comments>http://forum.equis.com/forums/thread/19078.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=19078</wfw:commentRss><description>hi&lt;br /&gt;&lt;br /&gt;Is it possible to read MetaStock Files using C# (EMASTER, F1.DAT, F2.DAT .... )&lt;br /&gt;&lt;br /&gt;I want to build an application that read the Intraday stock data from the DMetaStock Files&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks</description></item><item><title>Deploying msx dlls</title><link>http://forum.equis.com/forums/thread/30574.aspx</link><pubDate>Tue, 01 Sep 2009 08:03:05 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:30574</guid><dc:creator>SMenday</dc:creator><slash:comments>11</slash:comments><comments>http://forum.equis.com/forums/thread/30574.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=30574</wfw:commentRss><description>&lt;P&gt;Hi all&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;have written an MSX dll in c++, it all works fine on my machine.&amp;nbsp; I have tried to give a friend a copy using the self installing exe option, it doesn't seem to work.&amp;nbsp; It copies all the indicators etc but not the dll.&amp;nbsp; Placing a copy of the DLL manually in "External Function DLLS" doesn't work either, MS doesn't seem to be able to see it.&lt;/P&gt;
&lt;P&gt;Any ideas as to why it isn't working?&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Stew&lt;/P&gt;</description></item><item><title>Help required</title><link>http://forum.equis.com/forums/thread/30926.aspx</link><pubDate>Sat, 10 Oct 2009 18:47:25 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:30926</guid><dc:creator>perfecttip</dc:creator><slash:comments>0</slash:comments><comments>http://forum.equis.com/forums/thread/30926.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=30926</wfw:commentRss><description>Is this possible ? &lt;br /&gt;What I am looking for is automation of the stock picking process. Please allow me to discuss in detail the aspects I am looking for. &lt;br /&gt;&lt;br /&gt;1. Camarilla levels shall be calculated as per the following equations : &lt;br /&gt;H5 = (H/L)*C &lt;br /&gt;H4 = [1.1*(H-L)/2]+C &lt;br /&gt;H3 = [1.1*(H-L)/4]+C &lt;br /&gt;H2 = [1.1*(H-L)/6]+C &lt;br /&gt;H1 = [1.1*(H-L)/12]+C &lt;br /&gt;&lt;br /&gt;L1 = C-[1.1*(H-L)/12] &lt;br /&gt;L2 = C-[1.1*(H-L)/6] &lt;br /&gt;L3 = C-[1.1*(H-L)/4] &lt;br /&gt;L4 = C-[1.1*(H-L)/2] &lt;br /&gt;L5 = C-(H5-C) &lt;br /&gt;&lt;br /&gt;2.These levels must be used to develop a Custom Indicator, a Custom Exploration and a Custom Expert Advisor. &lt;br /&gt;3.All of the above must take care of trading holidays even those which fall within the week. &lt;br /&gt;4.Custom Indicator : An integrated indicator which will display the weekly and daily Camarilla levels when plotted on any chart irrespective of whether it is an RealTime intraday chart, a daily chart or a weekly chart with easily recognisable colour coding. Also a seperate indicator for monthly Camarilla levels. &lt;br /&gt;5.Custom Exploration : Three seperate explorations (daily, weekly and monthly) to find out which stocks are trading near any of the Camarila levels. &lt;br /&gt;6.Custom Expert Advisor : An advisor which when attached to a chart, whether its an RT intraday chart, a weekly chart or a monthly chart, alerts with a visual and audio alert when the stock trades near any of the Daily, Weekly or Monthly Camarilla levels. &lt;br /&gt;7.Changes necessary in the coding if the numbers (2,4,6,12) in the equations are to me modified. &lt;br /&gt;8.System tester.&lt;br /&gt;9.Passowrd protection (of course should be know to me) for all of the above.</description></item><item><title>MS Not Reading DLL</title><link>http://forum.equis.com/forums/thread/30723.aspx</link><pubDate>Tue, 15 Sep 2009 02:11:24 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:30723</guid><dc:creator>underground</dc:creator><slash:comments>0</slash:comments><comments>http://forum.equis.com/forums/thread/30723.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=30723</wfw:commentRss><description>K question - I have created a working dll and custom indicators on my computer, everything works correctly. &lt;br /&gt;&lt;br /&gt;I sent a copy of the dll and formulas to a friends to use. He has the same version of MS as I do. And this isnt the fist time we have done this swap. He has placed the dll in the correct sub folder and has imported my formulas into MS But for some reason MS is not picking up (reading the dll) it say it does not exist within the folder and when we look for it in the Indicator builder its not there. &lt;br /&gt;&lt;br /&gt;So for some reason MS is not picking up the dll when he opens MS. Has anyone had this same problem as us? If so how did you correct it... Any suggestions?&lt;br /&gt;</description></item><item><title>visual c# 2008 MSFL</title><link>http://forum.equis.com/forums/thread/30626.aspx</link><pubDate>Tue, 08 Sep 2009 06:54:16 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:30626</guid><dc:creator>ArmyofTheLostToys</dc:creator><slash:comments>1</slash:comments><comments>http://forum.equis.com/forums/thread/30626.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=30626</wfw:commentRss><description>Hello People,&lt;br&gt;&lt;br&gt;I am struggling to call the MSFL APIs from c#... any help would be much appreciated... I have done the following:&lt;br&gt;&lt;br&gt;1. created a new class called MSFL and redefined all consts, enums and functions from the MSFL.h file. the functions redefined as follows:&lt;br&gt;&lt;br&gt;[DllImport("MSFL91.dll", CallingConvention = CallingConvention.StdCall)]&lt;br&gt;public static extern int MSFL1_Initialize(string pszAppName, string pszUserName, int iInterfaceVersion);&lt;br&gt;&lt;br&gt;2. if i execute the following logic:&lt;br&gt;&lt;br&gt;int returnValue;&lt;br&gt;string string1 = "programName";&lt;br&gt;string string2 = "userName";&lt;br&gt;returnValue = MSFL.MSFL1_Initialize(string1, string2, MSFL.MSFL_DLL_INTERFACE_VERSION);&lt;br&gt;&lt;br&gt;i get the following error:&lt;br&gt;&lt;br&gt;An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)&lt;br&gt;&lt;br&gt;System.BadImageFormatException was unhandled&lt;br&gt;&amp;nbsp; Message="An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"&lt;br&gt;&amp;nbsp; Source="AotLT"&lt;br&gt;&amp;nbsp; StackTrace:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at metastock.MSFL.MSFL1_Initialize(String pszAppName, String pszUserName, Int32 iInterfaceVersion)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at AotLT.Program.Main(String[] args) in C:\Users\bundle\Documents\Visual Studio 2008\Projects\CSharp\AotLT\AotLT\Program.cs:line 97&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Threading.ThreadHelper.ThreadStart()&lt;br&gt;&amp;nbsp; InnerException: &lt;br&gt;&lt;br&gt;thanks in advance. &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>MSX DLL is reporting a floating point invalid operation....</title><link>http://forum.equis.com/forums/thread/30122.aspx</link><pubDate>Sun, 12 Jul 2009 15:52:47 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:30122</guid><dc:creator>snoopy</dc:creator><slash:comments>3</slash:comments><comments>http://forum.equis.com/forums/thread/30122.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=30122</wfw:commentRss><description>I am getting this error reported back from a DLL that I have written but only if the DLL is run outside the Borland IDE.&lt;br&gt;&lt;br&gt;What are all of the possible causes of this error ??&lt;br&gt;&lt;br&gt;regards&lt;br&gt;david&lt;br&gt;&lt;br&gt;</description></item><item><title>Hungarian Notation</title><link>http://forum.equis.com/forums/thread/30046.aspx</link><pubDate>Sun, 05 Jul 2009 02:57:56 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:30046</guid><dc:creator>DanielV</dc:creator><slash:comments>2</slash:comments><comments>http://forum.equis.com/forums/thread/30046.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=30046</wfw:commentRss><description>Is it possible to remove it?&lt;br /&gt;I find it very distracting specially for a newcomer.&lt;br /&gt;&lt;br /&gt;Thanks in advance,&lt;br /&gt;&lt;br /&gt;Daniel</description></item><item><title>MetaStock 11 and compatibility with existing plugins</title><link>http://forum.equis.com/forums/thread/30015.aspx</link><pubDate>Sun, 28 Jun 2009 05:21:58 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:30015</guid><dc:creator>snoopy</dc:creator><slash:comments>2</slash:comments><comments>http://forum.equis.com/forums/thread/30015.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=30015</wfw:commentRss><description>Hello&lt;br&gt;&lt;br&gt;Does anyone know if the new MetaStock 11 will be compatible with existing DLL plug-ins or will all of these have to be re-written and repurchased all over again ??&lt;br&gt;&lt;br&gt;regards&lt;br&gt;&lt;br&gt;</description></item><item><title>MDK Need help in function parameter!</title><link>http://forum.equis.com/forums/thread/29679.aspx</link><pubDate>Fri, 08 May 2009 05:13:15 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:29679</guid><dc:creator>tengfei932</dc:creator><slash:comments>7</slash:comments><comments>http://forum.equis.com/forums/thread/29679.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=29679</wfw:commentRss><description>Hi,&lt;br&gt; &lt;br&gt;
  I need help in Metastock Developers Kit (MDK). I copied forum.dll and I try this code and it works:&lt;br&gt;
	prd:=PeakBars(1,C,5)-1;&lt;br&gt;
	data:=ExtFml("Forum20.Ref",C,prd);&lt;br&gt; &lt;br&gt; &lt;br&gt;
But if I try to make my own code with my own function then it show
error "This variable or expression must contain only constant data."
for "prd" :&lt;br&gt;
	prd:=PeakBars(1,C,5)-1;&lt;br&gt;
	data:=ExtFml("MyCode.Ref",C,prd);&lt;br&gt; &lt;br&gt;
I try to make the function just like they have in the example
CSampleDLL.cpp. But it still showing me same error. What mistake am I
doing. Why my function only accept constant and not the calculate
"prd".?&lt;br&gt; &lt;br&gt;
  Please Please help. I am going mad solving this.&lt;img src="http://www.trade2win.com/boards/images/smilies/icon_sad.gif" alt="" title="Sad" class="inlineimg" border="0"&gt;&lt;br&gt; &lt;br&gt;
Thank You&lt;br&gt;
Teng Fei</description></item><item><title>Request for simple example of MDK code that returns the CLOSE to MS Chart.</title><link>http://forum.equis.com/forums/thread/29788.aspx</link><pubDate>Tue, 26 May 2009 20:16:55 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:29788</guid><dc:creator>jhughey</dc:creator><slash:comments>5</slash:comments><comments>http://forum.equis.com/forums/thread/29788.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=29788</wfw:commentRss><description>Hello,&lt;br&gt;&lt;br&gt;Being new to the use of MDK, I would like to better understand *how* the MDK uses code to create a DLL that will be used by the Metastock application.&amp;nbsp;&amp;nbsp; I have seen the examples in the MDK User's Manual, which I am sure will be very helpful as I progress.&amp;nbsp; I have also looked/searched in vain for simple MDK examples in this forum. &lt;br&gt;&lt;br&gt;At this point, to free myself from a mental block, it would be very beneficial to me if I did not have to start off with a multi-paged, moving-average MDK C++ painting of a Rembrandt.&amp;nbsp;&amp;nbsp; I simply want to learn how to put a dab of paint on the canvas.&lt;br&gt;&lt;br&gt;For example, it would be very helpful to see an example that takes the charted security's data and returns the CLOSE to the MS chart. &amp;nbsp; &lt;br&gt;&lt;br&gt;Could someone *please* post a *complete* C/C++ example of MDK code that can be use to create such a DLL file.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;
&lt;br&gt;&lt;br&gt;Thanks for your help! &amp;nbsp; &lt;br&gt;</description></item><item><title>DLL Output Error or MS Internal Problem...</title><link>http://forum.equis.com/forums/thread/29701.aspx</link><pubDate>Tue, 12 May 2009 22:14:01 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:29701</guid><dc:creator>underground</dc:creator><slash:comments>2</slash:comments><comments>http://forum.equis.com/forums/thread/29701.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=29701</wfw:commentRss><description>&lt;P&gt;Ok question I have created a DLL which outputs my functions values to a txt file. The Output function creates two txt files one called Entire (sends all the loaded bars from the chart) and another one called Update (just sends the closing bars value). The dll runs fine but over the course of the day the problem I'm finding is Metastock swaps the files sending the information to the wrong txt file. Im wondering is Metastock having a memory allocation problem when I overload the computer? And does anyone have a suggestion to correcting this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>.net mixed mode MSX dll</title><link>http://forum.equis.com/forums/thread/29729.aspx</link><pubDate>Fri, 15 May 2009 22:27:10 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:29729</guid><dc:creator>PlainCityMan</dc:creator><slash:comments>0</slash:comments><comments>http://forum.equis.com/forums/thread/29729.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=29729</wfw:commentRss><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I made an attempt to write a .net mixed mode (managed and unmanaged/native)&amp;nbsp;MSX dll.&amp;nbsp; I wrote the exported functions in C++/CLI and the bulk of the indicator in C# with the C++/CLI functions calling static and non-static managed methods in static and instance classes written in C#.&amp;nbsp; With the Microsoft SDK tools I compiled my C# code to a netmodule (csc.exe)&amp;nbsp;and&amp;nbsp;with a #using statement in the C++/CLI code to reference this netmodule, I compiled the &amp;nbsp;C++/CLI code into a single file dll (cl).&amp;nbsp; I followed the MSX guidelines as described in the MetaStock developers kit manual in writing the dll.&amp;nbsp; After it was all said and done, it would not work in the MSXTest utility.&amp;nbsp; So, I proceeded to investigate why it might not work and although I didn't look at ever single Forum entry for clues, I did find this statement, "The DLL needs to be a native win32 DLL with no runtime dependencies." in one forum entry which succiently summed it up well.&amp;nbsp; Well, ok.&amp;nbsp; But I'm really bullheaded and I want to know, WHY?&amp;nbsp; Why won't MetaStock work with a DLL with runtime dependencies?&amp;nbsp;&amp;nbsp;I have&amp;nbsp;native export functions&amp;nbsp;so it seems that it should&amp;nbsp;work.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;I&amp;nbsp;might&amp;nbsp;speculate that it might have something to do with an&amp;nbsp; intended or unintended&amp;nbsp;loader lock issue but I really don't know.&lt;/P&gt;
&lt;P&gt;Will anyone give me some idea as to&amp;nbsp;WHY a mixed mode .net MSX dll won't work?&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Does anyone know if this will be remedied in the next MetaStock version.&amp;nbsp; I really hate to work in obsolete programming languages and would really like to write in Java or C# and not waste time in dead end clutzy languages.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;PCM&lt;/P&gt;</description></item><item><title>MDK  Installation Failures:  EqCustUI.exe:  No Commands processed.</title><link>http://forum.equis.com/forums/thread/29684.aspx</link><pubDate>Sun, 10 May 2009 17:38:33 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:29684</guid><dc:creator>jhughey</dc:creator><slash:comments>3</slash:comments><comments>http://forum.equis.com/forums/thread/29684.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=29684</wfw:commentRss><description>
 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-US
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
   
   
  
  MicrosoftInternetExplorer4
  
   
   
   
   
   
   
   
   
   
   
   
  

 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 




 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin-top:0in;
	mso-para-margin-right:0in;
	mso-para-margin-bottom:6.0pt;
	mso-para-margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:"Times New Roman";
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;}

HOW DO I GET RID OF THIS FORMAT GARBAGE???&amp;nbsp;&amp;nbsp; USED CUT-AND-PASTE&lt;br&gt;&lt;br&gt;&lt;br&gt;Could someone please explain what may possibly be
wrong with my installation of MDK 9.1 in Windows Vista, and hopefully how to
fix it.&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;I plan to send Email to the usual channels, but
the sales rep is not there until tomorrow.

&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;After the third installation (details below) I
tried executing the EqCustUI.exe and nothing happens except the message window
below. &lt;/p&gt;

&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Equis User Interface Customization Utility v1.01&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
Copyright © 2000, 2001, All Rights Reserved&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;b&gt;EqCustUI.exe:&amp;nbsp; No Commands processed.&amp;nbsp; Use /h for help.&amp;nbsp; &lt;/b&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;Neither /h or PF1 do anything while the window is
open.&amp;nbsp; You click OK and the window goes away, but no application interface
appears, so help is useless.&amp;nbsp;&amp;nbsp;&amp;nbsp; Subsequent investigation from
Windows Task Manager shows no Equis/Metastock/EqCustUI processes are executing.&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;i&gt;Now I note that this beast has uninstalled
my original Metastock 10.1 application!!&lt;/i&gt;&lt;/b&gt; &lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;It is no longer listed in the Control Panel
“Uninstall Software” list, nor is the executable present in its usual
directory. &amp;nbsp; From the Control Panel &lt;i&gt;Metastock
Developers Kit&lt;/i&gt; is there. &amp;nbsp;&amp;nbsp;So now I can’t use Metastock,
period.&amp;nbsp;&amp;nbsp; Brilliant!&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;b&gt;Windows
Vista Settings:&lt;/b&gt;&amp;nbsp; &lt;i&gt;I am using
Windows Vista (64-bit), but I am running EqCustUI.exe in 32-bit compatibility
mode for Windows XP (SP 2).&amp;nbsp; &lt;/i&gt;Previously both Metastock 10.1 and its
Downloader operated fine over the past year.&amp;nbsp; From Windows properties of
the entire Equis directory, my userid has complete control of all
files.&amp;nbsp;&amp;nbsp; Vista’s User Account Control is turned off. &amp;nbsp; Running
as Administrator does not make any difference. &lt;/p&gt;

&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;b&gt;Installation
Details:&lt;/b&gt;&amp;nbsp; Here are the installation attempts:&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;b&gt;First Time&lt;/b&gt;
– Used the wrong key.&amp;nbsp; Directions referred to the Key being on the back of
the CD case, NOT the CD.&amp;nbsp; The junk on the case did not even fit, but it
installed anyway.&amp;nbsp; Used Windows to uninstall. &lt;/p&gt;

&lt;p class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp; &lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;b&gt;Second Time&lt;/b&gt;
– Found the correct Key on the CD and used it.&amp;nbsp; However, since the
application was not designed for any O/S higher than Windows XP, it was installed
within the Vista 64 bit “C//Program Files”, not 32-bit-compatible Program Files
(x86).&amp;nbsp; Used Windows to uninstall.&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;b&gt;Third Time&lt;/b&gt;
– Correct key, and correct program directory.&amp;nbsp; No messages of problems.&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;b&gt;Installed
Files Verified:&lt;/b&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;From the manual, I
verified all the installed files were present in the usual C:/PF(x86)/Equis
directory.&amp;nbsp; There are MSXTest.exe in Equis/MSX and EqCustUI.exe &amp;nbsp;in
Equis/UI/.&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;What is wrong here?&amp;nbsp;&amp;nbsp; How do I fix it, or
is this ancient beast incompatible with Vista?&amp;nbsp;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;br&gt;</description></item><item><title>Indicator (and my code) called multiple times till value changes</title><link>http://forum.equis.com/forums/thread/29551.aspx</link><pubDate>Sat, 25 Apr 2009 21:25:33 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:29551</guid><dc:creator>sandeepy02</dc:creator><slash:comments>1</slash:comments><comments>http://forum.equis.com/forums/thread/29551.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=29551</wfw:commentRss><description>Hi,&lt;br&gt;&amp;nbsp; I am new to MDK and this may be a basic query.&amp;nbsp; I wrote a simple program (which I called from an indicator through DLL) which tells me whether to buy or sell. The inout is a 5-minute data. But once I get a buy/sell signal, it keeps on calling DLL (nearly evry second) unless the indicatoor value changes.&lt;br&gt;&lt;br&gt;&amp;nbsp;I just want the value to come once for every change in indicator.&lt;br&gt;&lt;br&gt;&amp;nbsp;Is my understanding of metastock's functionalities is wrong or am i using it worngly?&lt;br&gt;&lt;br&gt;&amp;nbsp;Will post code if anyine inteested.&lt;br&gt;&lt;br&gt;Cheers&lt;br&gt;SY&lt;br&gt;</description></item><item><title>the copyright</title><link>http://forum.equis.com/forums/thread/29338.aspx</link><pubDate>Sat, 04 Apr 2009 09:30:10 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:29338</guid><dc:creator>mumin16</dc:creator><slash:comments>2</slash:comments><comments>http://forum.equis.com/forums/thread/29338.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=29338</wfw:commentRss><description>what sale here?&lt;br&gt;the manual?&lt;br&gt;the utils(the header file,the library file ,the examples..) in cd?&lt;br&gt;can i use the Write-version which not to be the manual, cd?&lt;br&gt;can you accord the info about&amp;nbsp; copyright ?&lt;br&gt;</description></item><item><title>MSFL2_AdjustData</title><link>http://forum.equis.com/forums/thread/29251.aspx</link><pubDate>Wed, 25 Mar 2009 15:14:47 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:29251</guid><dc:creator>mumin16</dc:creator><slash:comments>3</slash:comments><comments>http://forum.equis.com/forums/thread/29251.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=29251</wfw:commentRss><description>MSFL2_AdjustData(param1,param2,param3,param4);&lt;br&gt;&lt;br&gt;this is corpse! you help me autopsy...&lt;br&gt;&lt;br&gt;</description></item><item><title>writing of another price data</title><link>http://forum.equis.com/forums/thread/29219.aspx</link><pubDate>Fri, 20 Mar 2009 09:54:52 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:29219</guid><dc:creator>mumin16</dc:creator><slash:comments>5</slash:comments><comments>http://forum.equis.com/forums/thread/29219.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=29219</wfw:commentRss><description>how avoid&amp;nbsp; the writing of another price data&amp;nbsp; over the one price data?&lt;br&gt;why happen this instance?</description></item><item><title>MSFL1_AddSecurity(pcDirNumber,&amp;amp;psSecurityInfo,0)</title><link>http://forum.equis.com/forums/thread/29199.aspx</link><pubDate>Tue, 17 Mar 2009 11:12:03 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:29199</guid><dc:creator>mumin16</dc:creator><slash:comments>1</slash:comments><comments>http://forum.equis.com/forums/thread/29199.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=29199</wfw:commentRss><description>iDate = DateTime.Now.Year * 10000 + DateTime.Now.Month * 100 + DateTime.Now.Day;&lt;br&gt;&lt;br&gt;ZeroMemory(&amp;amp;psSecurityInfo,sizeof psSecurityInfo);&lt;br&gt;psSecurityInfo.dwTotalSize=sizeof MSFLSecurityInfo_struct;&lt;br&gt;lstrcpy(&amp;amp;psSecurityInfo.szName,"first" );&lt;br&gt;lstrcpy(&amp;amp;psSecurityInfo.szSymbol,"FIRST");&lt;br&gt;psSecurityInfo.cPeriodicity= "I";//intraday&lt;br&gt;psSecurityInfo.wInterval=60;60 sec&lt;br&gt;psSecurityInfo.bFlagged=1;//Units decimal, true&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;psSecurityInfo.wDataAvailable= MSFL_DATA_DATE + MSFL_DATA_TIME + MSFL_DATA_OPEN&amp;nbsp; + MSFL_DATA_HIGH + MSFL_DATA_LOW&amp;nbsp; + MSFL_DATA_CLOSE + MSFL_DATA_VOLUME;&lt;br&gt;&lt;br&gt;psSecurityInfo.lFirstDate]= iDate;&lt;br&gt;psSecurityInfo.lLastDate]=iDate;&lt;br&gt;&lt;br&gt;MSFL1_AddSecurity(pcDirNumber,&amp;amp;psSecurityInfo,0);&lt;br&gt;&lt;br&gt;&lt;br&gt;error: Primary Security not found : why?&lt;br&gt;</description></item><item><title>MSFL1_BuildMetaStockDirectory(pcDirNumber);</title><link>http://forum.equis.com/forums/thread/29195.aspx</link><pubDate>Mon, 16 Mar 2009 16:23:48 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:29195</guid><dc:creator>mumin16</dc:creator><slash:comments>1</slash:comments><comments>http://forum.equis.com/forums/thread/29195.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=29195</wfw:commentRss><description>GetCurrentDirectory(MSFL_MAX_PATH,&amp;amp;pszDirectory);&lt;br&gt;MSFL1_OpenDirectory(&amp;amp;pszDirectory, &amp;amp;pcDirNumber,MSFL_DIR_FORCE_USER_IN);&lt;br&gt;if(error)&lt;br&gt;{&lt;br&gt;MSFL1_BuildMetaStockDirectory(pcDirNumber);// error: invalid function call //why?&lt;br&gt;};&lt;br&gt;</description></item><item><title>Date in psDate strangeness</title><link>http://forum.equis.com/forums/thread/29091.aspx</link><pubDate>Wed, 04 Mar 2009 13:26:36 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:29091</guid><dc:creator>DrPain</dc:creator><slash:comments>3</slash:comments><comments>http://forum.equis.com/forums/thread/29091.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=29091</wfw:commentRss><description>I was noticing some strange values with dates in the MSXDataRec structure, so I plotted them to an indicator to see what was going on.&amp;nbsp; The numbers seem to skip some days.&lt;br&gt;&lt;br&gt;My platform is MetaStock Pro FX version 9.2&lt;br&gt;Data is $$EURUSD, 10 minutes&lt;br&gt;&lt;br&gt;1/06/2009 20090106&lt;br&gt;
1/07/2009 20090108&lt;br&gt;
1/08/2009 20090108&lt;br&gt;1/09/2009 20090108&lt;br&gt;1/10/2009 (saturday, no data)&lt;br&gt;
1/11/2009 20090112&lt;br&gt;
1/12/2009 20090112&lt;br&gt;

1/13/2009 20090112&lt;br&gt;





1/14/2009 20090114&lt;br&gt;


1/15/2009 20090116&lt;br&gt;




1/16/2009 20090116&lt;br&gt;





1/17/2009 (saturday, no data)&lt;br&gt;






1/18/2009 20090118&lt;br&gt;





1/19/2009 20090120&lt;br&gt;





1/20/2009 20090120&lt;br&gt;








1/21/2009 20090120&lt;br&gt;












1/22/2009 20090122&lt;br&gt;




&lt;br&gt;I also checked the daily data the same way, with virtually the same results.&lt;br&gt;&lt;br&gt;Any clue what's going on here?&amp;nbsp; Is this a known problem?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Dave&lt;br&gt;</description></item><item><title>Accessing data for one open security from within another</title><link>http://forum.equis.com/forums/thread/29018.aspx</link><pubDate>Tue, 24 Feb 2009 21:45:44 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:29018</guid><dc:creator>DrPain</dc:creator><slash:comments>9</slash:comments><comments>http://forum.equis.com/forums/thread/29018.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=29018</wfw:commentRss><description>Here's a question that may have to be answered by an Equis programmer (do they visit this forum?).&lt;br&gt;&lt;br&gt;I'm trying to add a feature to Trade System Designer that will allow a System to access the data from a different security while it's running.&amp;nbsp; For instance, you can have the "Euro 30 minute" security get the data from the "Euro Daily" security to do things like moving averages and such.&lt;br&gt;&lt;br&gt;This works fine in my stand-alone application, using MSFL, but when I run the same code but use MSK to access the data instead, it crashes.&lt;br&gt;&lt;br&gt;The first thing that comes to mind is a threading issue.&amp;nbsp; Perhaps the data in one security is getting changed after the second security has started to access it?&amp;nbsp; If this is the case, is there a way around this?&amp;nbsp; Perhaps using some mutexes (that would of course already have to exist in MetaStock)?&lt;br&gt;&lt;br&gt;Has this been done before by anyone else?&amp;nbsp; Can it be done?&lt;br&gt;</description></item><item><title>MDK ver 1 compatibility issues with MS 10.1?</title><link>http://forum.equis.com/forums/thread/28685.aspx</link><pubDate>Tue, 20 Jan 2009 18:18:41 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:28685</guid><dc:creator>masterdata</dc:creator><slash:comments>4</slash:comments><comments>http://forum.equis.com/forums/thread/28685.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3046&amp;PostID=28685</wfw:commentRss><description>&lt;P&gt;I am still using version 1 of the MDK because it has worked reliably over the years.&amp;nbsp; Now I am troubleshooting a new&amp;nbsp;issue with a user of the plug-in running MetaStock 10.1.&amp;nbsp; I am just trying to eliminate possibilities.&amp;nbsp; Are there &lt;STRONG&gt;any&lt;/STRONG&gt; compatibilty issues that anyone is aware of between a plug-in using this older version of the MDk and MetaStock 10.1???&lt;/P&gt;
&lt;P&gt;I appreciate any feedback here.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;L.P. Carhartt&lt;/P&gt;</description></item></channel></rss>