PureBytes Links
Trading Reference Links
|
It is available on Jose's Pegasus
website.
DusantChief Architect<A
href="">http://www.candlestrength.com/
----- Original Message -----
From: "Alfred Bendig" <<A
href=""><FONT face=Verdana
size=2>alfred190@xxxxxxxxxxx<FONT face=Verdana
size=2>>
To: <<A
href=""><FONT face=Verdana
size=2>equismetastock@xxxxxxxxxxxxxxx<FONT face=Verdana
size=2>>
Sent: Monday, April 12, 2004 01:48
AM
Subject: [EquisMetaStock Group] Trailing Stop -
ATR - TradeSim
<FONT face=Verdana
size=2>> Hey,> > if I use this formula from> >
users.bigpond.com> > {Triggers: Long (+1) & Short (-1) signals
at> crossover of user-defined trailing stops}> {x23 faster than
MetaStock's 4-PREV version}> {TradeSim.dll must be in>
...\MetaStock\External Function DLLs\ folder}> {©Copyright 2003 Jose
Silva}> <FONT face=Verdana
size=2>{josesilva22@xxxxxxxxx}>
> pds:=Input("ATR periods",1,252,10);> multi:=Input("ATR
multiplier",0,10,2.5);> plot:=Input("plot: trailing stop=1,
Long+Short=2, signals=3",1,3,1);> adv:=Input("plot: today's
trailing stop=0, tomorrow's stop=1",0,1,0);> delay:=Input("Entry
and Exit signal delay",> 0,5,0);> >
stopLong:=ExtFml("TradeSim.TrailingStop",>
BAND,LONG,multi*ATR(pds),C,C);> >
stopShort:=ExtFml("TradeSim.TrailingStop",>
BAND,SHORT,multi*ATR(pds),C,C);> >
In:=Cross(C,Ref(stopShort,-1));> Out:=Cross(Ref(stopLong,-1),C);>
Init:=Cum(In+Out>-1)=1;> InInit:=Cum(In)=1;>
flag:=BarsSince(Init OR In)> < BarsSince(Init OR Out)+InInit;>
signals:=Ref((InInit AND Alert(InInit=0,2)> OR flag AND
Alert(flag=0,2))> +(flag=0 AND Alert(flag,2))*-1,-delay);>
stop:=Ref(If(flag=1,stopLong,stopShort),-1+adv);> >
If(plot=1,stop,> If(plot=2,Ref(stopLong,-1+adv),0));>
If(plot=1,stop,> If(plot=2,Ref(stopShort,-1+adv),signals))>
> I got an error like:> >
ExtFml("TradeSim.TrailingStop"> This DLL does not exist in the MSX DLL
folder.> > Where I can get it?> regards>
alfred> >
_________________________________________________________________> MSN
Messenger - sehen, welche Freunde online sind! > <A
href=""><FONT face=Verdana
size=2>http://www.msn.de/messenger Jetzt
kostenlos downloaden und mitmachen!> > > > >
------------------------ Yahoo! Groups Sponsor
---------------------~-->> Buy Ink Cartridges or Refill Kits for your
HP, Epson, Canon or Lexmark> Printer at MyInks.com. Free s/h on
orders $50 or more to the US & Canada.> <A
href=""><FONT face=Verdana
size=2>http://www.c1tracking.com/l.asp?cid=5511<FONT face=Verdana
size=2>> <A
href=""><FONT
face=Verdana
size=2>http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/BefplB/TM<FONT
face=Verdana size=2>>
---------------------------------------------------------------------~->>
> > Yahoo! Groups Links> > <*> To visit
your group on the web, go to:> <A
href=""><FONT face=Verdana
size=2>http://groups.yahoo.com/group/equismetastock/<FONT
face=Verdana size=2>> > <*> To unsubscribe from this group, send
an email to:> <A
href=""><FONT face=Verdana
size=2>equismetastock-unsubscribe@xxxxxxxxxxxxxxx<FONT
face=Verdana size=2>> > <*> Your use of Yahoo! Groups is subject
to:> <A
href=""><FONT face=Verdana
size=2>http://docs.yahoo.com/info/terms/<FONT face=Verdana
size=2>> > >
Yahoo! Groups Sponsor
ADVERTISEMENT
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/equismetastock/
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.
|