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

Re: [EquisMetaStock Group] Optimising A Value In The System Tester



PureBytes Links

Trading Reference Links

Hi Kevin
 
The May 2005 issue of MSTT had an article called "Optimization Outside The EST" that should explain what you need to do. The concept is based around saving each OPT value as a GV (global var) variable at the beginning of the Buy Order window, and this enables an external or custom formula (or formulas) to use the same OPT values as code internal to the EST. As the EST advances an OPT value that value is immediately made available to the external formula by way of the GV DLL.
 
You'll need to make some small changes to your custom formulas but these should be fairly obvious if you have a good handle on the basic concept and the serial nature of MetaStock processing. Let me know if you need further help.
 
Regards
 
Roy
 
 
----- Original Message -----
Sent: Sunday, August 17, 2008 2:34 AM
Subject: [EquisMetaStock Group] Optimising A Value In The System Tester

Hello,

Is it possible to optimise a value from a custom indicator in the System
Tester?

For a standard Metastock formula, it is not a problem:

C > Mov(C,opt1,S)

However, suppose we have a custom indicator CUST1 that looks like this:

ABC:=5;
Mov(C,ABC,S);

What I would like to test is the equivalent of:

C > (FmlVar("CUST1","ABC") = opt1)

where opt1 would be, say, 3 to 7.

I know that, in this particular case, I could put the whole formula into
the System Tester but it gets a lot more complicated when the custom
indicator has several variables and conditions.

Any suggestions appreciated.

Regards,
Kevin



__________ NOD32 3360 (20080815) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com
__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___