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 : Sunday, June 18, 2023 6:52:10 PM(UTC)
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 : Tuesday, June 20, 2023 2:51:08 PM(UTC)
MS Support

Rank: Advanced Member

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

Thanks: 85 times
Was thanked: 154 time(s) in 150 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 : Tuesday, June 20, 2023 5:38:11 PM(UTC)
Rafael

Rank: Member

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

Hello! System Tester!
MS Support  
#4 Posted : Thursday, June 22, 2023 2:19:36 PM(UTC)
MS Support

Rank: Advanced Member

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

Thanks: 85 times
Was thanked: 154 time(s) in 150 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.