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

RE: [EquisMetaStock Group] Re: Trailing Stop - ATR - TradeSim



PureBytes Links

Trading Reference Links

hey,

No

Regards
Alfred


>From: "metastockuser" <metastockuser@xxxxxxxxx>
>Reply-To: equismetastock@xxxxxxxxxxxxxxx
>To: equismetastock@xxxxxxxxxxxxxxx
>Subject: [EquisMetaStock Group] Re: Trailing Stop - ATR - TradeSim
>Date: Sun, 11 Apr 2004 21:35:00 -0000
>
>Do you have Trade Sim?
>
>--- In equismetastock@xxxxxxxxxxxxxxx, "Alfred Bendig"
><alfred190@xxxx> wrote:
> > 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}
> > {josesilva22@xxxx}
> >
> > 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!
> > http://www.msn.de/messenger Jetzt kostenlos downloaden und mitmachen!
>

_________________________________________________________________
Schützen Sie Ihren Posteingang vor unerwünschten E-Mails. 
http://www.msn.de/antispam/prevention/junkmailfilter Jetzt 
Hotmail-Junk-Filter aktivieren!




 
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:
     http://docs.yahoo.com/info/terms/