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

Re: [amibroker] Simple Bollinger Band Scan



PureBytes Links

Trading Reference Links


Thank you
 
On Tue, 1 Oct 2002 14:11:23 +1000 "First Pacific Securities P/L" <<A 
href="">lvl@xxxx> writes:
<BLOCKQUOTE dir=ltr 
>

George,
Here is a 
simple example of what you can do with BBs in a scan.
<FONT face=Tahoma 
size=1>T1=20;
bbb=<FONT 
color=#0000ff>BBandBot(C,<SPAN 
class=453045903-01102002>T1,2<FONT 
face=Tahoma>);
bbt=<FONT 
color=#0000ff>BBandTop(C,<SPAN 
class=453045903-01102002>T1,2<FONT 
face=Tahoma>);
pctB=(C-bbb)/(bbt-bbb)*<FONT 
face=Tahoma>100<FONT 
size=1>;
fn1 = pctB<<FONT face=Tahoma 
color=#ff00ff>10;
fn2 = 
pctB>90;
<SPAN 
class=453045903-01102002>Buy=fn1;
<SPAN 
class=453045903-01102002>Sell=fn2;
Filter=Buy or 
Sell;<SPAN 
class=453045903-01102002>
AddColumn<FONT 
color=#000000 size=1>(Buy,<FONT color=#ff00ff 
size=1>"Buy"<FONT 
color=#000000>);
AddColumn<FONT 
color=#000000 size=1>(Sell,<FONT color=#ff00ff 
size=1>"Sell"<FONT 
color=#000000>);
Larry 
Lovrencic
<SPAN 
class=453045903-01102002> 
<FONT face=Tahoma 
color=#000000> Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.