MQL5 Algo Trading
387K 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 Rainbow Multiple Moving Average (RMMA) indicator is a straightforward yet visually appealing tool that incorporates the standard moving average. It displays 66 rainbow-colored moving average lines directly on the chart's main window. This indicator is compatible with both MT4 and MT5 platforms, providing versatility for a wide range of traders.

Key input parameters include MA_Type, which defaults to MODE_EMA, determining the type of moving average used. MA_Price defaults to PRICE_CLOSE, specifying the price type for calculations. The MA_Period_NN varies, setting the periods for the 66 moving averages. This configuration allows traders to adjust their analysis based on preferred moving average types and price data, making it a flexible option for market analysis and strategy development.
#MQL5 #MT5 #Indicator #RMMA

Read more...
👍102👨‍💻1
Explore the creation of custom indicators in MQL5, enhancing your algorithmic trading toolkit. Learn the intricate process of designing indicators from scratch, like crafting a bespoke Moving Average without relying on built-in functions. Grasp the mechanics of displaying calculations in both line and candle formats using indicator buffers and SetIndexBuffer(). Understand essential elements such as the OnCalculate() function for processing price data and determining candle colors. This guide simplifies complex concepts for beginners, while offering depth for experienced developers, empowering traders to tailor tools for specific strategies and gain a profound understanding of price movements and market trends.
#MQL5 #MT5 #CustomIndicator #MQL5

Read more...
👍7👨‍💻31
Market Profile MetaTrader indicator is a tool designed for accurate analysis of price density over time, highlighting essential price levels and control values during trading sessions. Compatible with timeframes from M1 to D1, it delivers profiles for various durations, including intraday, daily, weekly, and monthly sessions. Precision increases with lower timeframes, while higher timeframes enhance visibility. Users can create custom profiles using a free-draw rectangle session on any timeframe.

Featuring six color schemes, the indicator can draw profiles as plain color histograms or in bullish/bearish bar styles, relying solely on price action rather than standard indicators. Available for MetaTrader 4 and 5, it includes input parameters like Main Session, StartFromDate, and others that allow extensive customization. Seamless scrolling mode enables u...
#MQL5 #MT5 #Indicator #Trading

Read more...
👍173👨‍💻31
The Range Expansion Index (REI) is a relative oscillator designed to measure the pace of price changes, identifying overbought or oversold conditions. Developed by Tom DeMark, the REI ranges from -100 to +100 and maintains stability during range trading, signaling only significant peaks or bottoms. The recommended period for REI is 8, as suggested by DeMark, offering either fewer precise or more frequent inaccurate signals depending on adjustments. It is not advised to alter this parameter significantly.

For enhanced functionality, REI supports MetaTrader's alert systems, including native pop-up alerts, email alerts, and push notifications, triggered when the indicator crosses specified threshold levels. Proper configuration of notification settings via MetaTrader is necessary to utilize these alert systems effectively. When surpassing level 60 dro...
#MQL5 #MT5 #Indicator #AlgoTrading

Read more...
👍115👨‍💻2
The Moving Average Candlesticks indicator offers a more nuanced view of market trends by visualizing standard moving averages through candlestick bars. Unlike traditional moving averages, this approach provides details on Open, Close, High, and Low values. Applicable across all currency pairs and timeframes, it supports both MT4 and MT5 platforms. Key parameters include MAPeriod set to 10 and MAType set to MODE_SMA by default.

Though not advisable for direct trading decisions, it aids in identifying market irregularities by analyzing candlestick body lengths and shadow lengths. Color changes in candlesticks can be misleading and are not always reliable entry signals, often resulting in false alerts. This tool should serve as a supplementary analysis method rather than a standalone trading strategy.
#MQL5 #MT5 #Indicator #Strategy

Read more...
👍157👨‍💻2
The Recent High/Low Alert indicator for MetaTrader enhances trading by displaying bands of recent maximum and minimum levels across a set number of candles, with customizable alerts. By default, the maximum is indicated with a blue line, and the minimum with a yellow line. Alerts can be configured as popup, email, or push notifications, facilitating timely responses to price movements. Compatibility is ensured for both MT4 and MT5 platforms.

Set the period parameter \(N\) to define the number of candles the levels consider, defaulting to 20. Adjust alert preferences via the platform's options, ensuring email and notification settings are configured correctly. Use this tool to identify potential exit or entry points based on the breach of recent highs or lows, supplementing your trading strategy with additional confirmation signals.
#MQL5 #MT5 #Indicator #Alerts

Read more...
👍65👨‍💻1
The Murrey Math Line X indicator is a pivotal tool for traders skilled in support, resistance, and pivot lines. It displays 8 main lines and 5 additional ones on MT4 and MT5 charts, aiding in identifying optimal points for transactions and exits. The indicator can alert users upon a candle closing past a pivot line, with customizable settings such as period, upper timeframe, and line display preferences.

Key settings include:
- Period (default = 64): Determines line calculation based on number of bars.
- UpperTimeframe (default = PERIOD_D1): Influences how lines are calculated across different timeframes.
- LabelSide dictates label positioning on the screen.

Mark and font settings are available for customization, including line color and width. Alerts can be configured for in-platform notifications, emails, and messages. Line descriptions, such as 0...
#MQL5 #MT5 #Indicator #Strategy

Read more...
👍135👨‍💻1
Discussion on implementing a trading Expert Advisor continues. Key changes required for achieving a comprehensive order control system were presented. A Close or Cancel button was added using the C_Object_BtnBitMap class to enhance order management, while the C_Object_Edit class was adjusted to display trade values effectively.

Further modifications involved the C_Object_Label class for additional text information. The C_ObjectsTrade class was updated to handle chart drawing and object creation consistently, avoiding hidden objects by ordering scenes accurately.

Improvements focused on event handling and system responsiveness in response to chart updates. Addressing selection errors and developing methods for updating object positions were emphasized. Enhancements ensured accurate position results display, order volume indication, and improved robustness ...
#MQL5 #MT5 #EA #Algorithm

Read more...
👍146👨‍💻1
Association rule mining algorithms under unsupervised learning are practical for identifying stable dependencies in datasets. To showcase their utility in trading, these algorithms can find consistent relationships among multiple indicators or instruments, treating each as independent. Applying these insights helps derive patterns that may predict target outcomes, enabling integration with supervised learning techniques.

Implementation of the FP Growth algorithm involves a tree-based structure, contrasting the Apriori algorithm's dependency on exhaustive database calls. FP Growth's efficiency lies in creating an FP tree that resides in RAM, enhancing problem-solving speed by minimizing database access.

For the FP Growth algorithm in MQL5, a custom tree node class allows multiple branches, beyond binary structures, to facilitate precise association...
#MQL5 #MT5 #Algorithm #AlgoTrading

Read more...
👍3312👨‍💻3
The Round Levels MetaTrader indicator for MT4 and MT5 is a tool designed to highlight significant psychological support and resistance zones on financial charts. It functions by displaying user-configurable round levels and zones around them, providing traders with valuable insights into potential market turning points. The indicator can also issue alerts when prices enter these defined zones, aiding in timely decision-making.

Key input parameters include 'Levels' to determine the number of round levels considered, 'Interval' for setting the points gap between levels, and 'ZoneWidth' to define zone thickness. Zone colors are customizable with 'ColorUp' for levels above the current price and 'ColorDn' for those below. Users can choose between inverted and non-inverted zone coloring with 'InvertZones'.

Additional customization options like drawing z...
#MQL4 #MT4 #Indicator #AlgoTrading

Read more...
12👍11👏4🏆1👨‍💻1
The RSIOMA MetaTrader indicator is designed for advanced trend analysis. It uses two moving averages to calculate the RSI and then applies a moving average on the RSI itself. Displayed in a separate window, these lines range from 0 to 100 offering precise trend change signals. A histogram accompanies the lines, providing a snapshot of the current trend. It's compatible with both MT4 and MT5 platforms.

Key input parameters include RSIOMA Period (default 14) for signal precision and MA of RSIOMA Period (default 21) for smoothing. Users can adjust RSIOMA Mode and Price settings for custom implementations. Alert options include MainAlerts and AuxiliaryAlerts, with native, email, and push alerts configurable via MetaTrader. Proper alert setup ensures timely notifications for trend reversals or when specific trigger levels, such as BuyTrigger (20) and SellTrigge...
#MQL4 #MT4 #Indicator #RSI

Read more...
👍19🏆43👨‍💻3🔥21
The Schaff Trend Cycle Indicator is a cyclical oscillator used in trading to identify trend direction changes. Developed by Doug Schaff in 2008, it applies a stochastic calculation over a MACD line, factoring in cycles for smoother performance and rapid response to market shifts. The indicator ranges from 0 to 100 and uses trigger levels at 25 and 75.

For configuration, MAShort (default 23) and MALong (default 50) set the MACD line moving averages, with MAShort needing to be less than MALong. Cycle length (default 10) doubles due to dual stochastic calculations. Alerts can be tailored with ShowArrows, ShowAlerts, SoundAlerts, EmailAlerts, and PushAlerts settings to provide visual, audible, email, or push notifications.

The basic trading strategy recommends selling when values fall below 75 and buying when they exceed 25. Further refinement by clo...
#MQL4 #MT4 #Indicator #AlgoTrading

Read more...
👍278👨‍💻3👾31🏆1
The Spread MetaTrader indicator is a tool for tracking the spread values in real-time directly on your trading chart. It dynamically updates with every tick, offering precise spread measurements, ideal for environments with variable spreads. Configurable features include font style, position, and spread normalization. Additionally, a spread label can be activated to show near the Bid line.

The indicator is compatible with MT4 and MT5 platforms. Key input parameters include UseCustomPipSize to define pip size, DecimalPlaces for rounding, and several alert configurations like AlertIfSpreadAbove for automatic notifications. Alerts can be set to trigger native popups, sound alerts, email, or push notifications. Users can tailor the indicator's appearance, choosing font size, color, and position on the chart. DrawTextAsBackground ensures the indicator does no...
#MQL4 #MT4 #Indicator #Forex

Read more...
👍219👨‍💻4
The Round Levels MetaTrader indicator for MT4/MT5 is designed for identifying and working with psychological support and resistance zones. It allows traders to adjust several parameters to suit their trading style. Key parameters include Levels, which define the number of round levels to calculate in each direction, and Interval, which sets the distance in points between these levels. ZoneWidth specifies the width of the zones near these levels.

The indicator provides customization for line and zone colors, allowing for clear visual representation above and below the current price. Inverted zones and background layering options offer further flexibility. The notification settings support various alert formats, like pop-up, push-notification, and email alerts, all customizable with alert frequency controls. This tool aids in identifying potential ma...
#MQL5 #MT5 #Indicator #AlgoTrading

Read more...
23👍13👨‍💻1👀1
The RSIOMA indicator for MetaTrader is an advanced tool that combines two moving averages, calculates their RSI (Relative Strength Index), and overlays a moving average of the RSI. This setup allows for accurate trend change signals shown in a specialized window, ranging from 0 to 100. It includes an auxiliary histogram for a quick view of current trends. Compatible with MT4 and MT5, it offers adjustable input parameters such as RSIOMA Period, Mode, and Price, impacting the smoothness or frequency of signals. Additional features include BuyTrigger and SellTrigger levels, color-coded trend indicators, and alert options. Alerts notify users of significant trend changes, available through popups, emails, and push notifications. Users must configure email and notification settings in MetaTrader accordingly.
#MQL5 #MT5 #Indicator #RSI

Read more...
👍257🤔2👨‍💻1👀1
Schaff Trend Cycle is a cyclical oscillator focused on currency trends, accelerating and decelerating in cycles. Developed by Doug Schaff, it combines the MACD line and smoothed stochastic oscillator, aiming to provide an enhanced view of trends without excessive noise. The indicator values range between 0 and 100, with triggers at levels 25 and 75 signaling potential buy or sell actions. It's a tool designed to make quick adjustments to changing trends.

Input parameters include the periods for fast and slow moving averages in MACD calculations, and chart period cycles. Alert options encompass visual arrows, sound, email, and push notifications, offering flexibility for user preferences. For trading strategies, consider buying when the indicator surpasses 25 or selling when it dips below 75. To enhance accuracy, confirm that subsequent bar closes ali...
#MQL5 #MT5 #Indicator #Algorithm

Read more...
20👍10🤡4🎉2👨‍💻2
The Spread MetaTrader indicator is designed to display the current spread directly in the chart's main window. This tool provides customizable features, including font settings, indicator positioning, and spread value normalization. Each tick redraws to present the most up-to-date spread, essential for brokers with variable or frequently widened spreads. Optional spread labeling near the Bid line enhances visibility.

Available for MT4 and MT5 platforms, it offers multiple input settings. If UseCustomPipSize is true, deformation relies on the DecimalPlaces parameter. Alerts notify when spreads exceed set values, through popups, sound, email, or push notifications. Configuring MetaTrader is necessary for email and notifications. Drawing options include customizable fonts, colors, sizes, and positioning on the chart. The indicator can serve as a background...
#MQL5 #MT5 #Spread #Indicator

Read more...
👍2112👨‍💻2
Explore the power of the Variable Index Dynamic Average (VIDYA) for algorithmic trading in MetaTrader 5. Developed by Tushar Chande, this trend-following indicator adapts based on volatility, offering dynamic insights for traders. The VIDYA uses the Chande Momentum Oscillator (CMO) to adjust like an exponential moving average, ideal for identifying trends and generating signals. Implement strategic approaches such as trend identification and crossover signals using MQL5 for precision trading. This approach allows traders to automate decision-making, enhancing efficiency and accuracy in volatile markets. Develop customizable trading systems to leverage VIDYA's capabilities, ensuring comprehensive market analyses and informed trading decisions.
#MQL5 #MT5 #Indicator #Strategy

Read more...
👍248🤯4👨‍💻2
The Support and Resistance MetaTrader indicator visualizes crucial trading levels directly on your chart, aiding in the strategic placement of stop-loss and take-profit points. This tool leverages the standard MetaTrader Fractals indicator based on Bill Williams' method and is available for both MetaTrader 4 and 5 platforms. It comes with no adjustable input parameters, ensuring straightforward usage.

Alerts can be customized via input parameters. EnableNativeAlerts triggers a popup when price levels are breached. Email notifications can be activated with EnableEmailAlerts, given email settings are configured under Tools->Options->Email. Push notifications are possible through EnablePushAlerts, contingent on proper setup in Tools->Options->Notifications. Alerts can be configured to issue based on either the Previous or Current candle, providing flexibi...
#MQL4 #MT4 #Indicator #Trading

Read more...
👍1388🎉1👨‍💻1
The TD Sequential Ultimate indicator provides a comprehensive representation of Tom DeMark's Sequential method. It highlights Buy and Sell Setups inclusive of Setup Perfection arrows and provides the Buy and Sell Countdowns along with failed count 13 attempts. It also displays TDST Support and Resistance levels. Notably, this version offers several enhancements over traditional implementations.

Key features include customizable input parameters such as MaxBars, which determines how many bars are calculated, and various color settings for Buy and Sell Setups. Users can adjust font properties, arrow width, and pixel distance for better visualization on charts.

Additionally, the indicator supports various alert options, such as notifications for completed Setups, Setup Perfections, and critical Countdown candles. Alerts can be configured to trigger...
#MQL4 #MT4 #Indicator #TDSequential

Read more...
👍198🔥4👨‍💻32👌2
The Total Power Indicator enhances traditional oscillators by integrating Bear and Bull Power indicators into a single tool. It provides a clearer long-term perspective by calculating the dominance of bullish and bearish bars over a set period. This results in continuous lines representing the relative average bear and bull power, helping traders to better understand market trends.

The initial MetaTrader 4 version was developed in 2011, and an MT5 version is now available. The indicator has configurable parameters: Lookback Period, Power Period, and several alert options. Alerts can trigger based on power level reaching 100 or crossover events and can be delivered via on-screen notifications, emails, or push alerts.

This indicator allows the observation of entry and exit points: a line reaching 100 indicates a potential reversal, while crossovers bet...
#MQL4 #MT4 #Indicator #Strategy

Read more...
👍1812👨‍💻32