Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Access the CodeBase from your MetaTrader 5 terminal
Couldn't find the right code? Order it in the Freelance section
How to Write an Expert Advisor or an Indicator

Top MQL4 and MQL5 source codes based on user ratings - 151

Submit your code

Smoother with self adjusting levels

RSI swings

The equation of the straight line from the school, it is y = bx + с. (Conversion from https://www.mql5.com/en/code/7883)

This is a custom support and resistance indicator, signaling bouncebacks and key market levels.

If you only want to execute your code blocks "only once per bar" it's important to check if there is new bar arrived or not.

Closes trades when bar touches trendline

Bill William's accelerator (Accelerator Oscillator) which is drawn on the high and displayed on the low timeframe.

ATR MA Oscillator is the oscillator drawn on the basis of the difference between the ATR oscillator and its signal line.

The Aggressiveness indicator displays how many points the instrument runs on the average for one candlestick

A typical and sufficiently smooth oscillator which can apply all oscillator analytical instruments

The semaphore trend signal indicator

The volatility meter with the indication in the form of a colored cloud

SI

A non-normalized oscillator.

The indicator finds Doji candlesticks and highlights them on a chart using colored arrows.

The i-OneThird indicator draws candlesticks that correspond to the bullish and bearish patterns (in the style of Heiken Ashi).

The CronexChaikin indicator with the timeframe selection option available in input parameters.

The CronexAC_Signal indicator shows information on the current trend using the values of the CronexAC indicator with a fixed timeframe.

The Exp_TSI_DeMarker EA is based on the signals of the TSI_DeMarker trend indicator.

The SizeBar indicator with the timeframe selection option available in input parameters.

Semaphore signal indicator triggering when the BinaryWave indicator changes direction.

Cloud indicator, the envelopes of which represent the Momentum oscillator values calculated for High and Low prices.

The Exp_ForecastOscilator Expert Advisor is based on signals generated by the ForecastOscilator semaphore signal indicator.

The Exp_FractalAMA_MBK Expert Advisor is based on signals generated by two moving averages of the FractalAMA_MBK indicator.

The indicator draws FrAMACandle indicator candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

The indicator plots a price grid of levels rounded up to several digits.

T3Taotra indicator with the timeframe selection option available in input parameters.

Trading by Moving Average. Checking for sufficiency of funds.

The Expert Advisor increases the lot size after each of profitable deal, if it was preceded by losing trades. Martingale.

Automated calculation of Stop Loss levels based on the ATR indicator.

The Expert Advisor waits when the lines of MA(10), MA(20), MA(50), MA(100) and MA(200) get arranged one above the other (or one below the other).

The EA closes all positions if the equity reaches a certain ratio as related to the balance.

The trading strategy based on two oscillators: iCCI (Commodity Channel Index, CCI) and iRSI (Relative Strength Index, RSI).

T3 stripped

Discontinued signal line MACD

The indicator shows market entry points as colored dots. Signal dots locations can indicate the levels for setting a protective Stop Loss or a new Trailing Stop position.

The Price Channel indicator. It draws the line of high and low price values for the last N bars from high timeframe

The Expert Advisor is drawn on the basis of changing the direction of the MovingAverage_FN (digital hybrid and analog filtering indicator).

The trend indicator which draws the boundaries of the channel

A stochastic oscillator located directly on the chart

Q-period Stochastic Index indicator from the book "Momentum, direction and divergence" by William Blau, implemented in the form of a color histogram.

1...144145146147148149150151152153154155156157158...185