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

Notification

Icon
Error

Options
Go to last post Go to first unread
exito100  
#1 Posted : Sunday, November 1, 2009 10:19:33 PM(UTC)
exito100

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/2/2009(UTC)
Posts: 31

Hello Metastock wizards,

I looking for a code that creates a simple percentage stop that works on the first bar and triggered by the low price. I can't believe nobody has created such a thing..or worse it's not possible in MS - based on my own programming attempts and conversations with others. It specifically should do:

1) buy on open one day after buy is triggered (optional: buy non delayed but use closing price)

2) ability to sell on same day as purchase happend if sell stop is triggered on same day

3) sell stop refers to the actual buy price according to 1)

4) sell stop works instantly - same day and following days - not only after 2days as in e.g Jose's code below

5) sell stop is triggered (L) not just on close

6) "clean" sell and buy signals i.e. a proper latch with no consecutive buys or sells - the usual..

7) no prev function and fast; dll prefered or combo MSFL with dll

The problem seem the buy/sell signal on the same day. And also with richard Doyle's advanced stop dll , the dll requires at least one day after buy to reset. So the stop won't work on the first two days.

I would not even need a trailing stop or a profit stop - though it would be a bonus.

Has someone out there a solution for a stop that actually works right away and fast (no prevs) on low (L) signals? :)

Any help or pointers are greatly appreciated,

Klaus

managedfx  
#2 Posted : Wednesday, February 17, 2010 10:49:46 PM(UTC)
managedfx

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 2/17/2010(UTC)
Posts: 4
Location: pittsburgh

Ive been trying to figure out the same thing. Can anyone help us?
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.