Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Access the CodeBase from your MetaTrader 5 terminal
Couldn't find the right code? Order it in the Freelance section
How to Write an Expert Advisor or an Indicator

Top MQL4 and MQL5 source codes based on user ratings - 63

Submit your code

See http://forum.mql4.com/54660 for getting a connection between highs and a connection between lows. I made a zigzag this way.

Specific support and resistance indicator is based on indicators MW_ZigZag.ex4 and High_Low v2.ex4.

The indicator shows trade signals using combined Stohastic with breaking of High/Low by Moving Average.

The Expert Advisor is based on the exponential moving averages of the same period.

This Expert Advisor trades on the principle of the Martingale: if the order is closed by Stop Loss, the next order will be the opposite type with a lot size increased by a certain rate.

The function closes all locked orders. This really saves money on the spread.

Example of creating info panels.

Buy and Sell Arrows based on Heiken Ashi candles.

The indicator displays the moving average for the selected timeframe.

"Ichimoku Rretracement" EA Trades when there is a retracement from "ICHIMOKU" levels has Trailing Stop Loss &Take Profit works on all time frames major forex pairs and stocks NASDAQ.

555 Scalper EA trades with two 5 period exponential moving averages has Trailing Stop Loss &Take Profit works on 5 minute time frame major forex pairs and stocks NASDAQ.

"Gann Grid" EA draws Gann Grid lines on chart and trades with price breakthrough,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ.

Independent Chart Indicator for MT4

This strategy is the well known set & forget accompanied by the anti-martingale system. It is very useful if you are very busy in which you don't have time, you want to trade the London session while you are sleeping in USA, etc.

When MaxBand > MA of MaxBnd => SMART-ZONE HIGH When MA of MinBnd > MinBand => SMART-ZONE LOW You can set the bandperiod of Max/MIN Band, and the period and the method of M Aof Max/Min Band With different parameters, the indicator gives us the pivotal areas or the trend areas

This indicator puts Prices at Fibo lines.

The Wss_trader EA. People recommend setting the trading hours to 7-17, trailing to 60, metrics to 36 and to look back to 2 months.

This Indicator Draws 7 Level Of weekly Fibo With Back Test.

I modified the original MACD. This resulted in such an interesting indicator.

MTF Macd X indicator.

An indicator that is to be placed on the Ichimoku allows to trade both in the trend and in the flat playing mode.

It shows the speed of the trend on the current, closest larger and the next TF.

Lot = 0.2, you can change into 0.1 or set whatever value you want

An expert advisor that makes a decision on the basis of the indistinc logic (so-called Fuzzy logic). The A. Nedosekin's (http://sedok.narod.ru/scoring_USA.html) materials were used during the development of the classificator and the resultant for ranks.

Indicator Elder Impulse System.

Indicator Ergodic Oscillator.

An EA that works on the M1 period and with the symbols that have the spread of 2 points.

Trade at levels МА.

IND Inverse Indicator.

Signal indicator based on MACD

This is an Expert Advisor (+ indicator) for downloading the quote history of the current symbol and TF

This indicator is EMAs drawn by Fibonacci numbers.

The Expert Adviser MARE5.1 is much simple and uses values of Simple Moving Average (SMA) on Close Price of 0, 2 and 5 bars.

This is the Doda-Donchian v2 created by Gopal Krishan Doda, but when I use this indicator, I found some error and I have to fix it. also adding features price and candle time. Doda-Donchian v2 mod fix-->Fix Stop Loss Color

Uses movements of the relative strenghts index to find long-opportunities. Profitable (and especially reliable) parameters for short-positions couldn't be found

Indicator that shows profits and losses (in pips and money).

A 15min intrday trading strategy

yesterday market close european market or NYSE close price

Opening trades directly from charts;

Detects fake, old, stale, or other erroneous ticks that come to the MT4 platform. These rogue ticks can sometimes cause a take profit, stop loss, trigger orders and/or any price-related action to occur when the price is actually no longer actionable.

1...565758596061626364656667686970...101