logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
codeowl1  
#1 Posted : Thursday, January 17, 2008 3:43:30 AM(UTC)
codeowl1

Rank: Newbie

Groups ready for retrieval: Registered, Registered Users
Joined: 9/23/2007(UTC)
Posts: 6

Hi there,

I am trying to build a System Test based on gaps. I want the system to take an entry on the Close of the day with the Gap. I have the Buy Order Formula as follows:

Ref(HIGH, -1) < LOW

Yet when I run the System Test and plot the Chart all the entry points are the day after the Gap. However I want it to take an entry on the Close of the day with a Gap.

How can I achieve this?

Thank you for your time,

Scott.

(I am running MetaStock 10.1 with End Of Day data.)

oztrader  
#2 Posted : Thursday, January 17, 2008 5:30:15 AM(UTC)
oztrader

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 7/12/2007(UTC)
Posts: 134
Location: Perth Western Australia

Hi codeowl,

This is just a hunch but try it anyway - replace buy signal with

Cross(LOW,Ref(HIGH, -1));

All the best,

ozt

codeowl1  
#3 Posted : Thursday, January 17, 2008 5:59:29 AM(UTC)
codeowl1

Rank: Newbie

Groups ready for retrieval: Registered, Registered Users
Joined: 9/23/2007(UTC)
Posts: 6

ozt,

thanks for the reply. But unfortunately this did not work either. Any other ideas?

Scott.

oztrader  
#4 Posted : Thursday, January 17, 2008 6:45:34 AM(UTC)
oztrader

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 7/12/2007(UTC)
Posts: 134
Location: Perth Western Australia

Hi codeowl,

Just a shot in the dark as I suggested - I'm sorry that I can't be of more help but do not use the System Tester.

Will respond if anything comes to mind.

Best wishes,

ozt

Justin  
#5 Posted : Thursday, January 17, 2008 6:57:05 PM(UTC)
Justin

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 9/13/2004(UTC)
Posts: 673
Location: Salt Lake City, UT

When performing a New Simulation, click the "More" button on the System Testing Options page. Click on the "Trade Execution" tab. Uncheck "Realistic Market Prices", set all the Price fields to Close and set the "Delay Order Opening" to 0.
codeowl1  
#6 Posted : Thursday, January 17, 2008 7:34:00 PM(UTC)
codeowl1

Rank: Newbie

Groups ready for retrieval: Registered, Registered Users
Joined: 9/23/2007(UTC)
Posts: 6

Pyradius,

Thank you for your suggestion. It works perfectly. Now I have one more issue. What I want to be able to do is this:

  1. Open Position on the Close of day with Gap. Lets call this Day1. (this now works thanks).
  2. Put trailing stop on the above position. (this is working ok).
  3. Move trailing top up to the open of the next day. Lets call this Day2.
  4. Sell on the Close of the Day2, if Stop is not triggered.

Is this possible with the Metastock System Tester, or am I asking to much of it? If it is not up to the job do you know of any other system testers that would be.

Thanks for your time,

Scott.

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.