Assista a como baixar robôs de negociação gratuitos
Encontre-nos em Twitter!
Participe de nossa página de fãs
Acesse o CodeBase em seu terminal MetaTrader 5
Não encontrou o código mais adequado? Encomende-o na seção Freelance
Como escrever um Expert Advisor ou um indicador

Biblioteca de códigos fonte MQL4 para MetaTrader MQL4 - 19

icon

A maior biblioteca gratuita de Expert Advisors (EAs), indicadores técnicos e scripts em código-fonte. Os aplicativos apresentados permitem que você negocie em modo automático e analise mais detalhadamente a dinâmica das cotações. Utilizando a biblioteca de códigos, você saberá mais sobre a dinâmica e o comportamento dos mercados financeiros.

Estes aplicativos podem ser livremente baixados, testados e executados no MetaTrader 4. O acesso a eles também pode ser obtido da plataforma MetaTrader 4 e do ambiente de desenvolvimento MetaEditor.

Adicionar código

Get entry signals from specific candles based on your rules.

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

This script is used to convert history data from M1 to M5, M15, M30, H1, H3, D1, W1, MN.

Generates a random number, and if this number is even, it will buy, if odd - it will sell.

RSI modified to show the excess of the market (more than 70 and less than 30), and show you the divergency with the price.

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

Center of Gravity Modification 2018.

Indicator displays the value of defined stop loss and or take profit in the deposit currency.

CEquityHstBar - library for showing the equity of EA back-testing by the offline chart.

This robot optimizes the values it uses for overbought and oversold based on what would have been profitable during the Optimization periods(bars) back. Using the strategy of selling when the index indicator crosses below overbought and buying when the index indicator crosses above oversold.

This indicator allows you to see the Moving Averages from different timeframes on the same chart. It helps you to spot the dynamic levels of support and resistance. It uses a custom window with check boxes to show/hide the different Moving Averages without need to access the indicator settings window.

Uses the analysis of 4 indicators.

Class for working with synchronization events.

Displays the number of each bar - both, relative to the most current bar and in absolute terms from the beginning of the chart.

This custom indicator will show you 28 pair's daily candle range, High-Low range, candle bullishness or bearishness from real tick market. So you can understand the overall market situation very short time. You can change the default timeframe from Daily to any period and default candle (bar) number from 0 to any previous number. Also you can open the required symbol by clicking the symbol button.

As expressões regulares proporcionam uma linguagem formal para processar textos de modo flexível e eficiente. Cada expressão regular é um padrão (máscara) para o qual o processador de expressões regulares tenta encontrar uma correspondência no texto fonte. O padrão compõe-se de designações, operadores ou construções, constituídas por um ou vários caracteres.

Not really profitable but the code fits on one page.

Previous Candle Hi-Lo is used to check the last candle multi-timeframe position relative to the current price.

As simple Regression Channel code for MetaTrader 4.

The functions included in this template use two news sources - Investing.com and Dailyfx.com. The template doesn’t use DLL.

Shows when two or three consecutive bull or bear candles of a certain size print after qualifying the stochastic level of the initial candle in the series. New in version 3 /* Changelog 2-4-19 Added 50% line to indicator box - Ignored changing the indicator lines individually since mql does not have a built-in language convention to create this change would require too much additional research and effort. Fixed error with the DodgerBlue lines not showing, the problem was due to using DodgerBlue instead of clrDodgerBlue in the code to indicate color, should be fixed now. */

Get a grasp of the current trend by candle colors.

Indicator to trade divergence. One of 30 indicators can be selected.

A class system to represent a hidden stop loss and take profit system, combined with 4 example files showing the use of the classes.

The indicator marks the days of the week with a colored histogram in the chart sub-window.

The example of multicurrency hedging implementation on a single chart in Metatrader 4.

Expert Advisor for pyramiding into big and fast market movements.

Automatic placing of Buy Stop pending order and Sell Stop pending order simultaneously, Stop Losses and Take Profits on the user specified levels. As soon as the long position (BUY) is opened as ASK price crosses the levels, the remaining pending order (SELLSTOP) is deleted. Vice versa if the short position (SELL) is opened as BID price crosses the levels, the remaining pending order (BUYSTOP) is deleted. It places again both pending orders after the opened order has been closed.

Use Chaos Theory to trade!

The EA using single layer Perceptron.

Open two buttons on a chart, one for closing all shorts, one for closing all longs. The buttons labels display the current total profit for each type of order.

Stores and implements a basic hidden Stop Loss and Take Profit system.

Relative Strength Oscillator or RSO is an Oscillator version of RSI.

This indicator allows you to define a checklist for you to manually check and confirm your strategy before entering into a trade.

A simple EA based on Tipu Trend indicator and Tipu Stops indicator.

This is a multi timeframe indicator for Bollinger Bands. With it you can plot the Bollinger Bands of the higher timeframes without changing the current chart. This allows you to more clearly understand the price context by seeing the levels of the other timeframes on the same chart.

FileLog class for efficient logging at different Levels.

This script removes all instruments with spread higher than the specified maximum requested and it also removes all non-trade enabled instruments from Market Watch, which allows you to concentrate on items you may want to trade without all the clutter.

This indicator helps to move charts one by one to the the front, just like slide show,and make your hands free.

A channel based on standard deviation of close price.

1...121314151617181920212223242526...101