Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2015.12.04 11:14

Super_Trend - indicator for MetaTrader 5

| English Deutsch Русский 中文 Español 日本語 Português

votes: 15
super_trend.mq5 (13.26 KB)view

Real author:

Jason Robinson (jnrtrading)


Indicators providing simple and clear indication are quite popular on Forex market. The Supertrend trend indicator is one of such tools. It displays its values not in a separate window, but right on the price chart, which is quite convenient.

On an uptrend the indicator line is painted green and placed below the price chart. On a downtrend it is painted red and placed above the price. The indicator can be used in several ways. The simplest is to buy when the Supertrend line is painted green and sell when it is red. In a more advanced variant the evaluation takes place at a senior timeframe, such as H4, and trade is conducted on a smaller - say, M15 towards the dominating trend. Another application option of this indicator is using its lines as resistance and support levels. That is, one should wait until the price gets close to the line and trade rolling back from it.

Originally this indicator has been written in MQL4 and was first published in the Code Base on 19.06.2015.


Fig.1. The Super_Trend indicator

Fig.1. The Super_Trend indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

LinesProfitLoss LinesProfitLoss

Calculates profit (loss) of the current orders on the symbol.

FFC - Forex Factory Calendar FFC - Forex Factory Calendar

Modified version of FF Calendar Indicator with new features.