Watch how to download trading robots for free
Find us on Twitter!
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 - 142

Submit your code

Fractals are generated using 3 previous bars (without redrawing because the current bar is not included in the calculation).

The FATL-SATL_Balance indicator with the timeframe selection option available in the input parameters.

The Ozymandias_Signal indicator displays information on the current trend and on signals based on the Ozymandias indicator.

The ATR_Trailing indicator with the timeframe selection option available in the input parameters.

The ColorX2MA_Osc indicator with the timeframe selection option available in the input parameters.

The KGHP indicator with the timeframe selection option available in the input parameters.

The Exp_LinearRegSlope_V1 Expert Advisor enters the market when the LinearRegSlope_V1 indicator cloud changes its color.

The EMA indicator with the timeframe selection option available in the input parameters.

The indicator displays the price gaps of the candlestick chart of the ColorBearsCandle.

The AtrRange with the timeframe selection option available in the input parameters.

The Exp_Loco Expert Advisor based on signals of the Loco indicator.

The Adaptive Moving Average indicator with the timeframe selection option available in input parameters.

Three Bollinger Bands channels based on one moving average, with the display of the last values as price labels.

A trading system based on the signals of the MFI_Histogram indicator.

A trading system based on the signals of the ColorXMACDCandle indicator.

The XMA_KLx7_Cloud indicator with the timeframe selection option available in the input parameters.

The RSI_Chart indicator with the timeframe selection option available in input parameters.

Semaphore signal indicator based on the trend_arrows indicator algorithm.

The Expert Advisor uses signals from the indicators: ATR, MACD.

The creation of the Expert Advisor stems from the topic "Neural networks - where to start studying them".

The script removes old objects of the selected type from all charts, if the time coordinates of these objects are outside of the trigger level.

Signals are generated by the iBands, Bollinger Bands indicator. When a signal is received, opposite positions are closed.

The Expert Advisor uses the following indicators: Moving Average Convergence/Divergence, MACD; Moving Average, MA; Average Directional Movement Index, ADX. It closes half of the profitable position.

T3 is very similar to EMA in calculating way and it makes it suitable for this way of calculation. As an extension of EMA levels it might prove to be useful but by all means do some experimenting in order to get the best results for specific symbol/timeframe combination.

The Expert Advisor opens positions inside two time intervals. Trades are closed at the specified time. Trailing Stop.

SZO

SZO (Sentiment Zone Oscillator) is an indicator of market sentiment, which has overbought and oversold zones.

The Dynamic Momentum Index (DMI) is a variable term RSI. When default values are used, the RSI term varies from 3 to 30. The variable time period makes the RSI more responsive to short-term moves. The more volatile the price is, the shorter the time period is. It is interpreted in the same way as the RSI, but provides signals earlier.

Step Chart indicator monitors the price change (in pips) and according to that, determines if a new "step" has been made or not.

ADXVMA indicator made as "binary" having only two values (+1 for "trend" up and -1 for "trend" down).

RSI_Histogram_Vol indicator in the candlestick form

The Expert Advisor based on ZigZag.

Working with Buy stop and Sell stop pending orders.

MACD of RSI adaptive EMA

An Expert Advisor based on iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD). Averaging positions, in case of a loss.

An indicator of support and resistance channels.

The XFisher_org_v1_Vol_Supr indicator with additional signals displayed as round dots, which indicate zero line breakout by the indicator line

Keltner channel with standard averaging and averaged over the ATR indicator.

This is a very easy-to-use indicator that displays the changes in Equity and balance of the trading account as it dynamically moves. Particularly useful on the back tester and good for beginners to read this very easy MQL5 code.

The "Dynamic Support and Resistance" Indicator is a versatile tool that combines support and resistance levels with real-time market dynamics. By incorporating previous daily highs and lows, it provides valuable insights into market psychology and identifies potential areas of price reversals or breakouts. With its ability to adapt to changing market conditions and customizable options, traders can stay ahead of trends and make informed decisions. This indicator is suitable for various trading styles and timeframes, empowering both experienced and novice traders with a competitive edge. ## Check out new Liquidity Hunter EA that uses SMC : https://www.mql5.com/en/market/product/121106

Current Candle To Close in x Time

1...135136137138139140141142143144145146147148149...185