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

Re: MAJOR FLAW in SYSTEM TESTER



PureBytes Links

Trading Reference Links

Maybe you can have the system look forward to set the position to close at the close the day before and open the opposite trade at the open the next day. For example: Enter Long: Cross(Mov(C ,3 ,S ), Mov(C ,18 ,S ) )                   [on open] Close Long: Ref(Cross(Mov(C ,18 ,S ), Mov(C ,3 ,S ) ),+1)    [on close] Enter Short: Cross(Mov(C ,18 ,S ), Mov(C ,3 ,S ) )                  [on open] Close Short: Ref(Cross(Mov(C ,3 ,S ), Mov(C ,18 ,S ) ),+1)   [on close] Would this work for your system??? Michael   At 02:14 PM 6/29/2001 -0400, you wrote: I called MetaStock support today because I was curious about some odd results with the System Tester (ST). I then tested it myself to verify it. THERE  IS A MAJOR FLAW IN THE SYSTEM TESTER.   If one places a close long and a close short position and both the close and the entry in the opposite direction are hit on that day, the position will be closed but THE OPPOSITE POSITION WILL NOT BE ENTERED. It is even worse if you choose to close on open the following day. The opposite signal will not be allowed to trigger until the following day.   To test this I used the following simple system: Enter Long: Cross(Mov(C ,3 ,S ), Mov(C ,18 ,S ) ) Close Long: Cross(Mov(C ,18 ,S ), Mov(C ,3 ,S ) ) Enter Short: Cross(Mov(C ,18 ,S ), Mov(C ,3 ,S ) ) Close Short: Cross(Mov(C ,3 ,S ), Mov(C ,18 ,S ) )   Because the Enter Long & Close Short as well as the Enter Short & Close Long are identical, one would expect to show at every point both a closing of one position and an opening of the other. This does not happen!   The same is true for Experts. If both a Close and an Enter are triggered on the same day, only 1 symbol will be displayed. They are displayed in order from top down.   I suggest two actions. First, copy the message above and send it to MetaStock Feedback at:   suggestions@xxxxxxxxx   Second, until this is fixed, test only longs or shorts by themselves unless you are using a reversal system where you are not using Close.   Below is information from the MetaStock Help file.   neo ________________________________   This is the page in MetaStock help file:   The System Editor Dialog   The System Editor dialog lets you name the system test, store notes regarding the system, and define the four trading rules. The trading rules use the formula syntax explained in the MetaStock formula language section (see What is the MetaStock Formula Language?).  This syntax is very similar to the syntax used to enter formulas in spreadsheets.  Each trading rule may contain up to 1024 characters.   If you are unfamiliar with the MetaStock formula language, you should see  What is the MetaStock Formula Language?.   Remember that a trading system can be in one of three different states:  long, short, or out.   When out, simple interest is earned at the rate specified in the System Testing Options dialog (see System Testing Options). You use the four tabs to select which rule to display and edit. Enter Long.  This rule specifies when the system should buy long.  A long position can only be entered when the system is short or out.  When in a long position, this rule is ignored.   Close Long.  This rule specifies when the system should close a long position.  When in a short or out position, this rule is ignored. Enter Short.  This rule specifies when the system should sell short.  A short position can only be entered when the system is long or out.  When in a short position, this rule is ignored. Close Short.  This rule specifies when the system should cover (i.e., close) a short position.  When in a long or out position, this rule is ignored.