Login Sign Up
XAUUSD3,627.30▼ -0.73% XAGUSD43.015▼ -1.67% EURUSD1.09373 BTCUSD58,795.02▼ -2.30% GBPUSD1.33941▲ 0.94%· Tue 09:00 USDJPY158.673▼ -0.55%· Tue 09:00 US3046,214.3▲ 1.33%· Mon 19:30 US5006,581.8▲ 1.13%· Mon 19:30 GER4025,325.7▼ -0.35%· Thu 09:41 AUDUSD0.69697▲ 0.38%· Tue 09:00 USDCAD1.37411▼ -0.04%· Tue 09:00
Free Indicator MT4MT5 v1.01

SGT Super Trend

Free MT4 and MT5 Super Trend indicator with an ATR trailing line, closed-bar BUY/SELL marks that do not repaint, and the Investor Tipster panel.

SGT Super Trend on an MT5 gold XAUUSD H1 chart, with the green and red ATR trend line, closed-bar BUY and SELL boxes, and the Investor Tipster panel in the bottom-left corner

About

SGT Super Trend is an Investor Tipster port of the open-source TradingView script SuperTrend STRATEGY by KivancOzbilgic (MPL-2.0). The MT4 indicator and the MT5 indicator draw a trailing line from Average True Range (default ATR Period 10, ATR Multiplier 3.0, Source HL2, Wilder ATR). When a closed candle confirms a trend flip, a BUY or SELL mark is placed on that candle. The forming candle can still move the live line, but it never receives a signal mark.

On the chart:

  • A green (up) or red (down) trend line, width 2, broken at every flip.
  • BUY: a green arrow below the candle low with a filled BUY box under it. SELL: a red arrow above the high with a filled SELL box over it. Each box sits a clear gap away from its arrow and is kept inside the visible price range, so it is not clipped at the chart edge or hidden under the symbol caption.
  • An optional dotted entry line at the signal price, and an optional trend fill (off by default).

The Investor Tipster panel shows the product name and version, a green UP or red DOWN trend badge, the last closed-bar signal with its date, time and price, and the footer Investor Tipster · investortipster.com · SGT · smartgoldtrade.com. It opens in the bottom-left corner. Use the Panel Corner input (Top Left, Top Right, Bottom Left, Bottom Right) to move it, click its header to collapse it, or turn Show Panel off. The panel is always kept inside the chart and its spacing scales with your screen DPI.

Use it on any symbol and timeframe your broker offers, including gold (XAUUSD) and forex pairs. An alert fires when a new closed candle shows a BUY or SELL. This is a technical study tool and does not guarantee results. Review it on a demo chart first.

User manual

Install, inputs, panel, FAQ

SGT Super Trend is a free MT4 and MT5 indicator. It draws an ATR trailing trend line and marks BUY or SELL only after a candle closes, so those marks do not repaint. There is no license key and no WebRequest check.

Based on SuperTrend STRATEGY by KivancOzbilgic (TradingView), MPL-2.0. Original: https://www.tradingview.com/script/P5Gu6F8k/

Install on MT4

  1. In MetaTrader 4, choose File → Open Data Folder.
  2. Open MQL4/Indicators/.
  3. Copy SGT_Super_Trend.ex4 into that folder.
  4. In the Navigator, right-click Indicators and choose Refresh, or restart the terminal.
  5. Open a chart (for example gold XAUUSD or a forex pair) and attach SGT Super Trend from Navigator → Indicators.
  6. Set the inputs if you want, then click OK.

Install on MT5

  1. In MetaTrader 5, choose File → Open Data Folder.
  2. Open MQL5/Indicators/.
  3. Copy SGT_Super_Trend.ex5 into that folder.
  4. In the Navigator, right-click Indicators and choose Refresh, or restart the terminal.
  5. Open a chart and attach SGT Super Trend from Navigator → Indicators.
  6. Set the inputs if you want, then click OK.

After copying, use Refresh in the Navigator if the name does not appear.

Inputs (defaults)

Super Trend Settings

Label Default Meaning
ATR Period 10 Bars used for Average True Range
ATR Multiplier 3.0 Distance of the trailing line from the source price
Source HL2 (default) Price used for the mid line: Close, Open, High, Low, HL2, HLC3 or OHLC4
Use Wilder ATR (off = SMA of TR) true On: Wilder / RMA ATR (same as TradingView atr()). Off: simple average of true range

Chart Display

Label Default Meaning
Line Width 2 Thickness of the trend line. The line is broken at each trend flip, so the green and red parts never join
Show Buy/Sell Signals true Draw a BUY or SELL arrow plus a filled label box on the closed candle where the trend flips
Show Entry Line true Draw a thin dotted line at the signal close price, running 12 bars to the right of each signal candle
Show Trend Fill false Shade the area between the close and the line in a soft green or red, drawn behind the candles
Bars to Draw (signals and fill) 500 How many recent bars get signal marks, entry lines and fill. Lower it on very long charts

Panel

Label Default Meaning
Show Panel true Draw the on-chart information panel
Panel Corner Bottom Left Where the panel sits: Top Left, Top Right, Bottom Left or Bottom Right. The panel is always kept fully inside the chart
Panel Offset X 15 Horizontal margin from the chosen corner, in pixels
Panel Offset Y 30 Vertical margin from the chosen corner, in pixels

The panel

The panel is a boxed card in the corner you choose (default: bottom left, 15 px from the left edge and 30 px from the bottom, always kept fully inside the chart). It uses the Investor Tipster dark palette and Segoe UI, and its spacing scales with your screen DPI so the text never overlaps. Click the header to collapse or expand it.

  • Header strip: SGT Super Trend in gold (Segoe UI Semibold 10) with a smaller muted v1.01 beside it.
  • Trend badge: a green UP or red DOWN badge for the confirmed trend of the last closed candle.
  • Last signal: BUY (green) or SELL (red) on one line. The date, time and price of that signal are on a separate line below it.
  • Footer: Investor Tipster · investortipster.com · SGT · smartgoldtrade.com

The forming candle is not used for the trend or last-signal lines, so those fields do not flicker with an unconfirmed flip. Panel objects are removed when you detach the indicator.

On the chart

  • Trend line: width 2 by default, green in an up-trend and red in a down-trend. It is broken at every flip, so there is no joining segment between the old and new trend.
  • BUY mark: a green arrow with a filled green box below the candle low, with white BUY text.
  • SELL mark: a red arrow with a filled red box above the candle high, with white SELL text.
  • Entry line: an optional thin dotted line at the signal price, running 12 bars to the right of the signal candle.
  • Trend fill: optional, off by default. It is drawn behind the candles. Turn it on if you want a shaded trend area.
  • Marks are placed only on closed candles, are redrawn for the history on the chart, and are removed when you detach the indicator.
  • BUY and SELL boxes sit a clear gap away from their arrow, and they are kept inside the visible price range, below the symbol caption at the top and above the bottom edge, so they are not clipped.

FAQ

Does a BUY or SELL mark repaint?
No. Marks are written only on closed candles (bar 1 and older). The trailing line on the current candle can still move as price and ATR update; that is the live line, not a signal.

Why does a mark appear only after the candle closes?
The signal is confirmed at the close, which matches the no-repaint rule. An alert also fires only when a new closed bar shows a BUY or SELL mark.

Which markets and timeframes can I use?
Any symbol and timeframe your broker offers, including gold and forex. For a like-for-like check against TradingView, use the same symbol, timeframe and the defaults 10 / 3.0 / HL2 / Wilder ATR on.

Is there a license key?
No. SGT Super Trend is free and does not call the license API.

The panel overlaps price.
Move it with Panel Corner and the X/Y offsets, or collapse it by clicking the header, or turn Show Panel off.

The BUY/SELL boxes or the fill look too heavy.
Turn off Show Entry Line or Show Trend Fill, or lower Bars to Draw. The boxes resize with the chart scale when you zoom.

I cannot see the indicator in the Navigator.
Confirm the file is in the terminal’s own data folder (MQL4/Indicators or MQL5/Indicators), then right-click Indicators and choose Refresh.

Changelog

  • 1.01: New panel footer: Investor Tipster · investortipster.com · SGT · smartgoldtrade.com. Signals, inputs and chart marks are unchanged.
  • 1.00: First release.

Risk disclaimer

SGT Super Trend is a technical charting tool. It does not promise profits or any particular result. Trading forex, gold and other leveraged markets involves a risk of loss. Use a demo account first and never risk money you cannot afford to lose.

MetaTrader 5 terminal window with the SGT Super Trend indicator attached to an XAUUSD H1 chart

Inputs (defaults)

  • ATR Period = 10
  • ATR Multiplier = 3.0
  • Source = HL2 (default)
  • Use Wilder ATR (off = SMA of TR) = true
  • Line Width = 2
  • Show Buy/Sell Signals = true
  • Show Entry Line = true
  • Show Trend Fill = false
  • Bars to Draw (signals and fill) = 500
  • Show Panel = true
  • Panel Corner = Bottom Left
  • Panel Offset X = 15
  • Panel Offset Y = 30

Credits

Based on SuperTrend STRATEGY by KivancOzbilgic, MPL-2.0. MetaTrader port © Investor Tipster.
Trading involves risk. Indicators show past price behaviour and do not guarantee results. Test on a demo account first.