PDA

View Full Version : MSX DLL and Trade database probs


Anonymous
18th June 2003, 06:05 AM
David,

1. the answer to a previous posting relating to Metastock MSX DLL errors was useful, but can you claify for me:
should I expect to get this error for trades that have passed the entry condition, but have not yet passed the exit condition(s) when the end of data is reached (trade still open)?

2. I can see a trade in the trade database that appears to be ok - lasted several days with a small loss, but does not appear in the trade log after the simulation has run. There is no problem with lack of capital to enter the trade at the time.... is lack of capital the only reason trades are rejected? is there somewhere where one can see which trades have been rejected?

rgds, Ken

David Samborsky
18th June 2003, 12:52 PM
Hello Ken

A1. For the condition that an exit trigger has not been found before the end of the data is reached the trade will be terminated at the last data point and flagged as an open trade and then written to the trade database. Normally open trades are not loaded into TradeSim so you will need to enabled open trades in the global preferences dialog box in TradeSim to beable to load the open trades when you load a trade database into TradeSim.

A2. If you are using version 3.0.0 of TradeSim you can view the rejected trades by enabling the rejected trades report on the main toolbar and then rerunning the simulation.

kroscrow
18th June 2003, 08:57 PM
thanks David,

re question 1: I can see MSX DLL errors in the Metasock report, and in the Tradesim error log it refers (in a short trade) to the exit price being higher than the highest price on the exit day. Visually scanning shows that trade in question should be open at the end of the exploration. Should I be concerned about this?

re question 2: I'd better get my s*%! together and install v 3.

thanks again for your help

rgds, Ken

David Samborsky
19th June 2003, 03:18 AM
Hello Ken,

In order to keep the simulations realistic TradeSim does not allow you synthesize price data. That is prices which lie outside the high to low range of the day are forbidden and rejected.

After generating a trade database from within Metastock always check the exploration report in Metastock and check the error log for more details if directed to do so.