MQL4 Source Code Library for MetaTrader 4 - 6
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.
The 3_Otkat_Sys_v1.2 Expert Advisor. The system is configured for 5 hours (Moscow Time), does not trade on the nights of Monday and Friday.
The 1_Otkat_Sys Expert Advisor. The system is configured for 0 hours (Moscow Time), does not trade on the nights of Monday and Friday.
The MDAC indicator by Elder
The script closes all open positions and opens new one with the difference of Buy and Sell lots.
The SeNSetiVe indicator. The indicator displayed the market movement direction when the zero line is crossed.
The CandlesticksBW indicator. Plots bars by B. Williams.
The Commentator indicator analyzes and displays the possible action for a certain time interval.
The Ind-Widners Oscilator indicator. Draws the support and resistance levels.
The ind - Profitunity Bars indicator. Colors the bars in green, red and black.
The Bollinger Bands (BB) indicator is plotted at the distances equal to a certain number of standard deviations.
A simple alternative to the Alligator.
The indicator draws the linear regression line based on the closing prices of the last bars.
This script draws the price levels within a cycle (by Gann) between the significant Highs and Lows.
Indicator of channels on different timeframes.
EA that writes statistic data (Ask, Bid, Spread) in CSV file.
EA that can delete pending orders, close open orders and close terminal at certain time.
Indicator that automatically draws Fibo Retracement.
Displaying ATR (Average True Range) value in pips or points with option for setting multiplier.
Buy and Sell arrows based on exit from overbought and oversold region in Stochastic Oscillator.
An indicator for drawing all important Pivot Points including: "Classic", "Camarilla", "Woodie", "Floor", "Fibonacci", "Fibonacci_Retracement".
The indicator shows computer time resolution. Normally it is about 15-16 ms. This is important, for example, to copy positions from other MetaTrader 4.
Draw Elliott Waves (5 waves) manually.
KNJ ZigZag with value at pivots (highs/lows).
It is a recovery system implemented in EA. But you can copy it to any other EAs.
Auto trading with the help of some indicators.
This EA will detect the buffers values of any indicator you want. Just type its name in the EA settings.
Indicator that shows candle strength.
Indicator that shows higher timeframe candle on current timeframe.
This is a graphical indicator based on slope-direction-trend indicator that has been published under several other forms.
This is a conversion factor. It is used to detect whether broker is 4 or 5 digits. As MetaTrader 4 calculates everything using point basis, coder can use this function to convert pips to point for machine reading.
Show full information: price, symbol, timeframe, date, time, spread, swap, stop out level, your name...
The RSI indicator has the ability to display a single window of RSI values of another timeframe defined by the user.
Trading Volume indicator shows the volume of buying and selling trades on the current bar or on average of specific number of last bars as you want . Both volumes are shown simultaneously with green and red colors for buying and selling trading volumes respectively.
This indicator helps to determine swing point highs and swing point lows.
Here I propose a simple password verification scheme which uses MT4's built-in security engine providing DES/ECB encryption and does not require code re-compilation for each new customer.
Tipu Renko Live is a modified version of Renko Charts that can be plotted on a normal time frame.
Simple indicator which displays High and Low 3 days ago.
StochPosition is an indicator for MetaTrader 4 based on Stochastic Indicator, which shows the position and direction of Stochastic in M5 timeframe up to W1 timeframe.