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

RE: [amibroker] ATR Trailing Stop



PureBytes Links

Trading Reference Links

How would one know that ApplyStop should be before buy/sell rules?

Bob

-----Original Message-----
From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
Sent: Wednesday, June 04, 2003 4:32 AM
To: amibroker@xxxxxxxxxxxxxxx
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/ 



------------------------ 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/