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

Re: [amibroker] need a buystop reference



PureBytes Links

Trading Reference Links

Hello,


Stoplevel = Open + 0.5 * Ref( H - L, -1 );

Buy = High >= StopLevel;
BuyPrice = StopLevel; 

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Yuki Taga" <yukitaga@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, February 17, 2003 10:33 AM
Subject: [amibroker] need a buystop reference


> All:
> 
> Can anyone point me to some code in the help file that will show me
> how to designate a buy stop today, based on yesterday's range?  I
> have tried like the devil to research this myself, and to code it,
> but I'm not getting even close.
> 
> What I'm looking for is something like, if today's price is X percent
> of yesterday's range above today's open, buy.  Something similar but
> opposite of course, for shorting.
> 
> Yuki ^_^
> 
> mailto:yukitaga@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/ 
> 
> 
> 

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/