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

RE: [Metastockusers] 25 % trailing stop?



PureBytes Links

Trading Reference Links

 
Offhand, something like this, although I'm sure it can be tidied up by
someone with more skill at this than me. This stays at 75% of the starting
number then resets when the stop is hit. 

If(C>PREV,
    If(C>Ref(C,-1),Max(C-(0.25*C),PREV),PREV),
(C-(0.25*C)))


-----Original Message-----
From: Roy Larsen [mailto:rlarsen@xxxxxxxxxxxxxx] 
Sent: Sunday, May 16, 2004 7:30 PM
To: Metastockusers@xxxxxxxxxxxxxxx
Subject: Re: [Metastockusers] 25 % trailing stop?


Andrew

I don't think that would work. Can you provide code to demonstrate?

Roy

----- Original Message ----- 
From: "Andrew Tomlinson" <andrew_tomlinson@xxxxxxxxxxx>
To: <Metastockusers@xxxxxxxxxxxxxxx>
Sent: Monday, May 17, 2004 10:20 AM
Subject: RE: [Metastockusers] 25 % trailing stop?


> 
> One way is just to qualify it with an If() statement. i.e. if today's 
> close is higher than yesterday's then move the stop, otherwise don't.
> 
> -----Original Message-----
> From: tradetofreedom [mailto:tradetofreedom@xxxxxxxxx]
> Sent: Sunday, May 16, 2004 11:46 AM
> To: Metastockusers@xxxxxxxxxxxxxxx
> Subject: [Metastockusers] 25 % trailing stop?
> 
> 
> Hi!
> 
> How can I write a 25 % trailing stop -indicator? If I just write C -
> (Ref(C,-1 )*0,25) it is ok but the stop just moves up and down with 
> the price =)
> How can I prevent that? How to write an indicator that doesn't move 
> down, only sideways or up??
> 
> Thanks!
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 




 
Yahoo! Groups Links



 




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/zMEolB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/Metastockusers/

<*> To unsubscribe from this group, send an email to:
     Metastockusers-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/