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

Notification

Icon
Error

Options
Go to last post Go to first unread
LongShot  
#1 Posted : Friday, May 27, 2005 6:57:08 PM(UTC)
LongShot

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/4/2005(UTC)
Posts: 31

I have been working really hard on a system for a long time. First there are the limits to the number of variables which need to get worked around, and then the size limit for an indicator. I finally get it all conceptually refined and am able to create an "expert" and marvel at all the profitable trades. But I need to optimize this somewhat. Now, it would seem to me that the structure of an expert and a system for testing would be very similar, exept that you put "OPT1", OPT2", etc in place of some variables. So, I copy and... no, it will not paste because "Unable to paste clipboard contents because there is not enough space left in the formula." Thru experimenting, I find that it will take about 1/3 of the "GoLong" portion of my expert into the "Buy Order" section of the system tester. Now, can anybody tell me what use is a system tester that can't test your systems? Or am I missing something here? Why would the size limit be less than the max size of an indicator????? dc
LongShot  
#2 Posted : Friday, May 27, 2005 7:12:41 PM(UTC)
LongShot

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/4/2005(UTC)
Posts: 31

This is really perverse. The system tester seems to have a 1000 character limit in each section, while the expert seems to have a 2500 character limit in each of its sections. Can't find this in the Help file or the manual. dc
Marilyn  
#3 Posted : Friday, May 27, 2005 7:59:24 PM(UTC)
Marilyn

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/10/2004(UTC)
Posts: 863
Location: Salt Lake City, UT

Hi LongShot - I am the only one up here right now... so I ran and asked the question for ya. Hopefully this answer will make sense. Max values for Power Tools 7.22 and prior Max # of formulas per folder = 1000 Max # of characters in any one formula = 2500 (1024 in System Tester) Max # of characters in the name of a formula = 60 (70 in Enhanced System Tester) Max # of characters in the password for a formula = 19 8.0 and newer Max # of formulas per folder = 2000 Marilyn
joetrade69  
#4 Posted : Friday, May 27, 2005 9:26:54 PM(UTC)
joetrade69

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 121

you can also create it as an indicator and in the system tester, use the FML function
LongShot  
#5 Posted : Monday, May 30, 2005 7:30:23 PM(UTC)
LongShot

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/4/2005(UTC)
Posts: 31

Again, why a 1000 character limit for sections (one formula) in the system tester when the limit for an indicator (formula) or a section of an expert (single formula) is 2500??? Also, joetrade69, a "fml" call is useless, because what I ultimately need optimized is in the root definitions of my system, ie how the basic functions behave when restrained by rules defined later in the formula. Kinda like setting a course for a plane. You set a compass direction, altitude, air speed, and flight time to go from a to b. Now what I have put together are ways of accounting for wind direction, weather prediction to route around storms, and a few other bits. All this needs to be in place while I optimize the fundementals like air speed and direction to fit in with all the other suff I have developed. Another "feature" of Metastock is that you cannot use the optimizer variables (OPT1, OPT2, etc) in user defined indicators (formulas). This is to say that you cannot pass your variables to another funcion. What it seems to come down to is that I will need the Metastock SDK ($$$) to do some pretty ordinary things that I would have expected the software to be able to do from the get-go. This of course would include the learning curve, and still, the optimizer would be quite limited, and I would be gambling on whether this would work. dc
Patrick  
#6 Posted : Monday, May 30, 2005 10:00:46 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
Joetrade is only trying to help ... No need to get upset :wink:
feature" of Metastock is that you cannot use the optimizer variables (OPT1, OPT2, etc) in user defined indicators (formulas).[/quote wrote:
I know this does not answer your question and it might make you angrier than you already are, but in my opinion, optimization to this level is a waste of time. Now that I have said this, we could try to help you, but you will have to be more specific. Give us the formula and tell us how you want to test - optimize it. Right now you are not asking for help ... Patrick :mrgreen
LongShot  
#7 Posted : Tuesday, May 31, 2005 1:08:45 PM(UTC)
LongShot

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/4/2005(UTC)
Posts: 31

I guess it all boils down to the three questions I asked at the end of my original post. Yes, I'm a little angry discovering some (IMOP) shortcomings in a fairly pricey software package. I was not venting at Joetrade. I was using his question to illustrate my problem; actually his question was well to the point. If Metastock allowed passing variables to custom indicators, my problem would be largely solved. If Metastock had the consistency to allow the system tester to use the full size of any expert, this would also work. Patrick, I appreciate your offer to help, but I've worked on this for months to get to the point that I am at now: a working expert (fitted into the 2500 char limit) that needs to be optimized. Going over the formulae I am using with an expert Metastock programmer to condense it further, might get it from 2400 chars down to say 1500? I might also point out that my first post has 988 characters in it. That would fill one section on the system tester. And no, I am well aware of how over-optimizing works; this is necessary. From research I have done, I have an original concept that I can see works quite well. If anybody else is using it, they're not talking. I just do not know how to talk about it without revealing how it operates, and I'm not ready to do that. Over the weekend, I decided that I need to build my own optimizer using VB or Pascal, and feed its results to Metastock to produce the charts. Thanx dc PS this post goes over the 1000 char limit.
Patrick  
#8 Posted : Tuesday, May 31, 2005 2:29:54 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
Quote:
PS this post goes over the 1000 char limit.
:lol: I understand that the limit is ridiculous ... I have asked for that to be changed as well ... A few years back ... Sorry that I can't be of help. Patrick :mrgreen:
nrc  
#9 Posted : Monday, June 13, 2005 12:03:53 AM(UTC)
nrc

Rank: Newbie

Groups: Registered, Registered Users
Joined: 5/24/2005(UTC)
Posts: 3

Has any one tried using tradesim for system testing in Metastock i was wondering if it was esier to use than system tester in metastock
bradulrich  
#10 Posted : Monday, June 13, 2005 12:19:45 AM(UTC)
bradulrich

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 6/5/2005(UTC)
Posts: 35

Hey, There is GV.dll external formula DLL that was written a while back, (I think you can get it from Roy Larsen) that allows you to get and set global variables. I haven't really thought it through, but this may help as a way to "pass" variables as input to indicators via separate system tester code? Just a thought, might not work, but its a good tool non the less. Brad Ulrich the DML, LLC
LongShot  
#11 Posted : Friday, June 24, 2005 12:33:01 PM(UTC)
LongShot

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/4/2005(UTC)
Posts: 31

That may be a solution; I'd have to look into it. As it is, the system is valuable enough to me that I have written a dedicated program to loop though all the variables. This, because it is dedicated to the one task (not associated with macro language support and other necessities of Metastock) is easily 100 times faster running than the System Tester. Thanx for the thought dc
wabbit  
#12 Posted : Saturday, June 25, 2005 3:32:56 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
LongShot wrote:
Going over the formulae I am using with an expert Metastock programmer to condense it further, might get it from 2400 chars down to say 1500?
With some assistance, you might be able to condense your code, maybe even further than 1500 characters! If you post your code, we could see where some savings may be made. BUT There are more ways to achieve results in MS than there are ways to skin a cat! Other methods might involve the use of Fml(), FmlVar() and may require ExtFml(). Processes using the OPT variables are 'kept' locally, with other components processed remotely, but without seeing your code, I could not say for sure whether this would help in your specific situation. Trying to help without access to the problem itself is like trying to rally drive without a Navigator - you might be able to go fast but the chances of making to the finish are low! wabbit :D P.S. Please also have a quick perusal of http://forum.equis.com/viewtopic.php?t=933 re: posting code.
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.