This page is a free Supertrend MT4 MT5 download: one zip file with the Supertrend indicator for MetaTrader 4 (SuperTrend.mq4) and MetaTrader 5 (SuperTrend.mq5), plus step by step installation instructions. Supertrend is a trend following line built from the average true range (ATR); it sits below price in an uptrend and above price in a downtrend, and both files use the common default of a 10 period ATR with a multiplier of 3.

Download Supertrend indicator for MT4 and MT5 Platform and installation guidelines.
- The zip contains SuperTrend.mq4 for MetaTrader 4 and SuperTrend.mq5 for MetaTrader 5; both default to ATR period 10 and multiplier 3.
- On MT4 build 600 and later (and on all MT5 builds), copy the file through File > Open Data Folder, not into Program Files.
- Open the file in MetaEditor and compile it (F7) if it does not appear in the Navigator.
- The MT4 version uses fixed 5,000 element arrays, so keep Max bars in chart below 5,000 to avoid an “array out of range” error.
- Indian residents should use MetaTrader only with entities permitted under FEMA; RBI warns against unauthorised forex trading platforms.
Supertrend MT4 MT5 Download
Supertrend indicator for both MT4 and MT5
What is inside the Supertrend MT4 MT5 download:
| File | Platform | Inputs (defaults) | Notes |
|---|---|---|---|
| SuperTrend.mq4 | MetaTrader 4 | Nbr_Periods = 10, Multiplier = 3.0 | v1.2 by Jason Robinson (2008); green Trend Up and red Trend Down lines |
| SuperTrend.mq5 | MetaTrader 5 | Periode = 10, Multiplier = 3, Show_Filling = true | By FxGeek (2011); colour changing line with an optional filled band |
How the Supertrend Indicator Works
Both files calculate Supertrend the same way. For every bar they take the median price, (High + Low) / 2, and build two bands: median price plus Multiplier x ATR, and median price minus Multiplier x ATR. When the close moves above the previous upper band the trend turns up and the lower band becomes a trailing stop line; when the close falls below the previous lower band the trend turns down and the upper band trails price from above. The bands can only move in the direction of the trend, which is why the line steps up in a rally and steps down in a fall.
- ATR period (10): a longer period gives a smoother line that reacts more slowly.
- Multiplier (3): a higher value keeps the line further from price, so you get fewer signals and wider stops.
Steps for Installing Supertrend MT4 Indicator
These are the original steps from 2012. They still work on old MT4 installs that keep files in Program Files. Note that the MT4 file is the .mq4 file, not the .mq5 file.
- Download/Copy/Save the MQ4 file into your C:\Program Files\MetaTrader 4\experts\indicators folder.
- Open the file using metaeditor. By default on double clicking it opens in Metaeditor
- Close your MetaTrader application (assuming it’s currently open … Ignore this if the application hasn’t been launched)
- Launch your MetaTrader application
- On the left hand side, look for the “Navigator” window
- Under the “Common” tab, look into the “Custom Indicators” directory
- Locate the indicator which you have just downloaded into the folder stated in Step 1
- Drag (Click and drag) the indicator onto the chart
- Bingo… done
Updated Steps for MT4 Build 600 and Later
Since MT4 build 600 (2014), custom files live in the terminal data folder, and the old experts\indicators folder became MQL4\Indicators (MQL5 article on the MT4 data folder). On a current MT4:
- In MetaTrader 4, click File > Open Data Folder.
- Open MQL4 > Indicators and copy SuperTrend.mq4 there.
- Right click Indicators in the Navigator and choose Refresh, or restart MetaTrader 4.
- If the indicator is not listed, open it in MetaEditor (F4) and press F7 to compile it into SuperTrend.ex4.
- Drag SuperTrend from Navigator > Indicators onto the chart and set Nbr_Periods and Multiplier in the Inputs tab.
Steps for Installing Supertrend MT5 Indicator
- Download/Copy/Save the MQ5 file into your C:\Program Files\MetaTrader 5\MQL5\indicators folder.
- Open the file using metaeditor. By default on double clicking it opens in Metaeditor
- Close your MetaTrader application (assuming it’s currently open … Ignore this if the application hasn’t been launched)
- Launch your MetaTrader application
- On the left hand side, look for the “Navigator” window
- Under the “Common” tab, look into the “Custom Indicators” directory
- Locate the indicator which you have just downloaded into the folder stated in Step 1
- Drag (Click and drag) the indicator onto the chart
- Bingo… done
Updated Steps for MetaTrader 5
- In MetaTrader 5, click File > Open Data Folder, then open MQL5 > Indicators.
- Copy SuperTrend.mq5 into that folder.
- Open it in MetaEditor and press F7 to compile; this creates SuperTrend.ex5.
- In the Navigator, right click Indicators and choose Refresh.
- Drag SuperTrend onto the chart. Turn Show_Filling off if you only want the line.
Troubleshooting the Supertrend Indicator in MetaTrader
| Problem | Fix |
|---|---|
| Indicator not in the Navigator | Check you used File > Open Data Folder, then Refresh the Navigator or compile with F7 |
| MT4 indicator stops with “array out of range” in the Experts tab | The .mq4 file uses fixed 5,000 element arrays; set Tools > Options > Charts > Max bars in chart below 5,000 |
| Compile errors in MetaEditor | Make sure the .mq4 file is opened in the MT4 MetaEditor and the .mq5 file in the MT5 MetaEditor |
| Line looks too close to price | Increase the Multiplier (for example 3 to 4) or the ATR period |
| Signals change on the current bar | The last bar can flip until it closes; act on closed bars only |
How to Use Supertrend in Your Trading
- Use the line as a trailing stop: stay long while price closes above it and short while price closes below it.
- Confirm signals on a higher timeframe; for example, take hourly buy signals only when the daily Supertrend is up.
- Expect whipsaws in sideways markets. A trend filter or a larger multiplier reduces them.
For more on the indicator, read 10 things to know about Supertrend v2.0, the non repainting Supertrend for MetaTrader 4 and the Supertrend high-low breakout strategy for AmiBroker.
A Note for Indian Traders
MetaTrader is mostly offered by forex and CFD brokers. RBI has clarified that residents can undertake forex transactions only with authorised persons and for permitted purposes, and that electronic forex trading is allowed only on RBI authorised platforms or on recognised exchanges such as NSE, BSE and MSEI (RBI press release, September 2022). RBI also publishes an Alert List of unauthorised forex trading platforms. Check your broker before you trade.
Download Non Repainting Supertrend Amibroker AFL code with Signal Dashboard
Related: Supertrend indicator
Frequently Asked Questions
Is this Supertrend indicator free for MT4 and MT5?
Yes. The zip file above is a free download and includes both the MT4 (.mq4) and MT5 (.mq5) source files.
What are the best Supertrend settings for MT4?
The default of ATR period 10 and multiplier 3 is a good starting point. Short term traders sometimes use 7 and 3, while swing traders use a larger multiplier to reduce whipsaws.
Why is the Supertrend indicator not showing in MetaTrader?
Usually the file is in the wrong folder or has not been compiled. Copy it through File > Open Data Folder, compile it in MetaEditor with F7 and refresh the Navigator.
Can I use the MT4 Supertrend file in MT5?
No. MT4 uses MQL4 (.mq4) and MT5 uses MQL5 (.mq5). Use SuperTrend.mq5 from the same zip file for MetaTrader 5.
Learn by watching: free videos every week
Market Profile, order flow, Python, AI and OpenAlgo tutorials on YouTube.


thanks a lot sir for dis…………….
Sir its great job ….thanks u very much ….
Salute to you sir. thanks a lot sir.
regards,
solanki
not able to download your supertrend indicator on mt4…….please help…. cannot find the exe
I congratulate you on your success, well done. May you always keep up good health with good wealth
its best for wich pair???
I appreciate that you have made realtime banknifty future chart available online. Please add volume bars at bottom of this chart as it gives more details to trade.
rajandran sir how to back test supertrend indicater in mt4
Dear Sir,
Would you be willing and make this indicator multi-timeframe and also create a histogram version for the same? Like this it is easier to backtest it also.
Thank you for your good work, and best regards from Switzerland!
Dan
CAN I VIEW the Target lines also in downloading the AFL.
if not, give an idea with few lines here..
Sir,
Thank You & Best Regards
how to download MT4 and MT5 platform , please provide me a link to download as i am unable to download these platforms.
Dear sir
This is a very good indicator to trade. Thanks for your help.Good day to you.
sir i am new to trade with meta trader. plz tell it is profitable or not. which time frame u use to get max return.
iam not ablw to download MT4/MT5, can you help me
Sir, i am not able to download MT4/MT5, can you please help me how to download and get activated
hi sir can u tel me how to converter MT4 Indicator and MT5 Indicator
Please allow me to download the Supertrend indicator for mt4 and mt5
sir. i m your big friend. please make a forex robot on theory of supertrend indicator.
sir how can i use super trend indicator for androiad metatreader
platform
DEAR SIR
I WAS WANTING TO INSTALL METATRADER 5 .
WOULD YOU BE ABLE TO GUIDE ME WITH A BROKER (DEALER)
sir,
why 5 point difference in meta trader 4 position and actual nifty future position. when nifty future position is 5952 it shows 5948. why it is show. thanks in advance.
Sir ,, what should be the Inputs ( Nbr_Periods and Multiplier) in Super Trend.
Respected Sir
can we see the RED AND GREEN bar in mt4 just like AMIBROKER super tred afl ?
Regarda
Chinmay
sir i want to mcx mt4 platform live data so you tell me about ti
Which time frame its most desirable to supertrend use in MT4 Rajendran
I am looking for Fibonacci Indicator with 88.6 Point. Can you please let me know from where I can download it or if you have can you please share it. I am trading in Meta Trader 4. Appreciate if you could help me on this. Current Fibonacci Indicator does not have 88.6 Point, it has 23,38,64,100,etc.
Sir i want suppertrend chart in mcx and nse f&o
how to see in ur website nifty signals i want to see commodity silver signals live
how do i download new supertrend indicator with dashboard
Recently downloaded super trend indicator from mql community and found an anomaly in 5 min TF see the attached charts : https://imagizer.imageshack.us/v2/947x593q50/538/dmWxXj.png
** link to second image https://imagizer.imageshack.us/v2/477x373q90/539/oHHx0i.png
DEAR SIR
worth full work great for new trading baby,s but some of bullshits,s use it illeagle please copyright to protect it.
and sir my q is how to avoid false signals using NON REPAINTING SUPER TREND oscillators or any other which method do you prefer ?
i will be wait for your reply………………………………………& finally THANKYOU SIR
Salute to you sir. thanks a lot for sharing super trend & zig zag indicator with all of us. these two indicators are helping me a lot
regards,
Amar Kamble
Hi sir!
Thanks for sharing SuperTrend powerful indicator is very helpful and people gain huge profits and waiting for more things.
Thank you!
thanks for the good work
thank you very much from Italy
DId metatrader crack version is available?
HI thanks for the super trend indicator
Dear Rajandran,
Can I use supertrand indicator for gold (XAU/USD) trading?
thanks bro
can you implement auto trading system using supertrend in MT4 for me as a paid service?
HI thanks for the super trend indicator