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

Submit your code

This script will plot Fibonacci golden spiral on the chart.

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%)...

The Price Channel indicator calculates the highest high and lowest low of the trailing number of bars specified by the input Length.

Another version of popular ZigZag.

An indicator by the Natuseko Protrader 4H Strategy

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.

1...67891011121314151617181920...104