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

Submit your code

The adviser on indicators: Ichimoku, ADX.

If you have placed order and suddenly have to leave: don't panic! This EA will set initial Stop Loss, and after your position will reach settable profit threshold, it will start to apply proportional Trailing Stop.

The indicator computes the volume-adjusted flow of a currency considering all currency pairs available on your platform.

Based on the idea of pramono72 I wrote an Expert Advisor for it. It may also server as a simple way to write expert advisors using an include file and very few code lines.

Join me to develop this project. It has been my project for 2 years now and running.

This indicator shows High and Low points for certain timeframe.

The Expert Advisor based on the Heiken Ashi indicator.

This is an indicator which totally based on RSI. The reason to amend this indicator is knowing the strength of a currency.

The indicator for the floating spread. Displays the change in spread of multiple currency pairs.

Example of Heiken Ashi Using Multi Time Frame (MTF).

As simple Regression Channel code for MetaTrader 4.

Global Variables , Press function key "F3" Change "GMT_Time_Diff" : Diff. Eastern Time with Local Time "_ParaSL_SL" : Stop Loss Pips "_ParaSL_TP" : Take Profit Pips "_Para_Diff" : Retrace Entry , Pips with Parabolic Sar Value Remark : Limit Sell ; Bid Price with Parabolic Sars Value Limit Buy ; Ask Price with Parabolic Sars Value "_Para_lots" : Lots

Use the intersection of two moving average lines to draw a vertical line

EMA_CROSS Expert Advisor.

The indicator alerts at order closing, and reports about its profit.

The classic Moving Average indicator with a color change depending on the direction.

Indicator Bears and Bulls Power for MT4 together in one separate window.

The EA was created similarly to EA that won the first place in the championship.

Indicator WcciPatterns. See the description at the indicator's code itself.

A universal template for MTS developing.

MACD and averages. A co-developing.

Indicator for draw line observed by the timing of certain (hour & minute of choice)

The astrological indicator. Marks of the zodiac. The current mark.

Using only ADX, this ea can make money, work better on M30

Trades using parabolic sar signals

The simple class for counting of the orders with different filters: by symbol of currency, Magic Number, either closed, either opened orders.

Bounce Strength Indicator (BSI) shows the strength of bounce. It now works in trend and uses Tango Line calculations.

1) Close all order on the Symbol Chart 2) Take screen for keep a Trading Journal

The indicator is shown in a histogram the Bull and Bears uptrend and downtrend uses a different way. You can set period of indicator and levels for trend.

This indicator watches and displays the biggest spread the pair generated. It is recommended to run at least 5 days, from Monday to Friday, to get a big picture of the broker's spread.

Simple oscillator with a histogram.

Sharing this trend indicator made by me. Called "Timeframe Flow". It will draw a user defined higher time-frame candle on every shift on your current time-frame. Meaning you can have H4, H12 or D1 candles on every shift of your H1 Charts. Or you can have D2, D3 or D5 candles on every shift of your Daily Charts. Combined with the current time-frame ATR Bands, you have a trend indicator with some filter. You may also use the Mid Line crosses as exit( Calculated using Higher timeframe candles displayed in the indicator(Close + Open)/2 ).

Show Orders History On Chart

A solution for those who can not devote much time to the analysis of the current situation on the Forex market and to making correct and confident decisions, that are an integral part of online trading.

The indicator draws the slow and fast ССI and colors bars for determining patterns and trends.

Classic signals for opening positions on the intersections of two moving averages.

Expert Advisor Divergence Trader.

CoeffofLine Indicator.

EA achieved best results on Renko Chart. Renko Chart is not mine but I used it to write EA on it. EA can trade every pair but I got best results on GBP/USD and EUR/JPY. I'll appreciate any comments.

This scrip will close all your open positions in your MT4. You just need to drag it to the chart.

1...686970717273747576777879808182...102