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

Re: [amibroker] acceleration bands



PureBytes Links

Trading Reference Links

Hi,

Try this, in which I study the interplay of the Acceleration Bands and
Bollinger Bands discussed here:

http://63.147.211.35/document.jsp?documentid=1102
http://63.147.211.35/document.jsp?documentid=869

*///UpperBands
uab= MA((H*(1+2*((((H-L)/((H+L)/2))*1000)*.001))),20);
ubb=BBandTop(C,20,2);
//MidBand
mb= MA(C,20);
//LowerBands
lab = MA((L*(1-2*((((H-L)/((H+L)/2))*1000)*.001))),20);
lbb= BBandBot(C,20,2);

Plot(uab,"UpAccBand",colorGreen,styleLine|styleThick);
Plot(ubb,"UpBollBand",colorRed,styleLine|styleThick);
Plot(mb,"MidBand",colorBlue,styleLine);
Plot(lab,"LowAccBand",colorRed,styleLine|styleThick);
Plot(lbb,"LowBollBand",colorGreen,styleLine|styleThick);

-john

----- Original Message ----- 
From: "tpjr32002" <tpjr32002@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, December 22, 2003 9:58 PM
Subject: [amibroker] acceleration bands


> I'm a new user to amibroker and I know nothing about programming, so
> I was wondering if anybody can help be translate this omega code to
> ALF.
>
> upper band = average((high*(1+2*((((high-low)/((high+low)/2))*100)
>              *.01)))),20)
>
> mid point = average(close,20)
>
> lower band = average((low*(1-2*((((high-low)/((high+low)/2))*100)
>              *.01)))),20)
>
> Any help will be much appreciated.
>
>
>
> 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/
>
>
>



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 Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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/