Watch how to download trading robots for free
Find us on Facebook!
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 - 103

Submit your code

An indicator of ticks (Bid and Ask). Displays the last 300 ticks.

Laguerre stripped of RSI "experiment".

The Triple Exponential Average (TRIX) indicator + the signal line + arrows at the intersection of the signal and the main lines.

The Expert Advisor is based on Bill Williams' strategy.

ADXVMA uses modified ADX calculation for adapting Moving Average calculation.

The Expert Advisor waits for a gap at the bar opening.

Trend trigger factor (averages pre-filtered)

An Expert Advisor based on two indicators: iFractals (Fractals) and iAlligator (Alligator).

Indicator XXDPO_Candle can provide alerts and send email and push notifications when trading signals occur. Possible signal options

Displaying the latest closed values of indicator Bollinger Bands® with colored rectangles and background filling

Detect bullish and bearish engulfing candles when entering the overbought or oversold territory. We have all seen a currency pair enter the overbought or oversold territory and stay there for long periods of time. What this indicator does is gives you the emphasis. So if you are looking for reversals then you may want to take notice when oversold territory is entered into with a bullish engulfing candle or if the trend is your thing then check for bearish engulfing candles while entering oversold.

Adaptive moving average - double smoothed

Variance (Welford’s method for computing)

Raymond Cloudy Day For EA, a revolutionary trading tool created by Raymond and expertly developed for the MT5 platform. This innovative indicator integrates a cutting-edge calculation method with advanced algorithms, surpassing traditional Pivot Points to enhance trading strategies with unparalleled precision.

The EA identifies discrepancies between theoretical and actual currency exchange rates to execute risk-minimized trading opportunities.

The script provides a synchronous scrolling for all charts opened in the client terminal.

Intitial position is opened according to signals of the indicator.(there are six variants). If position becomes unprofitable, its volume is increased

bts

Comparing the speed of a binary or a ternary search

NRTR is Nick Rypock Trailing Reverse indicator.

A script to place straddle orders around current price level to catch price spikes around announcements.

The Exp_wlxBWWiseMan-2 Expert Advisor is designed using the semaphore signal indicator wlxBWWiseMan-2.

Support\resistance levels, trend direction — bullish\bearish.

Trades on PERIOD_M1 (M1). Calculates bullish and bearish candlesticks.

MetaTrader 5 allows creating synthetic instruments. The price of such instruments can depend on the current values of a number of financial instruments. In trading, such symbols allow spotting the beginning and end of global market movements at an early stage. In this example we create synthetic instruments to analyze the strength of Forex currencies EUR, USD, GBP, JPY and CHF.

Price momentum oscillator

The Gann High Low Activator Indicator was described by Robert Krausz in a 1998 issue of Stocks & Commodities Magazine. It is a simple moving average SMA of the previous n period's highs or lows.

Classic Pivot Point indicator paints pivot point and three resistance and support levels for all data points.

The script is assigned to a hot key for quick change of charts around in a circle.

Trader's simple assistant. The MQL5 Spread indicator shows the current spread of the currency pair on a chart.

Very popular but dangerous strategy which doubles the stakes after each loosing trade. Finally, if there is enough margin it will reverse into the direction of the current price move and will eventually close in profit. This expert advisor is designed with visual strategy builder - Mission Automate. Code is generated automatically. More info: https://www.mql5.com/en/articles/4951

Classic strategy based on Parabolic SAR indicator. With Auto Lot options and Trailing Stop. This expert advisor is designed with visual strategy builder - Mission Automate. Code is generated automatically. More info: https://www.mql5.com/en/articles/4951

Something for those who wants to try out new Strategy Tester and don't have any EA.

It searches for tops or bottoms of price movement.

The Hodrick-Prescott Filter.

The oscillator, based on Ichimoku indicator.

The DRAW_COLOR_HISTOGRAM drawing style is used to plot color histograms.

Stochastic Momentum Oscillator by William Blau.

Keltner Channel is volatility-based envelopes set above and below an exponential moving average.

T3

T3 Moving Average is based on multiple exponential smoothing of price.

ATR Channels create price movement channels considering ATR (Average True Range).

1...96979899100101102103104105106107108109110...193