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

Re: [amibroker] dif. sectors performing



PureBytes Links

Trading Reference Links

Hello,

use the %b formula:

%b=(price-lower BB)/(upper BB-lower BB),

it evaluates where price is within the BBs and returns a number 
between 0 and 1.If price moves outside the bands %b will be just 
below 0 or just above 1. Plot it as an indicator and see.

Johan



--- In amibroker@xxxxxxxxxxxxxxx, "Werner" <WKRAG@xxxx> wrote:
> Good day,
> 
> one way to find candidates is the idea tu buy them NEAR the LOWER 
> BOLLINGER BAND. You will not find many stocks if you say "equal 
Lower 
> Bollinger". Thus the  idea of NEAR. I was trying to code this but 
ran 
> into trouble. In plain English:
> 
> BUY if the current stock is NEAR the Lower Bollinger Band(20 days).
> 
> I know I have to define NEAR. NEAR could be around 1%. Lower 
> Bollinger and Close not further apart than 1% of the stock Price. 
> 
> Thanks for some help.
> 
> Werner



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 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

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