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

Re: [amibroker] ATR Trailing Stop



PureBytes Links

Trading Reference Links

Al,

In fact you can place ApplyStop also after trading rules.
It does not matter. Unless you are using Equity(1) somewhere
in your formula. In that case ApplyStops should be placed
before your Equity(1) if you want this function to evaluate stops.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Al Venosa" <advenosa@xxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, June 04, 2003 5:39 PM
Subject: Re: [amibroker] ATR Trailing Stop


> TJ, I didn't know you were supposed to put the ApplyStop command BEFORE the
> buy/sell rules. Why is that?
> 
> al venosa
> 
> 
> ----- Original Message -----
> From: "Tomasz Janeczko" <amibroker@xxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Wednesday, June 04, 2003 7:31 AM
> Subject: Re: [amibroker] ATR Trailing Stop
> 
> 
> > Hello,
> >
> > ATR trailing stop (Chandeliers Exit) in AmiBroker is single line:
> > ApplyStop( stopTypeTrailing, stopModePoint, 2*ATR(10), True, True );
> >
> > (put it before your buy/sell rules).
> >
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> >
> > ----- Original Message -----
> > From: "glennokb" <glennokb@xxxxxxxxxxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Wednesday, June 04, 2003 7:35 AM
> > Subject: [amibroker] ATR Trailing Stop
> >
> >
> > > Hi,
> > >
> > > I'm interested in moving over to AmiBroker from Metastock. I've had a
> > > look at PowerScan and I think I will find it very useful and speed up
> > > learning.
> > >
> > > I have an ATR trailing stop in MetaStock that I'd like to use in
> > > AmiBroker but even with PowerScan I am having trouble. Would anyone
> > > with Meta/Ami experience be able to help please? Or, have a standard
> > > ATR stop I might be able to try?
> > >
> > > Here it is in Metastock code:
> > >
> > > x:=C-2*ATR(10);
> > > If(C>PREV,Max(x,PREV),x)
> > >
> > > Cheers Glenn
> > >
> > >
> > >
> > > Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> > > Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> > > -----------------------------------------
> > > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > > --------------------------------------------
> > > Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > >
> > > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> >
> >
> > Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> > Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> > -----------------------------------------
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > --------------------------------------------
> > Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> >
> >
> >
> 
> 
> 
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
> 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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