MQL5 Algo Trading
388K subscribers
2.56K photos
2.56K links
The best publications of the largest community of algotraders.

Subscribe to stay up-to-date with modern technologies and trading programs development.
Download Telegram
The Basing Candlesticks MetaTrader indicator identifies and highlights basing candles, characterized by a body length less than 50% of the high-low range. It marks these candles with histogram lines in MT4 or custom candles in MT5 directly on the chart. Users can adjust the percentage criterion via input parameters. Alerts can be enabled for new basing candle detection, with options for pop-up, sound, email, and push alerts. The TriggerCandle parameter determines which candlestick is checked for alerts. Adjustments to alert messages and sound files can be configured, with notification settings available through MetaTrader's Tools->Options menu for proper alert setup.
#MQL5 #MT5 #Indicator #Strategy

Read more...
13👍13👨‍💻2
Donchian Ultimate is a robust MetaTrader indicator, enhancing the traditional Donchian channel with advanced features. It allows for variable periods and shifts, and offers a middle line functionality that can be toggled. Users benefit from its support for multi-timeframe operation, making it adaptable to different trading strategies. The indicator provides five distinct calculation methods for channel borders, offering flexibility in analysis. It also includes optional support and resistance zones adjacent to the main channel's borders, which can provide strategic insights into market movements.

Donchian Ultimate comes equipped with a comprehensive alert system, which includes alerts for bullish and bearish crossings of the middle line, as well as notifications for candle closures within resistance or support zones. It supports MetaTrader's pop-up...
#MQL4 #MT4 #Indicator #AlgoTrading

Read more...
👍1252👨‍💻2
The BB MACD MetaTrader indicator enhances standard MACD applications by marking trend change points and evaluating trend strength. Plotted in a separate chart window, it features blue and red lines, alongside green or magenta dots. Dot color changes serve as a signal indicator, and line gap width signifies trend strength. This tool supports both MT4 and MT5 platforms.

Key input parameters include FastLen (12) for the fast moving average, SlowLen (26) for the slow moving average, and Length (10) for calculating moving average and standard deviations. Additionally, barsCount (400) limits the applicable chart bars, and StDv (2.5) fixes the standard deviation's weight. Alerts can be enabled for color changes, including pop-up, sound, email, and push notifications, provided configurations are correctly set. Green dots turning magenta suggest selling; the r...
#MQL5 #MT5 #Indicator #Strategy

Read more...
👍228👨‍💻2
The Dots indicator, originally developed by TrendLaboratory in 2006, serves as a trend direction tool for MetaTrader. It places colored dots on the main chart; blue indicates a bullish trend, while red signals a bearish trend. Unlike standard indicators, it calls the iMA() function to retrieve price values based on the selected price type, such as Close, Open, or High. The methodology incorporates the cosine of price change angles. Users have access to several modifiable parameters.

Available for both MT4 and MT5, key input parameters include Length (defaulted to 10), influencing signal lag and accuracy; AppliedPrice, for determining the price type in calculations; Filter, useful for ignoring spikes without added lag; Deviation, and Shift, which adjust the vertical and horizontal display of the indicator. A typical strategy involves waiting for two c...
#MQL4 #MT4 #Indicator #Strategy

Read more...
👍156👨‍💻2
The beginner MetaTrader indicators for MT4 and MT5 provide a straightforward method to identify local tops and bottoms with red and blue dots on charts. This custom indicator examines maximum and minimum points over a specified period and assesses their significance relative to the trading range of the currency pair. If a top or bottom is notably significant, it is marked with a dot.

It is crucial to note that this indicator is not suited for generating trading signals, as it can redraw itself. Dots may shift, so using them to make buy or sell decisions is ill-advised. The indicator is more useful as a tool for identifying potential support and resistance levels, particularly if implementing a breakout trading system or for developing custom indicators.

Key input parameters include AllBars, Otstup, and Per. AllBars, set by default to 0, represents t...
#MQL5 #MT5 #Indicator #Algorithm

Read more...
22👍20👨‍💻1
Easy Trend Visualizer is an MT4 and MT5 indicator providing key insights into trend dynamics. It clearly marks the start and end of trends, as well as periods of trend absence, leveraging the Average Directional Movement Index (ADX) for rapid performance. The indicator operates within the main chart window, offering varied alerts such as horizontal line appearances, crosses, and directional arrows.

Configurable input parameters include multiple ADX periods (10, 14, 20 by default) for tailored trend analysis. Users can choose to activate alerts for line appearances, arrow signals, and line crosses. The settings allow specification of the number of previous lines to track for alert accuracy and the minimum line length to avoid false alerts.

Customization options cater to different alert preferences with color settings for arrows and native alerts for in-p...
#MQL4 #MT4 #Indicator #Trend

Read more...
👍186👨‍💻311👀1
The BMA (Band Moving Average) indicator for MetaTrader platforms leverages the original moving average concept with enhancements for trading analysis. This technical tool is visualized through three lines: the central line represents the standard moving average, which can be configured as simple, exponential, or weighted. The upper and lower lines are derived by offsetting the central moving average by a default of 2%, providing potential support and resistance levels.

Compatible with both MT4 and MT5, BMA's key input parameters include MA_Period (default 49), MA_Shift (default 0), MA_Method (default Simple), and Percentage (default 2). The indicator is particularly applicable for the EUR/USD H4 chart. It suggests tactical moves: consider selling at the upper band and buying at the lower band. Implementing a moderate stop-loss is prudent, as price move...
#MQL5 #MT5 #Indicator #Trading

Read more...
👍1883👨‍💻32
The Fisher MetaTrader indicator is a user-friendly histogram tool designed to identify trend direction and strength while signaling potential trend changes. Unlike conventional MT4/MT5 indicators, it operates independently, leveraging maximum and minimum price levels from previous periods. This is achieved through advanced mathematical calculations that correlate current prices with historical max/min values. Available for MT4 and MT5, this is a "repainting" indicator, meaning it recalculates past bars when a new bar appears.

The input parameter, Period (default = 10), determines bars to compute max/min values. A higher period reduces false signals but increases lag. On charts, green histograms indicate upward trends; red denotes downward trends. Traders often close short positions and go long when red turns green, and vice versa. During tests, it de...
#MQL4 #MT4 #Indicator #Strategy

Read more...
12👍6👨‍💻4😈1👀1
The Bollinger Squeeze Advanced MetaTrader indicator is designed for technical analysis. It integrates Bollinger bands and Keltner channel to assess market trendedness and utilizes a histogram to indicate trend direction and strength. This histogram leverages one of eight oscillators: Stochastic, CCI, RSI, MACD, Momentum, Williams % Range, ADX, and DeMarker. Displayed in a separate chart window, the indicator employs bar color and width to communicate data effectively.

Multi-timeframe operation and comprehensive alert functionalities are included, compatible with MT4 and MT5 trading platforms. Input parameters allow customization for timeframe, oscillator type, and various alert settings. Trend strength and direction are visualized using green bars for uptrends and red bars for downtrends. Thick blue bars denote a sideways market condition when Boll...
#MQL5 #MT5 #Indicator #AlgoTrading

Read more...
15👨‍💻7👍61
The Float MetaTrader indicator is a complex tool for analyzing historical and current trends of a currency pair. It illustrates trend initiation and termination points in a separate chart window, integrating Fibonacci and DiNapoli levels on the main chart. Additionally, it indicates the timing of local high and low detections. Both MT4 and MT5 platforms support this indicator. Keep in mind, the indicator repaints its levels by analyzing approximately 200 bars by default. Therefore, it is inadvisable to use it for trading signals, as the levels may adjust as market conditions evolve. Utilize this tool primarily for scrutinizing trend swing durations and key chart levels. Users can adjust many settings, including element colors, widths, and styles, to suit their preferences. Settings like 'Float' determine the number of bars analyzed. Options to disable...
#MQL4 #MT4 #Indicator #Algorithm

Read more...
👍652👨‍💻2
The Bollinger Squeeze Basic MetaTrader indicator combines Momentum, Bollinger Bands, and the Keltner Channel, displayed as a Momentum histogram and a series of dots. Available for MT4 and MT5, it forms part of the Not So Squeezy indicator system. Key parameters include MaxBars, BB_Period, BB_Deviation, Keltner_Period, Keltner_Factor, and Momentum_Period. Alert settings like EnableNativeAlerts, EnableEmailAlerts, and EnablePushAlerts can notify users of changes in arrow colors.

Momentum is visualized through color-coded bars, signaling trend strength and direction. The indicator's volatility measurement, shown by blue and red squares, indicates market phases. Red squares suggest a strong trend with Bollinger Bands outside the Keltner Channel, while blue squares suggest a flat market with Bands inside. This setup aids in timing trades during breakou...
#MQL5 #MT5 #Indicator #AlgoTrading

Read more...
👍1613👨‍💻43
The Gain/Loss Info MetaTrader indicator quantifies gains and losses when a specified threshold is exceeded. Calculations are expressed in points and percentages. This tool operates in two modes: the difference between candlestick Close and Open, or the difference between the current Close and previous Close. Customizable input parameters include PercentageLimit (default 1.0) which sets the minimum change for display in percentage points, and PointsLimit (default 1000), setting the minimum change in points. Users can modify the font color for positive and negative changes with DisplayGainColor and DisplayLossColor, set to green and red by default, respectively. The indicator is compatible with MT4 and MT5 platforms. Users can define the font face, size, and the maximum number of bars for calculation. An increased MaxBars value increases lag. The ObjectPref...
#MQL4 #MT4 #Indicator #Forex

Read more...
👍155👨‍💻1
The Candle Wicks Length Display indicator enhances trading strategies by measuring the length of candle wicks directly on the chart. Compatible with MT4 and MT5, it allows traders to adjust the minimum wick length for display, or highlight wicks shorter than the specified limit. Alerts can be established when certain thresholds are met, utilizing sound, visual, email, or push notifications. The tool is particularly useful for strategies dependent on long wicks for trade signals.

Key parameters include options for displaying wick measurements in pips or percentage points, customizing colors for bullish or bearish wicks, and setting specific limits for triggering alerts. Additional features include the option to analyze the average wick size over a specified number of candles, with customizable display settings. The indicator provides flexibility in ad...
#MQL5 #MT5 #Indicator #Algorithm

Read more...
👍157🔥3👨‍💻1
Keltner Channel, developed by Chester W. Keltner in 1960, is a technical analysis tool similar to Bollinger Bands and Envelopes. It employs three lines: a 10-day simple moving average as the middle line, calculated using the typical price ((high + low + close)/3). Upper and lower bands are determined by adding and subtracting the moving average of daily price range deviations from the middle line. This creates a volatility-based channel. The indicator is customizable and available for MT4 and MT5 platforms.

Default parameters include MA_Period (10), Mode_MA (MODE_SMA), and Price_Type (PRICE_TYPICAL). The classic strategy involves going long when the price closes above the upper band and short when it closes below the lower band. Exits can be managed using a stop-loss, take-profit, or a cross with the middle line. Combining with other indicators may en...
#MQL4 #MT4 #Indicator #Strategy

Read more...
👍123🏆1👨‍💻1
Neural network training often involves optimizing model parameters. The Adam optimizer is popular for its adaptive learning rates for each parameter, but it demands high memory. This poses challenges with large-scale models, often leading to increased training time due to CPU offloading. The recent Adam-mini optimizer offers a solution by reducing memory usage while maintaining performance. It simplifies learning rate assignments by grouping parameters and using a single rate per block. This change cuts memory consumption significantly and boosts efficiency, enabling larger batch sizes on GPUs. For MQL5 implementation, modifications across classes are necessary to integrate Adam-mini, ensuring memory optimization and efficient computation.
#MQL5 #MT5 #NeuralNets #Optimizer

Read more...
👍13🎉32👨‍💻1👀1
Laguerre is a custom indicator available for both MT4 and MT5 platforms. It operates independently of standard indicators, providing a weighted trendline in a separate chart window. This tool aids in determining entry and exit points in trading strategies. Users can adjust input parameters such as Gamma, which defaults to 0.7 and influences the smoothness of the trendline. A higher Gamma results in a smoother line. The CountBars parameter, set at a default of 950, defines the maximum bars used in calculation, which can be increased based on performance capacity. This functionality supports enhanced trading analysis without relying on built-in indicators.
#MQL4 #MT4 #Indicator #Trading

Read more...
👍102👨‍💻1
Long Short-Term Memory (LSTM) is a recurrent neural network (RNN) designed for sequential data, effectively capturing long-term dependencies and addressing the vanishing gradient problem. This method enhances the performance of trend-following strategies in market analysis by predicting future trends. The approach involves acquiring data from MetaTrader 5, training the LSTM model in Python, and then integrating the model into MQL5 for backtesting.

LSTM's ability to model temporal relationships makes it ideal for forecasting applications. The article illustrates using regression techniques to predict future ADX values based on selected features. It details data preparation, model training, and the seamless integration of Python with MQL5.

Implementing LSTM in trading strategies filters out non-profitable trades by predicting market trendiness and thus improves t...
#MQL5 #MT5 #LSTM #ML

Read more...
13👍61👨‍💻1
The Gain/Loss Info indicator for MetaTrader facilitates the visualization of market dynamics by displaying gains and losses for candlesticks exceeding a specified threshold. Calculated in both points and percentage, it operates in two modes: the difference between Close and Open, and the difference between the current and previous Close. Users can define minimum change limits, choose calculation modes, and customize the font color of the output. Suitable for MT4 and MT5, this tool serves analytical rather than signal generation purposes, aiding the identification of notable market patterns. Key parameters include a percentage threshold set at 1.0%, and a points threshold at 1000 points, with adjustable visual settings for optimized readability.
#MQL4 #MT4 #Indicator #AlgoTrading

Read more...
👍103👨‍💻1
The Market Profile MetaTrader indicator provides a detailed view of price density over time, highlighting significant price levels, value areas, and control values within trading sessions. It is configurable across timeframes from M1 to D1, accommodating daily to intraday analyses. Lower timeframes afford greater precision, while higher timeframes offer broader visibility. Users can create custom profiles via a free-draw rectangle session on any timeframe. The indicator supports six color schemes, with options to display profiles as plain color histograms or based on bar movement.

Key input parameters include session type (Daily, Weekly, Monthly, etc.), session start dates, and the number of sessions to analyze. Options exist for developing point of control and value area highs/lows. The Value Area is defined as a percentage (default 70%) of the ...
#MQL4 #MT4 #MarketProfile #Indicator

Read more...
👍165🔥1👨‍💻1
The Artificial Beehive Algorithm (ABHA) leverages the behavioral dynamics of bees to address optimization in high-dimensional spaces. It draws inspiration from natural foraging strategies, focusing on role-based interactions within a colony. The algorithm classifies bees into roles such as novice, experienced, search, and food source, each with specific behaviors and state-transition rules.

Implementation involves modeling agents (bees) to simulate these roles, using structures and classes to manage positions, directions, and costs. The ABHA structure defines agent states and associated probabilities like search and dance-following, allowing dynamic decision-making based on environmental status.

The C_AO_ABHA class extends baseline functionality, managing agent movement, revision processes, and parameter initialization. Through ABHA, optimization progresse...
#MQL5 #MT5 #Algorithm #AI

Read more...
👍236👌1👨‍💻1