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. Please use this
page to reply.
thanks
Grizz,
<FONT face=Arial
size=2>
nice formula! (nice
C formatting too). it seems to do something odd ocasionally lifting "above"
the price bars, i will have a closer look at it. thanks also for the
pointer to the pricechannel function! and the pointer to the formula site,
there's so much there, will be a very handy reference).
<FONT face=Tahoma
size=2>-----Original Message-----From: grizz003
[mailto:grizz002@xxxxxxxxxxxxx]Sent: Wednesday, 30 October 2002
2:55 AMTo: equismetastock@xxxxxxxxxxxxxxxSubject:
[EquisMetaStock Group] Re: Customising line studies Trailing
StopsMike,Here is a nice formula designed
expecially for adaptive stops that will maximise profits in a trendy
market, {Trailing Stop by Andrzej Herman
}strata:=10;
If(
C=PREV,
PREV,
If(
((Ref(C,-1)<PREV)AND
(C<PREV)),
Min(PREV,C*(1+strata/100)),
If(
(Ref(C,-1)>PREV) AND
(C>PREV),
Max(PREV,C*(1-strata/100)),
If(
C>PREV,
C*(1-strata/100),
C*(1+strata/100)
)
)
) )Four additional trailing stop
formulas are available at: <A
href="http://eis.pl/kr/AFM/e-0-tytulowa-t.html">http://eis.pl/kr/AFM/e-0-tytulowa-t.htmlGrizz---
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.To
unsubscribe from this group, send an email
to:equismetastock-unsubscribe@xxxxxxxxxxxxxxxYour
use of Yahoo! Groups is subject to the <A
href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
<font face=arial
size=-2>ADVERTISEMENT<img src="http://ad.doubleclick.net/ad/N879.ameritrade.yahoo/B1054521.11;sz=300x250;adc=ZHS;ord=1035932413?" alt="" width="300" height="250"
border="0">
To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|