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 - 14

Submit your code

This indicator is another implementation of daily pivot points that allows the time for pivot point calculation to be advanced or delayed from the server time. It considers any Saturday trading to be Friday and any Sunday trading to be Monday.

Parabolic plotted based on Lows and Highs of a moving average. Efficiently displays the trends on smaller timeframes, and allows to mostly eliminate frequent switches, inherent to the "Parabolic SAR" indicator.

Метод Усреднения

The library contain several functions to get an additional information about the symbols, loaded into the client terminal. ATTENTION: Undocummented solution, it may not work in the other versions of MetaTrader

Indicator shows entry and exit points for all deals and account statistics on the chart. It is very useful for trade analysis.

Two indicators MA_Support and Para_B

Improvements to the previous version.

Indicator BoDi for finding signals to close position.

Display of the Heiken Ashi candlestick indicator in a subwindow.

As I'm currently developing an Expert Advisor for Crude Oil and Brent, I wanted to get from ForexFactory.com the exact date and time of the 'Crude Oil Inventory' report. This report is typically issued on Wednesday's at 10:30am Eastern but when there's a holiday, the release date can change. As this is an important report for my EA, the only way was to check an online service to validate the release date.

An indicator for drawing all important Pivot Points including: "Classic", "Camarilla", "Woodie", "Floor", "Fibonacci", "Fibonacci_Retracement".

Building a moving line by a polynomial of the 4th degree. Extrapolate a sine curve and its axis. One value on each bar is removed from the drawn lines and a sliding line of extrapolated values is drawn, which is not redrawn.

Low risk, max profit, winning strategy EA. Based upon Super Scalper EMAs indicator

The indicator shows direction of movement and rollbacks.

In classical literature, the relative strength index is described as the "price-following oscillator that ranges between 0 and 100, and signals the market sentiment to change the trend at high (close to 100%) or low (close to 0%)...

Unloading quotes from the selected period into an external file.

An update for the BW MFI with the displaying of volumes.

The library contains the functions that are intended to split the access to the trade flow.

A function for calculation of the area of three objects: a rectangle, ellipse or a triangle.

Trigger Line Indicator.

The script allows to use MetaTrader4 as netting platform. It has some advantages compared with MetaTrader5.

Creates a report in HTML about all pairs and symbols, for example how many days ago a cross moving average appeard. Pairs with a last recent cross moving average at daily timeframe have a chance for a trend reversal which may be traded.

This library implements two simple HTTP GET / POST function and does not require external dll(s).

Shows the distance to assumed stop with two lines located at a predetermined distance from the current price.

Multi timeframe fractal indicator with "Extend_Line" and "Show_Validation_Candle" functions (compatible with MT4 build 600 or later).

Expert Advisor that closes orders after defined profit or loss.

The indicator points at the reverse bars based on the Profitunity system by Bill Williams excluding the angulation relative to the Alligator indicator mouth.

The converter of the tick files created with the Ticks collector into different data representation formats.

This indicator plots bullish and bearish gaps, and crosses/hides closed gaps.

Simple utility that makes use of offline charts to facilitate training by enabling bar-by-bar display - both forward and backward, as well as reset to a pre-defined date/time.

Power of CHF indicator shows actual strength of currency CHF calculated of 7 pairs that contain CHF. Indicator can be used for strategies based on mean reversion and/or correlation. Included pairs: EUR CHF, USD CHF, GBP CHF, CAD CHF, AUD CHF, NZD CHF, CHF JPY.

Power of JPY indicator shows actual strength of currency JPY calculated of 7 pairs that contain JPY. Indicator can be used for strategies based on mean reversion and/or correlation. Included pairs: USD JPY, EUR JPY, GBP JPY, AUD JPY, CAD JPY, NZD JPY, CHF JPY.

When applied to financial markets this method is usually used to determine the moments of prices extreme deviation from the "standard" level.

Indicator RSI DeMarker Super Position

Combined MA

Trend indicator. It adapts to the history, unfortunately redraws.

Aggressiveness - the rate of price change. Volatility - the size of the channel

Creates a synthetic Hedge for any open position that you select. Use it only if are you completely understand synthetic derivatives or triangular arbitrage.

Many developers face the same problem - how to get to the trading terminal sandbox without using unsafe DLLs. One of the easiest and safest method is to use standard Named Pipes that work as normal file operations.

This indicator is a small modification of classical Fractals Indicator. You can choose the number or left/right bars to have a new top or bottom as well a shift parameter.

1...789101112131415161718192021...101