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

Submit your code

This EA will scan all the open trades and then print the nth trade from the end

This is a tutorial on price action trading combined with a moving average filter

Linear Regression Value indicator

3 Ema moving averages identify trend change with rsi confirm

is a text for the neutral network would like to know your opinion.

A real-time monitoring tool for MetaTrader 5 that displays key financial data, allows quick symbol switching, and customizable symbol lists. Save and reload symbols, reset lists, and customize text and panel colors for a personalized trading experience.

Alerts on trendline break

The VR Alert NT5 indicator warns the trader about the price reaching a specified level.

The Slope Direction Line indicator is displayed as a colored moving average line indicating the average market movement direction.

Holt's double exponential smoothing with linear forecasting

Parallel use of the MetaTrader 4 and MetaTrader 5 order systems.

Highest high & lowest low support resistance

To use martingale money management when a position is in loss and price hits any of specific distances.

This function performs the main logic of opening a trade. Calculates the opening price, take profit levels and stop loss based on symbol information and parameters provided by the user. Prepare a trade request (MqlTradeRequest) with the necessary information, such as symbol, volume, order type, deviation, comment, magic number, etc. Call the OrderSend function to send the operation request and get the result. SetTypeFillingBySymbol function: Determines the order fill type (Fill or Kill, Immediate or Cancel, or Return) based on the symbol's filling policy. GetMinTradeLevel function: Calculates the minimum operating level based on the freeze level and the symbol stops level. Adjusts the minimum level to make sure it is within certain limits and returns the result.

When applied to financial markets this method is usually used to determine the moments of prices extreme deviation from a "standard" level.

ALGLIB math function library (v. 3.19) ported to MQL5.

YMA

Moving average for prices (O+C+H+L)/4.

A variation on the T3 theme that was made as a sort of envelopes using T3 for basic value.

The Aroon indicator in the new visualization.

The library and iCanvas class simplify writing programs using Canvas.

This is an indicator for showing volume profile on the chart, using simple calculations and very fast execution.

Raymond Cloudy Day For EA, a revolutionary trading tool created by Raymond and expertly developed for the MT5 platform. This innovative indicator integrates a cutting-edge calculation method with advanced algorithms, surpassing traditional Pivot Points to enhance trading strategies with unparalleled precision.

The Volume Rate of Change (VROC) is an indicator of the direction where the volume trend moves.

SuperTrend indicator.

This script finds DeMark pivot points, displays them on the chart and indicates their dimensions.

The indicator colors the candlesticks according to B. Williams.

MACD with possibility to choose between tick volume and real volume.

The MetaTrader 5 version of RSI of MACD double

Double stochastic of RSI.

Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values ​​of two channels on one bar of any timeframe of the GRFLeadingEdge indicator.

Slow Stochastic.

Recursive Median Oscillator - with floating levels

This is MQL5 version of Shved Supply and Demand written by Shved and upgraded by eevviill7 with history mode.

"This advisor uses the RSI indicator to determine optimal entry and exit points in the market. A unique feature of the advisor is its martingale strategy, which allows for position reversal with an increased lot size during market reversals. The advisor offers flexible trading time settings: you can set a working time range and disable trading during specific hours to filter out news events."

This is the exact conversion of linreg function from pine script v4 as an mql5 indicator.

Fisher RVI is an oscillator that modifies RVI (Relative Vigor Index) custom indicator values using Inverse Fisher Transform.

Serialization and deserialization of JSON protocol. The code is ported from a high-speed С++ library.

Super trend indicator that uses hull average for calculation.

Laguerre RSI with Laguerre filter

The EasyAndFastGUI library allows creating graphical interfaces for custom MQL programs.

1234567891011...184