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

Submit your code

Indicator iMA Fibs.

One more version of an indicator to calculate support/resistance levels.

One more version of indicator ChandelierStops. Works together with indicator ChandelierStops_v1.

The standard linear regression channel and support/resistance levels.

Indicator Schaff Trend.

The indicator is written by the fourth dimension of B. Williams - Trading Zone.

Steve Nison 'three line break' strategy on chart.

Intra-[Month,Week,Day,H4,H1 ...] Fibonacci. (Maybe) the most useful Fibonacci tool.

Kijun Sen and Envelope.

Indicator Waddah_Attar_Explosion is very powerful. It alerts you to buy , sell , exit buy and exit sell.

Description of the FXT file header, functions of reading and writing of the header.

This indicator uses a combination of Bollinger Bands and Keltner Channels to capture moves from low to high volatility.

Zero values characterizes the Flat Trend. V-shaped pulse indicates the entrance to the opposite direction. U-shaped ilpuls - entry in the same direction.

Two modified COG indicators. Center of Gravity on Stochastic in sub window and enhanced On Chart COG.

Shown all TF candle direction on Chart.

Example of using wininet.dll for downloading a web page.

The ZZ_All Quotings 0-0050 script is designed for downloading history on all currency pairs, metals, known indices, CFD and for controlling "holes" in history.

Gann angles inscribed in ZigZag.

Indicator HiLo Activator.

The script is the calculator of the simple, complex, nominal and continuously charged percents.

The script visualizes the deals on the chart in a convenient way.

The indicator finds and draws linear channels using all timeframes from M1 minute to MN.

Modified Nick Bilak's b-clock with spread (ask-bid) and font customization (font, color, size).

[@Buy_Sell_Close] Manual trading EA for trading newbies, EA can be used in backtesting visual mode, EA can also be used in live trading. You can practice your own trading system in backtesting.

This indicator will detect divergence between the price and OsMA indicator. It will give buy or sell signal according to the type of divergence that was detected.

Close all multi currency open orders and cancel pending orders according to various scenarios. Slippage for open orders is calculated for each currency. Choose only one scenario per visit, the script processes the first menu item selected.

The indicator shows the beginnings and the ends of three trading sessions: Asian, European, and American.

This is indicators used divergence theory. Red arrow = sell signal and green arrow = buy signal.

It draws a channel with recommendations.

Report generator

Set of functions for calculating optimization results.

automatically converts M1-data to M5/M15/M30/H1/H4/D1 in a single run

Parabolic SAR for current TF and 3 next TFs with Alert. This indicator made by request of maks741 and with help of Nikolay.

A trend following indicator that implements Dennis Gartman and Bill Eckhart trading system. Commonly known as "The Turtle Trader".

This indicator will Draw Fibonacci Tools such as Retracement, Arc, Fan, Expansion, Time Zones. Based on ZigZag indicator.

Connect your indicator to Telegram with 3 lines of code This sample code enables to connect your indicator to Ofir Blue, the first trading application for Telegram

Multi buylimit and buystop orders are script files that enable traders to place multiple orders with ease. With just one command, traders can place multiple buylimit or buystop orders using either a target price or pips. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. This setup includes stop-loss and take-profit levels, which can be adjusted based on the trader's preferences. Notably, these orders come with a level of flexibility that enables traders to fine-tune their trading strategies. For instance, a trader can opt to set the stop-loss level to zero if they do not use stop-loss.

i-Breakeven groups the open position by symbol and for the each of group shows: 1. The current equity level. 2. The estimated breakeven level.

This is another flavour of the original divergence indicator. It detects divergence between price and MACD indicator and gives Buy or Sell signals according to the divergence type.

The indicator that facilitates the interpretation of the Ichimoku signals.

1234567891011...101