MQL4 Source Code Library for MetaTrader 4 - 82
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.
A form of trading system using Price Channel principles has been implemented.
Improved period converter support real-time refreshing, low CPU cost and other features.
Use this script to make own nonstandard timeframes.
The Expert Adviser Moving Average uses for trade signal generation one moving average.
The script sends SELL STOP pending order with expiration data and printing number of ticket.
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.
Modify - script choosing first in list buy or sell order, printing selected order data, modifying order and printing order data after modification.
Delete pending order - script printing selected first in list pending order data and deleting pending order.
Close - script closing first market order if it is first in the list.
ZigZag indicator tracks and connects extreme points of the chart, the distance between these points.
The Stochastic Oscillator indicator compares where a security’s price closed relative to its price range over a given time period.
The Relative Strength Index (RSI) technical indicator is a price-following oscillator that ranges between 0 and 100.
Parabolic SAR Indicator was developed for analyzing the trending markets.
Moving Average of Oscillator is the difference between the oscillator and oscillator smoothing.
The Moving Average Indicator shows the mean instrument price value for a certain period of time.
The Momentum indicator measures the amount that a security’s price has changed over a given time span.
Moving Average Convergence/Divergence (MACD) is the next trend-following dynamic indicator.
Ichimoku Kinko Hyo indicator is predefined to characterize the market trend, Support and Resistance Levels, and to generate signals of buying and selling.
Heiken Ashi - Custom Indicator as Candlesticks Example.
Commodity Channel Index (CCI) indicator measures the deviation of the commodity price from its average statistical price.
Bulls power oscillator (Bulls Power, Bulls) - trend following indicator.
Bears power oscillator (Bears Power, Bears) - trend following indicator.
Bollinger Bands ® Indicator (Bollinger Bands, BB) is plotted a certain number of standard deviations
Awesome Oscillator (AO) is a 34-period simple Moving Average, which is subtracted from the 5-period simple Moving Average.
Average True Range Indicator (ATR) is an indicator that shows volatility of the market.
Alligator indicator is a combination of Balance Lines that use fractal geometry and nonlinear dynamics.
Accumulation/Distribution Indicator is determined by the changes in price and volume.
Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.
Sample Trading Sistem for cross 2MA & CCI
Stdlib - example of library
Example of file read and write operations
Easy example working with object: object creation, modification properties, redraw chart.
Example: Moving Average indicator filling by different colors