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

MQL4 Source Code Library for MetaTrader 4 - 57

icon

The largest library features codes of free trading Expert Advisors, technical indicators and scripts. With the available applications you can trade in automated mode and analyze price dynamics. Use the library of codes to learn more about financial market sentiments.

Download free applications, test them and run in your MetaTrader 4. You can access them from the MetaTrader 4 platform and the MetaEditor development environment.

Submit your code

Indicator that draws for the last ( You nominate how many bars back ) x bars the levels at which the psar indi turns.

A support and resistance indicator to assist in setting stop losses and take profits with any strategy.

AggM is a composite trend and mean-reversion indicator.

Nothing to say, the people of the game more money

Trades news events.

Indicator of some basic information.

Expert Advisor trading with Local High/Local Low (msl/msh)

Creates a report in HTML about all pairs and symbols, for example how many days ago a cross moving average appeard. Pairs with a last recent cross moving average at daily timeframe have a chance for a trend reversal which may be traded.

AggZ is a composite trend and mean-reversion indicator.

You can adjust SL/TP by dragging the lines drawn by the EA.

Just trade looking at the arrows shown by indicator

Indicator for detect trends of the market. For trend following usage.

Shows upcoming news events 1 hour before and 30 minutes after event. Also shows active sessions etc.

Shows whether the market is trending or range-bound. Must to note before opening any position.

version 1 of bindings to zeromq library

The Alerter simply works on 1 or 2 trendlines and plays a sound file when the trendline has been broken so the only think you must do is name correctly the trendlines.

Stop-Orders are used to enter a position. Pending orders and postions are handled based on a daily system. Risk and money management are included as well as time and dayfilters. The entry logik (STP-value calculation) can be easily changed.

Betting Strategies Simulator

Modified version of Donchian channel that shows when to Buy & Sell and most important, where to place stop-loss.

Wilder's Volaility System

with some shortcuts i can operate with multiple objects very quickly, this script change the size, the color of line

Powered by level equal to a whole cents (1.38 1.39 1.40 etc.)

This bands Are used by me for the calculation of the stop loss for a breakout entry and for indicate 2 things: the expected volatility and the trailing stop

Gives Buy, Sell and Exit signals based on EMA

The Crossover Moving Average Mirror user, completed with Sound Alert.

Underlyings for this EA are the daily opening (o1), the daily high (h1) and the daily low (l1). The distances from each other in a maximum of 3 steps form the filter base, which is confirmed by the CCI.

Whether you use Fibonacci for visual trading or for automated trading, this Fibonacci will handle it. Works across multiple timeframes and pairs.

Opens orders using moving average crosses.

Opens and closes orders using parabolic SAR signals now with improved features.

an EA , run with a profit this is Error EA in error, so you can correct the EA, But no use EA

The Next Generation of MA Mirror, completed with SignalSMA.

Upgraded version of Slope Direction Line.

Another simple, powerfull and profitable Mirror Indicator.

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.

Entry BUY after Red Line crossing up the Blue Line and exit before the Red Line crossing down the Blue Line. Opposite position : entry SELL after Red Line crossing down the Blue Line.

Полосы Боллинджера на основе цифровых фильтров

This EA is based on the indicator RSI_MA. EA designed for EURUSD, D1.

This indicator is a combination of a classic RSI and even more classic MA indicators. I hope it will be more stable and with more Profit/Loss Ratio.

EA designed on the idea of the indicator Nik_PSAR_2B (http://codebase.mql4.com/6934). EA works on the Symbol = "EURUSD" and Period = M1.

Optimize trading with a single moving average. This indcator tests each moving average and automatically finds the moving average which fits best to the current market

1...505152535455565758596061626364...101