| 
 PureBytes Links 
Trading Reference Links 
 | 
------------------------------------------------------------------------
You cannot reply to this message via email because you have chosen not
to disclose your email address to the group.
To reply:  http://groups.yahoo.com/group/equismetastock/post?act=reply&messageNum=5304
------------------------------------------------------------------------
Mike,
Take a look at PriceChannelLow(periods) to trail a long stop, and 
PriceChannelHigh(periods) to trail a short stop. 
Grizz
--- In equismetastock@xxxx, Mike Loveday <mike.loveday@xxxx> wrote:
> Is it possble in Metastock to write custom formulas for line 
studies (ie;
> this would be a function similar to the 'linear regression' 
or 'raff reg
> channel' in the drawing tools)? Basically i want to write something 
that
> draws a horizontal parallel line 2 or 3 or 5 lows below an entry 
point line
> for example (a typical stop loss application). Ideally this 
should "trail"
> as price moves higher/lower.
> I found this formula below, but it's an indicator rather than a one-
off line
> study.. ie; i don't necessarily want to apply it across all the 
data.
> 
> Stop Loss Indicator
> 
> periodslong:=input("periods if long",1,50,10);
> LLV(L,periodslong)+ATR(periodslong);
> {stoploss level for long positions}
> 
> 
> 
> 
>         Yahoo! Groups Sponsor
>               ADVERTISEMENT
> 
> 
> 
> 
>   To unsubscribe from this group, send an email to:
>   equismetastock-unsubscribe@xxxx
> 
> 
> 
>   Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Looking for a more powerful website? Try GeoCities for $8.95 per month.
Register your domain name (http://your-name.com). More storage! No ads!
http://geocities.yahoo.com/ps/info
http://us.click.yahoo.com/auyVXB/KJoEAA/jd3IAA/BefplB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
 
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
 |