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

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

Previous day&week High/Low

RSI with Bollinger Bands calculated on it

Dynamic Pivot Indicator, provide all timeframes and extra timeframes

These codes give you a list of currency pairs that have a positive and negative swap. This is useful when you do a Carry Trade strategy.

Let's say we have 20 open orders on one symbol and want to set takeprofit or stoploss for all of them at the same level(price) .The script selects all open orders of the symbol and can modify stoploss or takeprofit or both at the desired level (price). If the input parameters are left to zero , the stop or the takeprofit are left unchanged .

Dynamic Stop-Loss is a tool for traders who trade without a stop-loss. It gives the traders a trick to trade as if there is no stop-loss but actually using one.

Candle Cross above or below Conditions

Safe Trend Scalp is an automatic robot that trades with automatic Trend lines that ea crated with market history.

volatility, flat

this is RSI indicator that has two moving average inside the window

Simple pivot indicator

It's an expert to open and close orders on a specific day and time. Expert open and close orders only with the same symbol attached. For more information, please visit product's page: https://www.mql5.com/en/market/product/44939

"X Man" EA uses Equity Stop from total Equity, you can use it as hedging grid EA or a single trade EA.

Ichimoku Kinko Hyo is an indicator that tracks the equilibrium of momentum and identify likely areas of support and resistance. The Ichimoku chart is composed of five (5) separate indicator lines. These lines work together to form the complete "Ichimoku picture".

The indicator shows BID-ASK-SPREAD information on chart

iWPR+ is an iWPR %Range function with a positive value.

Classic "MACD Sample " EA with a little twist

The EA uses large volume orders to partially close other orders, with this approach, the breakeven and profit price is much closer to the current price than if you use all orders in the terminal or their full volumes.

This indicator places a mark (a semaphore) at the zig zag for each of 4 zig zag evaluation lengths.

Guide 'how to' make different expert adviser license protections

FIFO strategy When all the market movement makes you have lost, This ea makes a good profit with a little profit with many orders in a short time Just on a Candle.

This scalping EA demonstrates the use of a Virtual Pending order class library to simulate pending orders.

It's a two (2) pairs correlation system to use 3 currencies for make 2 pairs to open hedge orders on those. Expert starts opening four orders for each couple (2 plus and 2 minus) and wait to move prices in one direction to make a grid of orders Please visit the product's page for more information: https://www.mql5.com/en/market/product/34112

Breve descrição.

It's an expert to use price action and trade level to open each order. The expert can trade up 12 pairs, uses the corresponding default setting for each pair. Default settings are good for EURUSD pair and IC Markets broker. For more information, please visit product's page: https://www.mql5.com/en/market/product/43249

An old forum indicator that's been updated

The "Gonna Scalp" EA is a scalper , works with all time frames major forex pairs and stocks NASDAQ.

Will scale up after N consec losses and will reset after same amount of consec wins

The "Smart AC Trader" EA trades with 2 moving averages , If we lose a trade then the EA will take a new trade with the opposite conditions

The "Martingale Smart" EA trades with 2 strategies , If we lose a trade then the EA will change strategy and take a new trade with a multiplied/increased lot size,

ROC

"ROC" EA Trades with "ROC" indicator, has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.

Indicator calculate the average price

A basic ea template with trailing stop for further development

A ready made expert adviser template to use for further development or use 'as is'

The code is based on indicator ZigZag which is in-built in MT4. I have changed it so that it isn't calculated on highest Highs and lowest Lows, but instead uses highest Close and lowest Close of chart price history. See attached chart for differences: ZigZag (red) versus ZigZagClose (yellow).

Grid Template EA - A ready made expert adviser template to use for further development or use 'as is'

This expert is a tool to test any of my histo indicator (8) for testing and find better settings to trade. You can use separately one by one indicator or more of one or all together as a system. Expert need all indicators for working and generate signals.

The expert uses iFollowLine and iCompass indicators to generate signals. It's an easy and quick way to test both indicators. 27/09/2019 updated expert and indicators.

The indicator is shown in a histogram the ADX uptrend and downtrend uses a different way. You can set period of indicator and bars count averages levels.

The indicator is shown in a histogram the Bands uptrend and downtrend uses a different way. You can set period of indicator and levels for trend.

1...5678910111213141516171819...102