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

Notification

Icon
Error

Options
Go to last post Go to first unread
Rafael  
#1 Posted : 2 years ago
Rafael

Rank: Member

Groups: Registered Users, Subscribers, Unverified Users
Joined: 6/1/2016(UTC)
Posts: 10

Hello, can you help me please?

If I have the following buy rule, which is buy when mme(9) turns up:

BUY: Mov(C, 9, E) > Ref(Mov(C, 9, E), -1)

HOW DO I SCHEDULE THE BUY EXIT (IE SELL) TO OCCUR 3 BARS AFTER THE ENTRY?

SELL: ?

MS Support  
#2 Posted : 2 years ago
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,973

Thanks: 95 times
Was thanked: 158 time(s) in 153 post(s)
Originally Posted by: Rafael Go to Quoted Post

Hello, can you help me please?

If I have the following buy rule, which is buy when mme(9) turns up:

BUY: Mov(C, 9, E) > Ref(Mov(C, 9, E), -1)

HOW DO I SCHEDULE THE BUY EXIT (IE SELL) TO OCCUR 3 BARS AFTER THE ENTRY?

SELL: ?

Hello,

Are you wanting to use this in the System Tester or elsewhere in MetaStock?

Rafael  
#3 Posted : 2 years ago
Rafael

Rank: Member

Groups: Registered Users, Subscribers, Unverified Users
Joined: 6/1/2016(UTC)
Posts: 10

Hello! System Tester!
MS Support  
#4 Posted : 2 years ago
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,973

Thanks: 95 times
Was thanked: 158 time(s) in 153 post(s)

Originally Posted by: Rafael Go to Quoted Post
Hello! System Tester!

One thing you can try is using the Strategic Delay option in the Sell Order tab. Your formula would essentially be: 1 (an always true condition) and at the bottom of the Sell Order tab, there is a section for Strategic Delay. You can set the Day field here to 3, so that 3 days after getting into a Buy Order you will sell the position.

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.

information You have 1 unread message(s) in your Inbox.