Assista a como baixar robôs de negociação gratuitos
Encontre-nos em Telegram!
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 - 76

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

Expert Advisor é baseado no indicador Williams Percent Rang. Ele vende na zona sobrecomprada e compra na zona sobrevendida. Trailing stop e um timer operacional estão configurados também.

Os valores do indicador Moving Average são utilizados para negociação.

Este indicador baixa o histórico dos símbolos que estão abertos no gráfico. Não será mais necessário esperar por uma atualização quando os timeframes forem alterados.

Easy EA for closing positions with profit or loss. All positions of chart's symbol are counted separately.

This indicator helps you display spread on a chart.

It synthesizes any symbol if you have the source symbols and then makes a real time virtual chart. Same concept with Triangle Hedge (SymbolSynthesizer.mq5 https://www.mql5.com/en/code/909) but for chart display in MetaTrader 4.

Draw your preferred pivot formulas: Standard, Fibonacci, Camarilla, Woody’s and DeMark with 4 Support and Resistance lines.

Close, Delete or Clean values from all orders by your choice.

Just a Donchian channel with slope. If xslope=0 it becomes the Donchian channel. It uses the moving average of Momentum.

This ZigZag indicator uses dual buffers to store high and low points.

EA opens trades from support and resistance levels, which were set by a trader, and revolves them at another levels.

Close At Time is an EA that closes open positions or deletes pending orders or both. You can also specify how it should be closed – by symbol, magic number or ticket number.

The strategy of this EA is daily breakout which is compare previous high or low previous day candle then place a pending order for breakout.

This program is a basic version of the original code of relatively simple system Millenium.

This is a working singleton code example. A singleton object is created when there 'can be only one' of the object.

Copying utility with minimal functionality.

EA opens trades from support and resistance levels which were set by a trader.

Fibonacci indicator drawing levels on previous day.

Indicator S&R based on OHCL candles.

Traditional MACD indicator with a Momentum indicator and alarms. Allows customization of most of the parameters without having to dive into code.

This EA will help you to set Stop Loss and Take Profit.

The EA looks for trend using three MAs (period 200, 50, 25 or other) and opens orders using the Parabolic SAR indicator. There is martingale in an Expert Advisor, the lot is calculated in percents from a deposit depending on Stop Loss.

Instant execution button to close profit orders, close all orders, auto close by trailing parameter. Last update: 21 April 2016. Prev: 8 Dec 2015

My version of Squeeze Indicator for MetaTrader 4. This indicator is based on a strategy mentioned in John Carter's book, Mastering the Trade. It is also a fully improvised version of Squeeze_Break indicator by Des O'Regan.

A robust EA template to use with your entry conditions.

Easy EA for closing positions of the symbol with profit or loss. You can use it for hidden SL too.

An EA template to add a simple trailing stop to your strategy.

MQL4 library that allows authenticating into a MetaTrader 4 account programmatically in release 880+.

Bollinger Bands with customizable moving average method and applied price.

This script creates a .CSV file of your order history so you can import it into Excel and analyse it using the calculated heat map slots and other calculated values. All trading attributes are extracted from the history and output to the .CSV file. Updated version 1.03 (about 27KB) has NetProfit, OpenDay, OpenHour, OpenSlot, CloseDay, CloseHour, CloseSlot, DurationMinutes, PotentialWinPips, PotentialLossPips and others. The file is tab delimited for easier conversion from text to columns in Excel. Times are server time. Handles 4 and 5 digit brokers and 2/3 and 4/5 point value pairs, e.g. JPY correctly.

This version of CCI indicator uses median line of the Step Channel indicator.

Money Management / Pivot / Daily Open / Support-Resistance / Grid / Information of all kind / Tendency indicator.

This an H1 strategy. This EA will execute at the new bar if the last bar has broken through the point that we set.

This indicator shows Step Channel based on volatility.

This EA will show the button that can used to close all orders by the current chart symbol.

Money Manager Graphic Tool shows Lot Size, Ratio, Risk and opens orders (Buy, Sell, Buy Stop, Buy Limit, Sell Stop, Sell Limit).

This indicator plots the values of the user specified ATR period for all timeframes as a text block. The text block corner can be changed by the user.

Draws a Triangular Moving Average on the chart.

This indicator shows Wedge pattern.

Simple button to change the timeframe directly in the chart.

1...697071727374757677787980818283...101