PDA

View Full Version : Visual Test of System Code?


dilmun99
10th June 2004, 07:47 PM
I like to do a visual inspection of a system on a single security before going into portfolio testing. If I've coded a system in TradeSim format, what is my best way of doing such a visual inspection (including all stops, trade delays, etc.?

My experimentation to date shows I can get part of the way there using MS System Tester - e.g. formula-based entries and exits , and even trailing stops (using TradeSim formulas) but other aspects (e.g. next day execution) run up against MS glitches. Alternatively you can input the code into Indicator Builder and show as separate indicators, but it's not very clear where the executions are actually taking place. I guess I could build an advisor, and then just cut and paste entry and exit rules, but it seems a little convoluted. Ideally I'd like to do it using the final complete TradeSim code, which would minimize errors.

Any thoughts welcome..

Andrew

David Samborsky
11th June 2004, 02:36 AM
Document TB-1 available from the download pages describes a method of creating an indicator/expert which shows the actual entry and exit triggers that would be written out to the database.

Also if you have installed beta release version 3.4.3 and have an Enterprise license you can view each trade including entry, exit and stop conditions on an actual chart. (MS security data only)

dilmun99
11th June 2004, 01:19 PM
Thanks David. I had skimmed the document but had not associated it with what I was trying to do. A few follow-up Qs:

Will the TB-1 document debugging procedure take into account other functions like Exit and Entry Control Functions?

I downloaded the Beta - when I try to pull up the trade chart I get an error message - "Security data missing or no longer available. Check the top level directory in the global preferences." In preferences I have put in C:\TradeSimData, and I have clicked save on exit. Still the same error message - is this the wrong file?

Thanks
Andrew

dilmun99
11th June 2004, 04:18 PM
PS I changed the folder in preferences to c:\Metastock Data. When I try to access a chart through the drop down menu I get eroor message: "MSFL Error no - 365: Symbol "LYM.V" You are already accessing data in this folder". TradeSim then terminates.

David Samborsky
15th June 2004, 05:16 AM
Make sure that MS is not running or displaying the same security data.

Make sure that TradeSim is not running and in the Windows File Explorer select the security folder and then right click on it. Do a search for "~*.*"
and then delete all of the ~MSFL files.

Restart TradeSim and then set the top level security directory in the global preferences. Click the "Refresh" button and make sure that TradeSim finds all of the relevant master files.

Exit from TradeSim so that the preferences are saved and then rubn TradeSim as normal.