PDA

View Full Version : Explroation stops after 1st symbol


JohnathanStein
10th May 2008, 02:34 PM
When I try to run an exploration in Metastock, it stops after the first symbol.

After that, if I try to edit an exploration, when I click OK I get the error message "This MSX DLL is not available because it contains an error."

If I click CANCEL, the exploration will run, BUT it seems to act on the first security/symbol ONLY.

When the exploration DOES run, I get the message dialog "Charting Application has been terminated! Do you wish to terminate TradeSim".

Only the first security/symbol shows up in the TradeSim Report Log. The Help -- ABOUT, the About Box shows that the DLL Plugin is "Not Running".

In Metastock (9.1), I get two kinds of errors in the Exploration Report:

1. An MSX DLL has triggered an access violation error. Referenced DLL: "TradeSim.RecordTrades". This is for the first security symbol.

2. All the other security symbols have the error: "Attempt to call an MSX DLL function that has been invalidated. Referenced DLL: "TradeSim.Initialize" DLL Message: (funky symbols that I can't reproduce here)."

--Johnathan


P.S. FYI, I tried to send this via the web page at http://www.compuvision.com.au/mail/myformmail.php, but got the message "The system cannot find the file specified."

David Samborsky
11th May 2008, 02:26 AM
You have an error in your code when calling the TradeSim plugin which is precluding further calls.

Can you send me your trade database exploration code ??

JohnathanStein
12th May 2008, 02:07 PM
{*** PARAMETERS ***}
ExtFml("TradeSim.Initialize");
{
ExtFml("TradeSim.EnablePriceFilter");
ExtFml("TradeSim.EnableDelayOfEntryByOneBar");
ExtFml("TradeSim.EnableDelayOfAllExitsByOneBar");
}

{*** PRIMARY ENTRY & EXIT ***}
EntryTrigger:=Fml("_MACD Calendar Signal")=1;
ExitTrigger:=Fml("_MACD Calendar Signal")=-1;

ExtFml("TradeSim.RecordTrades",
"MACD Calendar Signal",
LONG,
EntryTrigger,
OPEN,
{C-3*ATR(10)}0,
ExitTrigger,
OPEN,
START);

JohnathanStein
12th May 2008, 02:11 PM
David -- It does not seem to matter if I run one of your included Explorations; the same problem comes up with "TradeSim (MACD Crossover)" too.


--Johnathan

JohnathanStein
12th May 2008, 02:35 PM
Ok, just for the heck of it, I tried running a different set of symbols (NASDAQ 100 and SP500), and it ran OK.

The problem comes back when I select the eight symbols for the major market indices.

How do I fix this problem?


--Johnathan

JohnathanStein
14th May 2008, 12:12 PM
Anybody home?

David Samborsky
15th May 2008, 02:06 PM
Go to the Metastock Exploration options and make sure you have specified enough data records.

JohnathanStein
15th May 2008, 03:42 PM
It's set to 15,000 records.

David Samborsky
16th May 2008, 12:55 AM
What happens if you replace the entry/exit triggers with a simple MACD system ??

JohnathanStein
16th May 2008, 04:02 AM
Same exact results in the exploration report.

JohnathanStein
18th May 2008, 10:59 PM
David,

I've tried the TradeSim (MACD Crossover) Exploration with exactly the same results.

The error SEEMS isolated to when I'm using market index files -- which is what I've used regularly, until this problem cropped up.

When I use ETF's or other equity symbols, there is no problem.

Can you make any suggestion at all? I have not been able to make any use of TradeSim Enterprise for several weeks now.


--Johnathan

David Samborsky
19th May 2008, 11:21 AM
Which data supplier are you using and which particular indices are you using ??

Some indices only have a single value data rather than OHLC data which might be causing the problem.

JohnathanStein
19th May 2008, 06:45 PM
David,

I'm using Equis/Reuters for .DJI, .DJT, .DJU, .IXIC, .NYA, .RUT, .SPX and .XAX.

I've put them into a separate folder, C:\Metastock Data\INDEX\ and have used them this way for years; have back-filled the data as far as I've been able to find.

The original files are in C:\Metastock Data\Indices & Indicators, but they only go back to 1990. Just thought of trying those symbols -- ran the exploration using that folder, and it seems to work!

Does TradeSim have a problem with going back too far in time? Do I need to check/fix the datafiles? If so, how?


--Johnathan

David Samborsky
20th May 2008, 01:09 AM
It seems that there is an issue with Metastock Version 9 and TradeSim with US stocks going back to 1950.

I don't have any problems with Metastock Version 7.0.2.

I will be testing with Version 9 and 10 of Metastock.

JohnathanStein
20th May 2008, 01:53 PM
David -- Have just tried a few Explorations, with Data Loading at 5,000, 10,000 and 15,000 records. Only the 5,000 load worked.

FYI, I have version 9.1 of Metastock.

Here are the start dates for the index data:

.DJI 1/2/1897
.DJT 10/1/1928
.DJU 1/2/1929
.IXIC 2/5/1971
.NYA 12/31/1965
.RUT 9/10/1987
.SPX 1/3/1950
.XAX 12/27/1995

I can ZIP them up & email, if it would help.


--Johnathan

David Samborsky
20th May 2008, 03:35 PM
Yes please zip them up and send them to me.

JohnathanStein
20th May 2008, 05:27 PM
David,

Could not attach to this msg, so have sent to your Net2000 address -- hope it's still valid!


--Johnathan