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