
A free technical indicators Excel addon lets you calculate RSI, MACD, Bollinger Bands, ADX and 60+ other indicators directly in a spreadsheet, using simple worksheet functions in the same way you use sum() or average(). The addon below is the Excel build of the open-source TA-Lib library. This post lists every function it provides, shows how to install it in current versions of Excel, and gives plain-formula alternatives if the addon does not load on your system.
Looking for some free tools to help you in analyzing financial data? Here is an addon which you can use in an Excel spreadsheet to compute basic technical indicators, and it is available free of cost. The free addon contains a list of mathematical functions to compute technical analysis indicators like RSI, MACD and Bollinger Bands in a very easy format, just like sum(), avg() etc. used in Excel.
- The TA-Lib Excel addon (ta-lib.xll) adds 60+ technical indicator functions to Excel.
- Install it from File, Options, Add-ins, Manage Excel Add-ins, then Browse to ta-lib.xll.
- Press Shift+F3 to open the function wizard and pick any indicator.
- If the XLL will not load, check that its bitness (32 or 64-bit) matches your Excel.
- Simple indicators such as SMA, EMA and RSI can also be built with native Excel formulas.
Download technical indicators Excel addon here
Download Technical Indicators Excel Addon here (GitHub, ta-lib excel folder). The package contains the add-in file ta-lib.xll, an example.xls workbook and func_list.txt with the list of functions.
TA-Lib itself is an open-source (BSD licence) technical analysis library that is widely used as a reference implementation. The official TA-Lib site now lists more than 200 indicators and candlestick patterns, with native support for C/C++, Java and other languages and wrappers for Python and R. The Excel addon exposes the indicator functions listed below.
List of available indicators in the form of functions
| Function | Indicator |
|---|---|
AD | Chaikin A/D Line |
ADOSC | Chaikin A/D Oscillator |
ADX | Average Directional Movement Index |
ADXR | Average Directional Movement Index Rating |
APO | Absolute Price Oscillator |
AROON | Aroon |
AROONOSC | Aroon Oscillator |
ATR | Average True Range |
AVGPRICE | Average Price |
BBANDS | Bollinger Bands |
CCI | Commodity Channel Index |
CORREL | Pearson’s Correlation Coefficient (r) |
DEMA | Double Exponential Moving Average |
DX | Directional Movement Index |
EMA | Exponential Moving Average |
HT_DCPERIOD | Hilbert Transform: Dominant Cycle Period |
HT_DCPHASE | Hilbert Transform: Dominant Cycle Phase |
HT_PHASOR | Hilbert Transform: Phasor Components |
HT_SINE | Hilbert Transform: SineWave |
HT_TRENDLINE | Hilbert Transform: Instantaneous Trendline |
HT_TRENDMODE | Hilbert Transform: Trend vs Cycle Mode |
KAMA | Kaufman Adaptive Moving Average |
LINEARREG | Linear Regression |
LINEARREG_ANGLE | Linear Regression Angle |
LINEARREG_INTERCEPT | Linear Regression Intercept |
LINEARREG_SLOPE | Linear Regression Slope |
MA | All Moving Average |
MACD | Moving Average Convergence/Divergence |
MACDEXT | MACD with controllable MA type |
MACDFIX | Moving Average Convergence/Divergence Fix 12/26 |
MAMA | MESA Adaptive Moving Average |
MAX | Highest value over a specified period |
MEDPRICE | Median Price |
MFI | Money Flow Index |
MIDPOINT | MidPoint over period |
MIDPRICE | Midpoint Price over period |
MIN | Lowest value over a specified period |
MINUS_DI | Minus Directional Indicator |
MINUS_DM | Minus Directional Movement |
MOM | Momentum |
OBV | On Balance Volume |
PLUS_DI | Plus Directional Indicator |
PLUS_DM | Plus Directional Movement |
PPO | Percentage Price Oscillator |
ROC | Rate of change : ((price/prevPrice)-1)*100 |
ROCP | Rate of change Percentage: (price-prevPrice)/prevPrice |
ROCR | Rate of change ratio: (price/prevPrice) |
ROCR100 | Rate of change ratio 100 scale: (price/prevPrice)*100 |
RSI | Relative Strength Index |
SAR | Parabolic SAR |
SAREXT | Parabolic SAR: Extended |
SMA | Simple Moving Average |
STDDEV | Standard Deviation |
STOCH | Stochastic |
STOCHF | Stochastic Fast |
STOCHRSI | Stochastic Relative Strength Index |
T3 | Triple Exponential Moving Average (T3) |
TEMA | Triple Exponential Moving Average |
TRANGE | True Range |
TRIMA | Triangular Moving Average |
TRIX | 1-day Rate-Of-Change (ROC) of a Triple Smooth EMA |
TSF | Time Series Forecast |
TYPPRICE | Typical Price |
VAR | Variance |
WCLPRICE | Weighted Close Price |
WILLR | Williams’ %R |
WMA | Weighted Moving Average |
How to install the technical indicators Excel addon
Just unpack it to somewhere in your computer. Open Excel, select from menu: ‘Service‘, then ‘Add-In’. If you are using Excel 2003 the procedure may differ.
Excel 2003 (original steps)
- Copy the ta-lib.xll file.
- Open Excel 2003, go to Tools->Addons->Browse. Note the path and paste the ta-lib.xll file in that path. Also check ta-lib in the list of addons.
If you are trying with some other version try googling or use the MS Office Help.
Then to insert the file ta-lib.xll to the list which was opened (because you press ‘Add-In’) choose the file’s location by pressing ‘Browse’, then find this file (ta-lib.xll). Make sure that ‘ta-lib’ was added in.
Then you may close everything if you want.
Excel 2010, 2016, 2019, 2021 and Microsoft 365
- Unpack the download to a permanent folder, for example
C:\TA-Lib\. - In Excel, go to File, Options, Add-ins.
- At the bottom, choose Manage: Excel Add-ins and click Go.
- Click Browse, select
ta-lib.xlland click OK. - Make sure ta-lib is ticked in the Add-ins list, then click OK.
- If Excel shows a security prompt, enable the add-in only if you downloaded it from the link above.
For screenshots of the older menus, see my step-by-step guide on TA-Lib Excel addon installation in MS Office 2003 and 2007.
Using the indicator functions
In the file example.xls you will see the examples of indicators (examples only).
And in the file func_list.txt you may see the list of the functions available (to work with this indicators).
So, just open your Excel (with your data) once again, press Shift-F3, and you will see the master of function’s menu,
select any required indicator you want to configure.
Keep your data in a standard layout (Date, Open, High, Low, Close, Volume in columns A to F) with the oldest bar at the top. Most functions need a price range and a period argument, so it is easiest to point them at whole columns of closing prices. You can get clean end-of-day data with the VBA macro to download Bhavcopy.
Common problems and fixes
- Add-in does not appear or gives an error: an XLL is compiled for either 32-bit or 64-bit Excel. 64-bit Excel cannot load a 32-bit XLL, so check your Excel version under File, Account, About Excel and use a matching build.
- Excel blocks the file: right-click
ta-lib.xllin Windows Explorer, open Properties and tick Unblock if it is shown, or add the folder as a Trusted Location in the Trust Center. - #NAME? errors: the add-in is not loaded. Re-open Excel Add-ins and make sure ta-lib is ticked.
- Mac Excel: XLL add-ins are Windows only, so use the formula approach below or a Python script instead.
Alternative: technical indicators with plain Excel formulas
If you cannot use the add-in, the most common indicators are easy to build with native formulas. Assuming closing prices are in column B starting at row 2:
| Indicator | Formula (first value) | Then fill down |
|---|---|---|
| 20-day SMA | =AVERAGE(B2:B21) in C21 | Copy C21 down the column |
| 20-day EMA | Seed D21 with =AVERAGE(B2:B21) | =B22*(2/21)+D21*(1-2/21) in D22, copy down |
| Daily change | =B3-B2 in E3 | Copy down |
| 20-day high / low | =MAX(B2:B21) and =MIN(B2:B21) | Copy down |
| 20-day standard deviation | =STDEV.P(B2:B21) | Use with the SMA for Bollinger Bands (SMA plus or minus 2 x SD) |
Once you have indicator columns, you can test simple rules directly in the sheet, as shown in this simple Excel filter based on SMA backtest.
Frequently Asked Questions
How do I add technical indicators in Excel?
Install a technical indicators Excel addon such as the TA-Lib XLL (File, Options, Add-ins, Manage Excel Add-ins, Browse), then insert functions like RSI or MACD from the Shift+F3 function wizard. Without an add-in, you can build SMA, EMA and Bollinger Bands with AVERAGE and STDEV formulas.
Is TA-Lib free?
Yes. TA-Lib is open source under the BSD licence and can be used in personal and commercial projects. The Excel addon linked above is also free to download.
Can I calculate RSI in Excel without an add-in?
Yes. Calculate daily gains and losses in two columns, average them over 14 periods, divide average gain by average loss to get RS, then use =100-100/(1+RS). The add-in simply does the same calculation in one function.
Does the TA-Lib Excel addon work on Mac?
No. XLL add-ins are a Windows Excel feature. Mac users can build indicators with formulas or use the Python version of TA-Lib.
Learn by watching: free videos every week
Market Profile, order flow, Python, AI and OpenAlgo tutorials on YouTube.

i downloaded the .jar file, now how do you unpack it? I unzipped it but not getting any .xll file..!!!
@Tarique… Iam sorry i had updated the correct link now…. Jar file is for different purpose.
Kindly check out the updated link
how to find service menu in Excel 2003?
@Kirtan raut :
1)Copy the ta-lib.xll file
2)Open Excel 2003 goto Tools->Addons->Browse Note the path and Paste the ta-lib.xll file in that path… Also check ta-lib in the list of addon
Great Post. Can be a very useful for plotting some technical indicators without buying any expensive tools. Thanks
For Office 2007 how to find service menu.
Regards,
veer
@Veer …. You can try this one for a sample solution in Office 2007
http://peltiertech.com/WordPress/installing-an-add-in-in-excel-2007/
I tried Ta-Lib with Office 2003 for RSI(2) along with 5EMA High and 5 EMA low.It work fine and values are perfect.
One more thing i just want to point out. Most of the funtions in Ta-Lib Addon uses “Array Formula”. But a normal excel user wont be aware about those ARRAY FORMULA in Excel. This is done by selecting the whole output range and press CTRL-SHIFT-ENTER after entering or modifying the formula. If you want to know more about it then you can learn more about Array Formula from the Excel Help.
Thank you very much.
Regards,
Veer
Rajendran,
Please can u post some examples , i added it in ADDON all but i dont know how to use it in excel file…
Thanks..
@Ganesh… Yeh Sure… Will do that…
How to Install Ta-Lib Excel addon in Office 2007 – Video
httpv://www.youtube.com/watch?v=UJeJAfhvUk8
hai,
I have a amibroker software ,can you help me to make a icchimoku charts on my amibroker software .I” am ready to pay the charges
Add on has been installed but how to use this excel… how to feed data in to excel it is manually feeded or what…. pls give some clue…
thanks
@vinay : I will be explaining here before the week ends!
Hello Rajandran,
I just stumbled on your website last night while searching for Heatmap on google.
I was wondering whether I can use your heatmap spreadsheet on North American stocks, NYSE, Amex, and/or Canadian stocks on TSX?
jesse
@Jesse…
We need to reconfigure the spreadsheet accordingly for TSX.
Dear Rajandran,
May i have your email id?
Regards,
Piyush
Hi,
Can you please explain how to use this excel sheet…
Thank you
@Vinay.
Iam planning to make one…missed to do this week…will do soon
Stay tuned
Dear Rajandran,
Eagerly waiting for your excellent work.
Regards
Vinay
It is a wqonderful tool for those who do not have a charting package with all the technical analysis tools.
BTW, it would be helpful if you could make a short video on how to input variables for a few commonly used indicators like MAs, MACD, Stochastic, etc.
For instances, thee are two variables viz.,In Real & Time period for moving averages. I have selected closing price column worth five rows for In real input and input a value of 5 in the Time period to get a 5 EMA. But I get a result in the cell as ”N/A”.
Look forward to your advise.
Keep up your good work.
Regards,
Raj
sure raj will make a short video on that
HiRajandran , I tried using your add-in but I keep on getting N/A similar to what the Raj encountered. What do you think we are doing wrong? Thank you very much!
Hi NDC,
Most of the formulas in the addin are based on array formula. Refer Introduction to Array Formula in Excel 2007.
sir ,how to use this file plz explain
Sir,
unable to use every time the result is #NA………kindly help
Sir,
Excellent work. Very well explained. the download is not available. Can it still be downloaded.
Thank you
sie iwant latest AFL closeof the twodays price and midpoint and above that the current market price should be run .pl.try to give me link as soon as possible
Hi. I have not been successful in finding a link where I can download the spreadsheet add on library. Can you forward/advise of a live link? Thanks so much.
wen i click download my stet up doesnt start?
how to download it get it installed?
excal addon software is not available plz checkt it out
Jimmy and REA
I had updated the New link for Ta-Lib Pro Download. But not the download is not available for free but trial version is availabe.
Raj, can you forward me the ta-lib zip file, as now it provides only Trial version.
@rajkumar : I dont have the file now with me.
sir i have got the trial version
wen i unpacked it is not in xll
it is in .dll file extension
do i have to convert or do i have to install any other requirement program?
kindly let me know and thanks for ur previous reply
Hi RAJ , after downloading and adding in the TALIB addon , how do i get access to the other functions
any support for
Excel 2011 for Mac ?
Thanks
You have made very good efforts!
I will be very thankful if you can include “Commodity Selection Index” which will be useful to identify Quality shares and as detailed by Welles Wilder in his book?
The link for download is dowm! could you share again please?
I guess TA-Lib site is now down. Alternatively access here https://github.com/stoni/ta-lib/tree/master/excel
Sir,
when i add the xll file in exel 2003 add-ins, i get error ‘not a valid add-in’.
Please help. 🙂
Hi sir, i got it working but i do not know how to use it. do you have a how to document?
ooops got the sample already in the file, thank you so much sir Raj
Dear SIR I have read much more about you on google , i really always thanks god, because the persone like you on earth…, i have not download excel yet, i will do it, if any problem arise plz help me , because i do not have any idea about excel idea, i have seen only exampl in website calculation I know well it only on software , it will decrese my manual seaching i hope
Just an add-in with a limit indicators and cannot expand. I think if you want to use a new indicator that not listed in the list so you have to rewrite and recompile the add-in file. It’s not comfortable way I think so, and all the formulas are hidden from viewing so you cannot modified it easily, user can’t learn from inside formulas and I’m not sure about the corrective of formulas.
I want to add dynamic ranges to one of the formulas, like for example get a AROON of period stored in another cel but don’t know how to do it. always get a #N/A and High and Low using DESREF
dear,
thank you for the tool…. i installed in my excel but not able to use it; can u pls explain it with a simple video on how to use this tool for technical like MA, RSI or MACD/Stocha …..
awaits for reply…. thank you.
Request you to please share Excel for Supertrend Indicator. Thanx
Hello Rajandran,
First of all: thank you for sharing and explaining the add-on tool!
The installation process worked for me, although I do not get any values (N/A) when I make use of some of these functions. I understand from your earlier comments that I need to make use of the array function, but even then it doesn’t work.
Could you tell me for instance with the ADX function what to do in excel to give me an actual value? What I do now is selecting the high, low, closing and date cells and then press ‘CTR-SHIFT-ENTER’. What is needed to take care of the Array issue?
Cheers!
Hi
I can not find the downloadable link. Can you help please?
Is there a different addins avaiable. Since my machine is having office 2013 64 bit it seems that it is not working. Other Technical analysis addin is not so comprehensive as such
Hi
I installed the ADDONS but don’t know how to use them.
is there any way to get a pdf or video that explains how to apply the TA functions on the data.
Thanks
Hi,
For Excel 2013 .xll was installed but, I am unable to see the functions.
If possible, please provide the function derivations of the indicator.
Thank you
Have a VBA code for NSE Future Stock prices Live from Google Finance and Live update?
Also, need EMA (high,5) and EMA (low,5) technical analysis added to the VBA.
Please help