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 - 20

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 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.

This is a binary options simulated trading indicator on MetaTrader 4 client, novice traders can use to practice trading strategies, program interface have simplified Chinese and English.

Tipu MACD is one the popular indicators in the Market. The original code for Tipu MACD is modified by removing compatibility with Tipu Panel. This version of Tipu MACD is open for everyone who is interested in developing an Expert Advisor.

Test ChartEvent is an example demonstrating the various types of ChartEvent: keyboard keys events, mouse click & move events, custom events. The source code works both in MetaTrader 4 and MetaTrader 5.

Trailing stop allows you to automatically protect the profits with your positions. It adjusts itself according to the current market rate and the amount of pips you give it to trail behind.

This EA opens Buy or Sell trades in strongest or weakest pair. It cannot be backtested. Kindly use it on Demo account first & use it on your own risk.

This expert will copy a trade with the preset volume on the same account, can be used with a signal. No cross-account functionality.

Automatic Fibonacci with ZigZag Base.

Example of Heiken Ashi Using Multi Time Frame (MTF).

Accumulated RSI that uses floating levels or quantile bands.

Forex indicator for MetaTrader 4 with show double line of linear regression with position degrees and trend alerts.

This script is used to modify StopLoss and TakeProfit.

This EA Opens a grid of Buy Stops and Sell Stops at a specified distance from price. Has Stop Loss, Take Profit and Trailing Stop.

Laguerre RSI with Laguerre filter.

The header file contains functions and input variables for a time management.

The Proper Bot is for those who like Martingale style trading. Features: Stop Loss, Take Profit, Trailing Stop Loss functions. All are calculated in POINTS.

Precision trend (histo) - MetaTrader 4

Precision trend for MetaTrader 4.

Detrended Synthetic Price (oscillator).

Detrended Synthetic Price (bars form).

Detrended Synthetic Price (histogram form)

Experimental indicator I wrote for myself. It's made to show some reference (it's more like a rifle scope, than a rifle). Main components are pip scale, ATR/pivot, MA level, RSI, and spread alert. Can be used on any timeframe, but since it's made for scalping it is somewhat adjusted for M1-M15.

Various helper functions for sending messages of different types to different sources.

One of the best indicators about with a slight tweak to make it less noisy. Shows ZigZag lines to help spot cycles and draws Fibonacci lines to indicate support and resistance levels.

DSL - DMI oscillator

This indicator detects the currencies in the chart and compares the current close value in all the pairs of the currencies trying to understand if the currency is strong or weak.

This script scans for open orders and sets a fixed stop loss and take profit to all of the relevant.

1...131415161718192021222324252627...102