[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: === Looping constructs.



PureBytes Links

Trading Reference Links

There are at least 3 different things I can think of which the MS language needs badly: 1.  Procedural loops such as For...Next, While...Do, etc... 2.  Ability to reference other tickers within arrays.  Instead of just using MS 7's referencing of another single ticker, using their new function, I would like to use an array in a For...Next loop to do relative strength comparisons of all the tickers I wish: Save:=0; For x=1 to 100    For y=1 to 100       If Not X=Y          Begin          For z=5 to 1             If ref(Ticker[x],-z)  /ref(Ticker[y],-z)   >                ref(Ticker[x],-z-1)/ref(Ticker[y],-z-1)                   Then Goto NEXT_SYMBOL;          Next z;          Save:=Save+1;          Save_Ticker[Save] := Ticker[x];          End;       :NEXT_SYMBOL;    Next Y; Next X; There would be some sort of write statement from Save_Ticker to a file here. End. Obviously since MS has no such language, this is a crude rendering but you get the general message. 3.  Having the above ability would also allow me to create "Diffusion Indicators."  DI's, as defined in Pring's Momentum pages 305-310, are a "basket of of items within a specific universe that are in a positive trend."  An example would be the percentage of stocks, such as all Nasdaq $10<=Price<=$150 and 10M<= shares outstanding <=150M, above their 10 or 30 day MOV's.  Investor's Intelligence discloses these indicators every week (several days late).  I would like to create them myself everyday and on time. 4.  Ability to use strings as in the above arrays. Being able to use tickers inside arrays within procedural loops would give system writers the ultimate flexibility.  I suppose, if I must, I'll upgrade to MS v7 and also buy the SDK. Daniel.   Gary Lyben wrote: What is it that you want to do in the system tester that you can't do now? Gary -----Original Message----- From: Daniel Martinez [mailto:DanM@xxxxxxxxxx] Sent: Tuesday, February 22, 2000 10:42 PM To: metastock@xxxxxxxxxxxxx Cc: Equis Suggestion Box Subject: Re: === Looping constructs. I think Equis, for it's next MetaStock version, should have built-in VBA support.  Also, MS should have a MS language converter for conversion to VBA. This way, experienced users can gradually move to VBA.  New users can start using VBA right away instead of learning MS.  VBA is becoming the standard language for users.  Even Corel is getting the message by including VBA support in their Office 2000.  While this may seem difficult, MicroSoft Word has macro AND VBA support. Right now, we must buy an extra SDK, Power Basic or equivalent, figure out how to create DLL's and learn how to link them to MS. About Traderware:  Something many on this List may not know.  Traderware will not work in Win9x.  You must use Win NT.  If you try to use Win9x, it will crash after about an hour.  Their salesman told me Win9x won't "return system resources" correctly.  I have never heard of this type of problem in Win9x before so it doesn't make much sense to me.  I doubt RadarScreen has this problem. Daniel. David Bozkurtian wrote: > At the least, it should do these things. Not to mention simple flow control > and repeating structures such as For Loops, While, Select Case. What about > passing parameters to custom indicators? > > It is probably futile to expect these enhancements in the near future from > Equis. Any Developers/Traders out there interested in putting our noggins > together to create a shareable version of what we want? > > I know the folks at Traderware have a very interesting product (M Brown, I > know you are reading), but the last time I checked the cost was way over my > budget. > > Hopefully helpful folks like yourselves will not only identify the problems > facing technical analysts, but bring to the table real workable solutions > (preferably turnkey) to benefit the entire list. > It's happening piecemeal now with people trading system, indicator, expert, > and explorer code. But still, you have to admit, that we are in the dark > ages. > > We have no accepted standards for measuring system effectiveness, no > standards for stop rules. Looks like the whole field is still evolving, > which is a good thing. I continue to believe that the Internet and the > sharing of ideas will revolutionize our field over the next few years. It's > an exiting time, and great to be part of this list group. I think other > agree that what some of us have learned on this list is not found in print > anywhere else, or at least not easy to come by. > > Thanks list. > > David > > From: "Kolade, Adeniyi" > Reply-To: metastock@xxxxxxxxxxxxx > To: "'metastock@xxxxxxxxxxxxx'" > Subject: === Looping constructs. > Date: Tue, 22 Feb 2000 16:14:01 -0000 > > Hi all > > Do you not think that Equis should > > 1  Include looping constructs in the Metastock formula language > > and > > 2  Make the tiny screen area for programming in the Explorer, the System > Tester and the Expert Builder expandable to one page  at least > > Further can anyone tell me how to make the FFT function works in an > exploration. I've tried it out but it returns N/A > > Thanks > ade Kolade