Rajandran R Creator of OpenAlgo Sketchmaker, RagZ. Building GenAI Applications. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Now the recent curiosity on building Trading AI Agents.

Technical Indicators in Excel Spreadsheet- Free Addons

4 min read

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.

Key takeaways
  • 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

FunctionIndicator
ADChaikin A/D Line
ADOSCChaikin A/D Oscillator
ADXAverage Directional Movement Index
ADXRAverage Directional Movement Index Rating
APOAbsolute Price Oscillator
AROONAroon
AROONOSCAroon Oscillator
ATRAverage True Range
AVGPRICEAverage Price
BBANDSBollinger Bands
CCICommodity Channel Index
CORRELPearson’s Correlation Coefficient (r)
DEMADouble Exponential Moving Average
DXDirectional Movement Index
EMAExponential Moving Average
HT_DCPERIODHilbert Transform: Dominant Cycle Period
HT_DCPHASEHilbert Transform: Dominant Cycle Phase
HT_PHASORHilbert Transform: Phasor Components
HT_SINEHilbert Transform: SineWave
HT_TRENDLINEHilbert Transform: Instantaneous Trendline
HT_TRENDMODEHilbert Transform: Trend vs Cycle Mode
KAMAKaufman Adaptive Moving Average
LINEARREGLinear Regression
LINEARREG_ANGLELinear Regression Angle
LINEARREG_INTERCEPTLinear Regression Intercept
LINEARREG_SLOPELinear Regression Slope
MAAll Moving Average
MACDMoving Average Convergence/Divergence
MACDEXTMACD with controllable MA type
MACDFIXMoving Average Convergence/Divergence Fix 12/26
MAMAMESA Adaptive Moving Average
MAXHighest value over a specified period
MEDPRICEMedian Price
MFIMoney Flow Index
MIDPOINTMidPoint over period
MIDPRICEMidpoint Price over period
MINLowest value over a specified period
MINUS_DIMinus Directional Indicator
MINUS_DMMinus Directional Movement
MOMMomentum
OBVOn Balance Volume
PLUS_DIPlus Directional Indicator
PLUS_DMPlus Directional Movement
PPOPercentage Price Oscillator
ROCRate of change : ((price/prevPrice)-1)*100
ROCPRate of change Percentage: (price-prevPrice)/prevPrice
ROCRRate of change ratio: (price/prevPrice)
ROCR100Rate of change ratio 100 scale: (price/prevPrice)*100
RSIRelative Strength Index
SARParabolic SAR
SAREXTParabolic SAR: Extended
SMASimple Moving Average
STDDEVStandard Deviation
STOCHStochastic
STOCHFStochastic Fast
STOCHRSIStochastic Relative Strength Index
T3Triple Exponential Moving Average (T3)
TEMATriple Exponential Moving Average
TRANGETrue Range
TRIMATriangular Moving Average
TRIX1-day Rate-Of-Change (ROC) of a Triple Smooth EMA
TSFTime Series Forecast
TYPPRICETypical Price
VARVariance
WCLPRICEWeighted Close Price
WILLRWilliams’ %R
WMAWeighted Moving Average
Technical indicator functions available in the TA-Lib Excel addon

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)

  1. Copy the ta-lib.xll file.
  2. 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

  1. Unpack the download to a permanent folder, for example C:\TA-Lib\.
  2. In Excel, go to File, Options, Add-ins.
  3. At the bottom, choose Manage: Excel Add-ins and click Go.
  4. Click Browse, select ta-lib.xll and click OK.
  5. Make sure ta-lib is ticked in the Add-ins list, then click OK.
  6. 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.xll in 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:

IndicatorFormula (first value)Then fill down
20-day SMA=AVERAGE(B2:B21) in C21Copy C21 down the column
20-day EMASeed D21 with =AVERAGE(B2:B21)=B22*(2/21)+D21*(1-2/21) in D22, copy down
Daily change=B3-B2 in E3Copy 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)
Native Excel formulas for simple technical indicators

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.

Marketcalls Elite Traders Club

MEMBERSHIP

Marketcalls Elite Traders Club

Every Marketcalls course and live mentorship in one membership: 127 courses and 2,500+ hours of learning.

  • Market Profile, Orderflow, AFL, Pine Script and Python
  • Live mentorship and TradEdge trading room
  • Premium tools and the Elite Slack community

Learn by watching: free videos every week

Market Profile, order flow, Python, AI and OpenAlgo tutorials on YouTube.

Rajandran R Creator of OpenAlgo Sketchmaker, RagZ. Building GenAI Applications. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Now the recent curiosity on building Trading AI Agents.

55 Replies to “Technical Indicators in Excel Spreadsheet- Free Addons”

  1. i downloaded the .jar file, now how do you unpack it? I unzipped it but not getting any .xll file..!!!

    1. @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

  2. Great Post. Can be a very useful for plotting some technical indicators without buying any expensive tools. Thanks

  3. 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.

  4. 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..

  5. 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

  6. 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

  7. 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

  8. 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

  9. 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!

  10. Sir,
    Excellent work. Very well explained. the download is not available. Can it still be downloaded.

    Thank you

  11. 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

  12. 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.

  13. 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.

  14. 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

  15. Hi RAJ , after downloading and adding in the TALIB addon , how do i get access to the other functions

  16. 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?

  17. Sir,

    when i add the xll file in exel 2003 add-ins, i get error ‘not a valid add-in’.
    Please help. 🙂

  18. 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

  19. 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.

  20. 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

  21. 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.

  22. 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!

  23. 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

  24. 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

  25. 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

  26. 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

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More