MA Cross Alert is a custom indicator for MT4 platforms that addresses a specific issue with the built-in Moving Average function. Traditional Moving Averages in MT4 lack alert systems to notify users when prices cross these averages. MA Cross Alert fills this gap by providing immediate notifications whenever such a crossover occurs. This makes it effective for both trend-following and reversal strategies.
The indicator supports various types of Moving Averages, such as SMA, EMA, SMMA, and LWMA, making it versatile for different trading needs. Users can receive alerts via on-screen notifications, push notifications to the MT4 mobile app, or emails. To use mobile and email notifications, ensure settings are configured in the MT4 platform.
Visual signals such as arrows and labels can be displayed on the chart, assisting in the analysis of buy/sell oppo...
π Read | Signals | @mql5dev
#MQL4 #MT4 #Indicator
The indicator supports various types of Moving Averages, such as SMA, EMA, SMMA, and LWMA, making it versatile for different trading needs. Users can receive alerts via on-screen notifications, push notifications to the MT4 mobile app, or emails. To use mobile and email notifications, ensure settings are configured in the MT4 platform.
Visual signals such as arrows and labels can be displayed on the chart, assisting in the analysis of buy/sell oppo...
π Read | Signals | @mql5dev
#MQL4 #MT4 #Indicator
β€42π₯6π¨βπ»1
Explore an innovative approach to MetaTrader 5 algorithmic trading with the Statistical Dashboard for automated price-action analysis. This feature-rich tool revolutionizes the way traders interact with statistical metrics like mean, standard deviation, and median by integrating them directly onto charts. Users can now set date ranges, compute distributional statistics, and visualize market reference levels such as support and resistance on-demand. The toolβs modular design supports robust market analysis, adapts to individual trading styles, and simplifies workflows by eliminating the need for code edits. Practical applications include enhanced signal detection, snapshot functionalities for live monitoring, and CSV data exportβall enhancing decision-making efficiency.
π Read | AlgoBook | @mql5dev
#MQL5 #MT5 #EA
π Read | AlgoBook | @mql5dev
#MQL5 #MT5 #EA
β€35π5π1π1π¨βπ»1
Explore an innovative approach to enhance debugging in MetaTrader 5 with a dedicated Backend Operations (BEO) class. By bypassing the clutter of shared log tabs, this system offers tailored, real-time monitoring directly on your trading charts. Harness MQL5's capabilities to capture and display critical performance metrics, error logs, and trade outcomes in a structured format. The modular CBEOMonitor class introduces clarity and consistency, simplifying diagnostics across all trading activities. Designed for seamless integration, it offers both on-chart and terminal log outputs, aiding in precise issue identification and system optimization. Enhance your Expert Advisor debugging workflow and gain deeper insights into trading operations with this robust tool.
π Read | Calendar | @mql5dev
#MQL5 #MT5 #EA
π Read | Calendar | @mql5dev
#MQL5 #MT5 #EA
β€19π12π¨βπ»2
Discover a sophisticated Breaker Block Trading System in MetaTrader 5 (MQL5) designed for expert and aspiring algorithmic traders. This system identifies consolidation ranges, validates breaker blocks with swing points, and executes retest trades with customizable risk settings. The framework identifies tightly ranged price movements, followed by breakouts and impulsive moves, transforming order blocks into breaker blocks upon invalidation. Implemented in MQL5, this strategy includes dynamic chart visualizations and precise trade execution without manual intervention. Developers benefit from structured code, adaptable logic, and comprehensive management of trade execution, ensuring efficient and effective trading operations.
π Read | Calendar | @mql5dev
#MQL5 #MT5 #EA
π Read | Calendar | @mql5dev
#MQL5 #MT5 #EA
β€92β‘11π7π―5π5π¨βπ»3
Trend Vision, a custom MT4 indicator, merges MACD momentum with Bollinger Bands volatility to deliver precise trading signals. MACD captures momentum shifts, divergence, and trend strength, while Bollinger Bands assess volatility patterns. This integration filters out false signals, highlighting moments with aligned momentum and volatility.
Key features include double confirmation using MACD and Bollinger Bands alongside visual signals like color changes and arrows/dots on charts. It supports multi-timeframe use, from 1M scalping to weekly swings, and offers diverse alert systems: on-screen, push, email, and sound alerts.
The input parameters are customizable. Fast MA period for MACD is set at a default of 12, and the slow MA period defaults at 26. Bollinger Bands use a standard deviation multiplier of 2.5. Alert preferences allow for native alert...
π Read | Quotes | @mql5dev
#MQL4 #MT4 #Indicator
Key features include double confirmation using MACD and Bollinger Bands alongside visual signals like color changes and arrows/dots on charts. It supports multi-timeframe use, from 1M scalping to weekly swings, and offers diverse alert systems: on-screen, push, email, and sound alerts.
The input parameters are customizable. Fast MA period for MACD is set at a default of 12, and the slow MA period defaults at 26. Bollinger Bands use a standard deviation multiplier of 2.5. Alert preferences allow for native alert...
π Read | Quotes | @mql5dev
#MQL4 #MT4 #Indicator
β€29π6π¨βπ»2π₯1
MetaTrader 5's Expert Advisor (EA) promises enhanced control over trading, especially for futures contracts. By enabling users to specify trade details like leverage and risk limits, the EA simplifies complex order placements, which can often be error-prone and time-sensitive. Utilizing object-oriented programming, the EA ensures easy maintenance and future scalability. Key features include an AdjustPrice function to handle varying price steps across assets and an OCO order system for secure trade execution, even in volatile markets. While suitable for partial orders, caution is advised due to potential volatility issues, positioning this EA as an essential tool for both new and seasoned algorithmic traders.
π Read | Freelance | @mql5dev
#MQL5 #MT5 #EA
π Read | Freelance | @mql5dev
#MQL5 #MT5 #EA
β€78π11π7π€5π4β‘3π¨βπ»1
The updated Didi Index you refer to includes an inverted slow line, providing a clearer representation of trend direction. This alteration allows for more straightforward analysis by aligning the slow line with the overall trend. Additionally, the code has been optimized for efficiency, reducing computation time and enhancing performance. These optimizations may include refined loop structures, improved memory allocation, and other technical tweaks that contribute to faster execution. As a result, this revised index offers a more responsive and user-friendly experience for analyzing market trends, proving to be a valuable tool for those working with complex datasets and time-sensitive analyses.
π Read | Calendar | @mql5dev
#MQL5 #MT5 #Indicator
π Read | Calendar | @mql5dev
#MQL5 #MT5 #Indicator
β€26π4π4π¨βπ»2
In this comprehensive guide on leveraging MetaTrader 5 for algorithmic trading, we explore an advanced method to analyze deal history dynamically. By exporting completed trades to a file, these trades can be run through the strategy tester, allowing traders to experiment with different stop-loss and take-profit scenarios. Developers can implement an Expert Advisor (EA) that accesses historical data for rigorous backtesting. This approach provides traders with insights into past trading behaviors, enabling them to optimize strategies and validate predictions under various conditions, thus enhancing both the accuracy and performance of their trading systems. This tool proves invaluable for refining ongoing trading strategies.
π Read | NeuroBook | @mql5dev
#MQL5 #MT5 #EA
π Read | NeuroBook | @mql5dev
#MQL5 #MT5 #EA
β€27π7π5π¨βπ»2β‘1
In analyzing financial trading strategies, it becomes clear that traditional methods often fail to account for the dynamic nature of markets. The classical Bollinger Band strategy, while widely used, demonstrates consistent losses in backtests. Our analysis shows a -$169 loss over five years with a suboptimal Sharpe ratio of -0.53.
The double Bollinger Band system, an extension developed by institutional traders, improves market adaptability. By employing dual bands with varied standard deviations, this strategy significantly outperforms the classical approach. Results indicate a $228 profit, improving accuracy to 56% winning trades and delivering a positive Sharpe ratio of 0.5.
This advancement showcases resourceful adaptations of established methods, yielding a transformative trading strategy that enhances profitability and reduces risk without a...
π Read | Calendar | @mql5dev
#MQL5 #MT5 #Strategy
The double Bollinger Band system, an extension developed by institutional traders, improves market adaptability. By employing dual bands with varied standard deviations, this strategy significantly outperforms the classical approach. Results indicate a $228 profit, improving accuracy to 56% winning trades and delivering a positive Sharpe ratio of 0.5.
This advancement showcases resourceful adaptations of established methods, yielding a transformative trading strategy that enhances profitability and reduces risk without a...
π Read | Calendar | @mql5dev
#MQL5 #MT5 #Strategy
β€38β4π2π¨βπ»2
In this second part of the series on developing a professional trading system with Heikin Ashi, the focus shifts to creating the Zen Breakout Expert Advisor (EA). Using MetaQuotes Language 5 (MQL5), the EA combines the custom Heikin Ashi and MetaTrader 5 Fractals indicators to generate breakout signals. The EA opens long or short positions based on bullish or bearish breakouts, with adjustable stop-loss and take-profit levels. Developers will learn to hook indicators to an EA, implement breakout entry logic, and prepare a self-contained package for distribution, all ensuring a balance of risk and reward in trading operations.
π Read | Quotes | @mql5dev
#MQL5 #MT5 #EA
π Read | Quotes | @mql5dev
#MQL5 #MT5 #EA
β€29π10π―3π¨βπ»1
Explore a new approach to market data analysis that goes beyond traditional timeframes by integrating Volume, Range, Renko, and Kagi bars using a Python library. This innovative method captures intricate trading dynamics by adapting to market conditions, optimizing real-time data interpretation for strategic trades. The library seamlessly integrates with MetaTrader 5, offering real-time updates and performance optimization. It highlights how different bar types enhance trading strategies, offering insights for both novice and seasoned traders. Developers benefit from detailed implementations, including handling streaming updates. Tests reveal unique statistical insights, showcasing each bar type's efficiency and market signal clarity.
π Read | CodeBase | @mql5dev
#MQL5 #MT5 #Algorithm
π Read | CodeBase | @mql5dev
#MQL5 #MT5 #Algorithm
β€40π€1π¨βπ»1
In MetaTrader 5 build 5326, we have introduced several improvements to the desktop platform:
β’ Resolved an issue with the generation of implicit constructors and copy operators for structures and classes. In some cases, this could lead to critical failures in MQL programs.
β’ Added password length check during first-time account connection after migration from MetaTrader 4. The system now correctly checks the complexity of the new password.
β’ Fixed the display of the 'ID' column (external system identifier) in the list of open positions. The column will now only appear if at least one of the operations in the list has an associated identifier.
Discuss the update...
β’ Resolved an issue with the generation of implicit constructors and copy operators for structures and classes. In some cases, this could lead to critical failures in MQL programs.
β’ Added password length check during first-time account connection after migration from MetaTrader 4. The system now correctly checks the complexity of the new password.
β’ Fixed the display of the 'ID' column (external system identifier) in the list of open positions. The column will now only appear if at least one of the operations in the list has an associated identifier.
Discuss the update...
β€42π16π₯5π2π¨βπ»2
Stochastic Eclipse EA is a robust MT4 Expert Advisor utilizing the Stochastic Oscillator for trading. It targets overbought and oversold conditions to capitalize on early market reversals and major momentum changes while filtering out false signals.
Key components include Stochastic Oscillator integration with default overbought/oversold levels set at 80/20, which are customizable. Traders can modify %K, %D, and Slowing values according to specific strategies. The system adopts dual thresholds, executing trades exclusively at boundary crossings, and offers signal confirmation options for immediate or delayed entries.
In terms of trade management, lot size is set at 0.10 by default, modifiable based on individual risk levels. Stop loss and take profit parameters are established at 100 pips each, offering a balanced approach to safety and reward.
A backtest c...
π Read | Forum | @mql5dev
#MQL4 #MT4 #EA
Key components include Stochastic Oscillator integration with default overbought/oversold levels set at 80/20, which are customizable. Traders can modify %K, %D, and Slowing values according to specific strategies. The system adopts dual thresholds, executing trades exclusively at boundary crossings, and offers signal confirmation options for immediate or delayed entries.
In terms of trade management, lot size is set at 0.10 by default, modifiable based on individual risk levels. Stop loss and take profit parameters are established at 100 pips each, offering a balanced approach to safety and reward.
A backtest c...
π Read | Forum | @mql5dev
#MQL4 #MT4 #EA
β€31π¨βπ»2π€1
In the latest iteration, our MetaTrader 5 program offers a sophisticated ChatGPT dashboard with enhanced interactivity for algorithmic traders and developers seeking AI-driven insights. Key elements include a scrollable, chat-style UI capable of handling multi-turn interactions with timestamps and dynamic message handling. Implemented in MQL5, the program optimizes conversation flow, retains context across sessions, and enhances usability by refining text display for better readability. With configurable scrollbar settings and extended token limits, it empowers developers to customize and extend the tool for richer trading strategies. By modularizing API communication and message handling, the system ensures efficient, adaptive engagement with AI.
π Read | Freelance | @mql5dev
#MQL5 #MT5 #AI
π Read | Freelance | @mql5dev
#MQL5 #MT5 #AI
β€29π1π¨βπ»1
Discover the power of candlestick pattern analysis with the Candlestick Probability EA for MetaTrader 5. This tool analyzes key patterns like Pinbar, Engulfing, and Doji across different instruments and timeframes, providing empirical data on their effectiveness in signaling trend reversals or continuations. By quantifying success rates based on historical data, traders can make informed decisions, reducing premature entries often associated with these patterns. Designed for both manual and algorithmic traders, this EA offers a robust framework for turning visual patterns into actionable statistics, helping you refine trading strategies with confidence and precision. Perfect for enhancing your trading research and system development.
π Read | Signals | @mql5dev
#MQL5 #MT5 #EA
π Read | Signals | @mql5dev
#MQL5 #MT5 #EA
β€29β4π¨βπ»1
Market depth is crucial for order block detection. Initiation involves creating dynamic arrays for buy and sell volumes. During OnInit, arrays resize to start storing market order volumes. Depth availability is key, determined by broker support, checked via the chart corner for volume indication.
Initial set-up involves global variables marking market depth availability. Successful initialization uses Depth of Market functions checking OnInit. OnBookEvent tracks volume changes in dynamic arrays. Verification ensures updates with new candlesticks, controlling array size to 30 elements maintaining recent data integrity.
Structured logic for order blocks involves set conditions without loop iterations. Arrays hold critical price points to maintain real-time trading strategy integrity. Buffers are visualized using dynamic arrays, with OnInit processing...
π Read | Forum | @mql5dev
#MQL5 #MT5 #OrderBlock
Initial set-up involves global variables marking market depth availability. Successful initialization uses Depth of Market functions checking OnInit. OnBookEvent tracks volume changes in dynamic arrays. Verification ensures updates with new candlesticks, controlling array size to 30 elements maintaining recent data integrity.
Structured logic for order blocks involves set conditions without loop iterations. Arrays hold critical price points to maintain real-time trading strategy integrity. Buffers are visualized using dynamic arrays, with OnInit processing...
π Read | Forum | @mql5dev
#MQL5 #MT5 #OrderBlock
β€20π7π2π₯1π¨βπ»1
In the continuation of our trading strategy development in MQL5, we have built a Supply and Demand Trading System leveraging a retest and impulse model. This system identifies supply and demand zones through periods of consolidation, confirms their validity with impulsive price moves, and facilitates trading on retests.
Key components of this strategy include defining risk parameters, implementing trend confirmation, and enhancing chart visualization with dynamic labels and colors. We covered the framework, implementation in MQL5, key enumerations, zone detection and validation, trading logic, and the integration of trailing stops. This comprehensive approach provides a functional trading strategy in MQL5 to efficiently manage supply and demand zones for potential reentry trades.
π Read | AppStore | @mql5dev
#MQL5 #MT5 #Trading
Key components of this strategy include defining risk parameters, implementing trend confirmation, and enhancing chart visualization with dynamic labels and colors. We covered the framework, implementation in MQL5, key enumerations, zone detection and validation, trading logic, and the integration of trailing stops. This comprehensive approach provides a functional trading strategy in MQL5 to efficiently manage supply and demand zones for potential reentry trades.
π Read | AppStore | @mql5dev
#MQL5 #MT5 #Trading
β€58β7π7π¨βπ»5β‘3π1
This script outlines three methodologies for calculating the current Aroon Up and Aroon Down values. The first method involves utilizing the CopyHigh and CopyLow functions. The second method uses iHighest and iLowest functions to determine these values. The final method employs the Aroon indicator directly for the calculation. The indicator, authored by Nikolay Kositsin, is available for download from the MQL5 library. Access to this resource enables integration and comparison of these approaches, allowing for enhanced decision-making in technical analysis and algorithmic trading strategies.
π Read | Docs | @mql5dev
#MQL5 #MT5 #Indicator
π Read | Docs | @mql5dev
#MQL5 #MT5 #Indicator
β€27π4π¨βπ»2
A custom optimization function crafted for the MetaTrader 5 Strategy Tester, this script assists in analyzing test results beyond the typical use of Expert Advisors, indicators, or scripts. The code begins by collecting trade history from the tester, ensuring a minimum of 50 trades, and recognizing the initial deposit and testing periods. Trades are divided into In-Sample (IS) and Out-of-Sample (OOS) periods, facilitating a more robust analysis.
Thereafter, it calculates a series of metrics, covering factors like profitability, drawdown, Sharpe and Sortino ratios, and profit factor. Statistical analysis is conducted using Kolmogorov-Smirnov and Jarque-Bera tests. Strategy evaluation incorporates multiple dimensions: profitability, consistency, risk-adjusted performance, and statistical quality.
This code is applicable in various scenarios: strategy...
π Read | Calendar | @mql5dev
#MQL5 #MT5 #AlgoTrading
Thereafter, it calculates a series of metrics, covering factors like profitability, drawdown, Sharpe and Sortino ratios, and profit factor. Statistical analysis is conducted using Kolmogorov-Smirnov and Jarque-Bera tests. Strategy evaluation incorporates multiple dimensions: profitability, consistency, risk-adjusted performance, and statistical quality.
This code is applicable in various scenarios: strategy...
π Read | Calendar | @mql5dev
#MQL5 #MT5 #AlgoTrading
β€17π3π2π1π¨βπ»1
The Balance of Power (BOP) indicator, devised by Igor Livshin in 2001, assists in determining the dominance dynamics between buyers and sellers per candle session. This variant integrates a Simple Moving Average (SMA) to effectively reduce market noise, enhancing clarity in reading the indicator. The visual representation delineates buyer dominance (bulls) when the closing price approximates the high and seller dominance (bears) when it nears the low. The formula driving BOP is: (Close - Open) / (High - Low). A BOP above zero indicates buyer control, below zero suggests seller control, and values around zero reflect market balance or indecision. Extreme values, such as Β±0.2, often signal potential corrections due to excessive strength.
π Read | Freelance | @mql5dev
#MQL5 #MT5 #Indicator
π Read | Freelance | @mql5dev
#MQL5 #MT5 #Indicator
β€25π¨βπ»2