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

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

This ADX version is used on many other popular trading platforms. It is different to the standard one included with Metatrader.

The indicator sends a signal at the moment the price crosses a given level, using alerts and push notifications

Simple stoploss script

cycle timeframes using hotkeys 'N','M' prev,next timeframe

Elegant oscillator - metatrader 4 version

Force index with Volume/Volatility bands

Quantile Price Analysis by Jas Wu, Calculations are below.

Slow Line of the original Didi Index

Dashboard - Power Meter_Multi_TF

it saves the current chart to default template , it just helps to do it faster than a manual save. you can assign a hotkey for it. it has no confirmation and immediately saves the template, if you want it to save to a template other than default just edit the code and replace "default.tpl" to any other name you want.

Larry Williams 'Greatest Swing Value' as an indicator

This code helps beginners in MQL4, specially those migrating from C++ to perform some basic fie operation.

This code base is a simple function to check if current time lies within two specified times.

This indicator draws coloured histograms to identify bullish and bearish bars.

This code can be used to find out whether the symbol is a binary option symbol or not.

This code base is a simple function to check if current time lies within two specified times. Many times it is required by the Ea to enter trades between two specific time of the day only. This code takes two inputs, one is the start time and second is the end time. The code will check if the current time is in between start time and end time and will return accordingly.

The code is used to demonstrate how one can create a button on the chart and assign a function to it. The code is used to delete all orders after clicking on the button. The deletion takes care of various scenarios and shows error messages.

This code will give custom sound on alert on new bar.

This code places only one order every second ( not every tick )

This code help you get the time of an object created on a chart.

This EA will tell you the Depth Per Inch of your screen.

This code is used to create static object on MT4 charts which will not move along with the chart when you scroll the chart.

it gives you the name of the indicator which is attached to a chart.

This code simply prints the account details for a MT4 account.

hotkeys 1-9 numbers on keyboard but not on number-pad to change timeframes 1=m1 2=m5 3=m15 4=m30 5=h1 6=h4 7=d1 8=w1 9=mn

This indicator shows a standard parabolic SAR another way. Also it send alert when SAR dot changes side.

Momentum deviation bands - MT4 version

Momentum deviation

cycles though market watch symbols, using hotkeys Comma and Period for prev/next symbol in market watch list

This is a simple script to chart the intermarket spread between 2 different futures or CFD contracts. The spread trading is a popular futures trading strategy and can be done using CFDs more easily as there is no formal expiry date.

The indicator highlights the value in "over Sold" and "over Bought" zones.

Moving Average Cloud draws 4 MAs on chart simultaneously in histogram style.

Displays the current timeframe and symbol name in large font on the chart background. Useful when hopping between several charts with different symbols at the same time.

The script is best use to clean up all drawings ( Delete All Object, Comment, horizontal line, vertical line, arrows etc) on current chart. Please feel free to modify based on your needs.

Dynamic pivots - any time frame

It's an expert to open and close orders on specific day and time. Expert open and close orders only with the same symbol it attached.

Limit channels - with states - metatrader 4 version

Show Orders History On Chart

ATR based limit channels - metatrader 4 version

DMH

Directional Movement using Hann windowing - metatrader 4 version

12345678910111213...102