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

Submit your code

MM Lines are drawn where support and resistance is.

It's an instrument for spread monitoring for a real and synthetic currency pairs.

A brand-new version of Channel ZZ indicator

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.

Support and Resistance levels using the psar logic.

ALGLIB math function library (v. 3.5.0) ported to MQL4.

This indicator adds H3, H6, H8 and H12 time frames into your charts.

Library to work with Skype.

EA for Automatic StopLoss, Take Profit, Profit Lock, and Trailing Stop (With Special Methods). SL and TP could be hidden.

Trade using Renko Boxes in MetaTrader 4.

The OandaX OrderBook Chart indicator is designed for displaying the history histogram of orders or positions history on the instrument with reference to the chart scale.

This indicator paints the candlestick chart color according to the Elder Impulse System

Commodity Channel Index using exponential moving averages.

There are some scripts in the zip archive which could be very usefull in intraday trading. With them you can respond on market changes very quickly.

Indicator Hull_O_H_L_C.

The indicator shows support/resistance levels calculated using the methods by V.B. Antonov (A_Vlad).

An original indicator that shows buying/selling signals.

Indicator SSL fast sBar_mtf

Two CCI indicators with different periods in a single subwindow.

Regression Channel Indicator and Expert Advisor

The indicator of price levels fractals.

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

The script deletes objects from the chart.

A day Hi Lo

Cloud indicator based on 2 Moving Averages.

Adds account information to chart: Profit, Balance, Equity, Free Margin, Margin and Margin Level %. On chart click hide/show account information. Show Profit only option.

This script will calculate the total active and closed orders based on order types

The PrevDayLines.mq4 script is a tool for MetaTrader 4 that automatically draws three critical price levels from the previous trading day on your chart. These levels include the highest price (Max), the lowest price (Min), and the average price (Avg), providing traders with a clear visual reference for key support and resistance points.

The indicator plots levels based on the previous days.

Modify pending order - script choosing first in list pending order, printing selected pending order data, modifying pending order and printing pending order data after modification.

FiboPiv_v2 indicator.

Indicator of the normalized volume

The indicator displays what dominates in a time series: the trend or the flat component or the series acts randomly.

A variation of the Bollinger Bands that incorporates findings from a fractal analysis

Trading information with Fractal trend.

Close, Delete or Clean values from all orders by your choice.

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.

Holt's double exponential smoothing with linear forecasting.

Precision trend for MetaTrader 4.

This robot optimizes the values it uses for overbought and oversold based on what would have been profitable during the Optimization periods(bars) back. Using the strategy of selling when the index indicator crosses below overbought and buying when the index indicator crosses above oversold.

1...67891011121314151617181920...104