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

Submit your code

Variant of stochastic indicator, which filters false signals automatically.

Displays a Histogram of Momentum, ATR, CCI or RSI indicators relative to a specified level.

The DJ Lines belongs to the Pivot group. All similar indicators operate on the principle - «Based on the values of the previous day (days) it is possible to calculate a point, passing which would mean a change in the trend».

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

Th Expert will set the TP based on the SL manually set using the input multiplier. Using this you can set 2,3,4 etc times the SL set.

MACD indicator with possibility to establish mode of moving average and applied price.

Shows you profit history in real time.

Simple library that allows sending requests via HTTP protocol from new MQL4

This indicator is based on the Money Management approach used by VP from nononsenseforex.com It uses ATR to calculate Stop Loss, Take Profit and Volume you should enter into a trade based on the percentage of your Equity you want to risk.

The history_data_analysis_v3 script checks the history for missing bars, determines the size of the holes, gaps and makes a list of them.

Indicator StepMA Stoch KV1.

The ADXm indicator, unlike the traditional one, allows to see the positive and negative waves of the trend. The method for working with this indicator is the same as with the traditional one.

Ещё одна разновидность Индикатора WcciPaterns, только в качестве осциллятора.

Indicator BAT ATR v1

The indicator draws the channel of regression by High and Low prices.

Scripts to Close Orders under various conditions

This indicator will write value degrees of the lastest position of price at the current timeframes, and when position and condition of trend status was changed, the indicator will give an alerts.

Most EAs tend to close orders in take profit based on the distance in pips from the purchase price. However, this MQL4 code is based mainly on the current profit.

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.

The script downloads history for all timeframes and symbols in the Market Watch.

This is the standard Heiken Ashi, but with the option to spot Dojis and color them differently.

Shown all TF candle direction on Chart.

The indicator allows to control the Strategy Tester speed.

This Indicator shows the potential breakout/stop levels.

Changing the size of the chart window is important in my EA, but it may serve as inspiration for others.

Function library and Experts for trailing (11 types). Simple usage of complex algorithms.

Handy crosshair for MetaTrader 4.

Simple one click trade panel, typically useful for scalpers and day traders.

Trading and analysis dashboard which usually provides great trading opportunities during daytime.

Spearman's Rank Correlation is a non-parametric method used in order to make statistical studies of relations between phenomena. In this case, the factual degree of parallelism between two numeric sequences will be detected.

Indicator RBCI

The indicator shows levels of support/resistance.

Updating of version VIII.

Indicator LSMA AppliedPrice.

Индикатор Trading hours.

Indicator T3 RSI.

The indicator Acceleration&Speed shows speed and acceleration of a price change.

Functions for handling two dimensional string arrays. Usefull for prototyping.

The indicator shows the channel

The indicator shows the channel

1234567891011...102