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

[amibroker] Re: need a buystop reference



PureBytes Links

Trading Reference Links

Tomasz,
with Buy = High >= StopLevel; you can not Buy today, you have to wait 
the end of the session to know H. Consequently, you will try to buy 
tomorrow. But, it is not sure you will meet this BuyPrice into 
tomorrow´s range.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx> 
wrote:
> 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@xxxx>
> 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@x...
> > 
> > 
> > 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/