Explore the innovative expansion of the TabControl WinForms object with enhanced scrolling functionality for MetaTrader 5 developers. The article delves into refining the object structure to mimic MS Visual Studio behaviors regarding tab header arrangement. Focus on optimizing user interactionsβheader shifts when selected, and strategic button placements for improved navigation. Enhanced library management segments auxiliary controls into distinct folders, streamlining code structure. By implementing precise event-driven models, efficient message handling across multiple classes is ensured, allowing seamless control interactions. These developments not only enhance functionality but also set a foundation for future comprehensive scroll control implementations.
#MQL5 #MT5 #WinForms #UIUX
Read more...
#MQL5 #MT5 #WinForms #UIUX
Read more...
π41β€32π¨βπ»7π4π€―4π4π2
The described indicator aims to evaluate autocorrelation in price series. When values exceed 0, this suggests autocorrelation in the returns, implying a consistent direction in movement. This could signal the start of a trend or a potential reversal. Conversely, values below 0 suggest uncertainty, potentially indicating the conclusion of trends or reversals. Values near 0 suggest the price behaves like a random walk, offering little actionable insight. This indicator should complement other tools, as it doesn't provide explicit trade direction. Use it to enhance analysis rather than relying on it solely for trading decisions.
#MQL5 #MT5 #Indicator #AlgoTrading
Read more...
#MQL5 #MT5 #Indicator #AlgoTrading
Read more...
π28β€19β6π¨βπ»3β‘2π2π2
An innovative reimagining of moving average cross-over strategies in algorithmic trading is presented, utilizing MetaTrader 5. By structuring a strategy using two Exponential Moving Averages, a Stochastic oscillator, and an Average True Range, a back-test revealed historical limitations in traditional approaches. Transitioning to AI-enhanced models transformed these strategies, leveraging dummy encoding to redefine state changes within indicators. This novel application allowed for a significant improvement in trading metrics, demonstrating enhanced profitability, a higher Sharpe ratio, and successful trades 55% of the time. This insightful exploration encourages developers to optimize traditional and new strategies with innovative AI techniques.
#MQL5 #MT5 #AITrading #Strategy
Read more...
#MQL5 #MT5 #AITrading #Strategy
Read more...
β€18π15π€4π¨βπ»3π2β‘1
Part 2 of our MetaTrader 5 series advances MQL5 Economic Calendar integration by crafting a sleek News Dashboard. Designed for real-time market insights, this interface aids in decision-making with effortless access to vital economic data. The process involves structuring a user-friendly dashboard, emphasizing readability with contrast for quick impact recognition. Key functionalities leverage MQL5's object creation capabilities to set up elements like labels and buttons efficiently. This modular approach enhances UI setup, streamlines code, and optimizes event monitoring, offering a pragmatic tool for algorithmic traders to manage and react to economic events as they unfold.
#MQL5 #MT5 #Trading #Dashboard
Read more...
#MQL5 #MT5 #Trading #Dashboard
Read more...
π25β€22π¨βπ»4π2β‘1
The Chart Projector tool is developed to streamline market analysis for price action traders by overlaying the previous day's chart on the current one. This method provides traders an immediate context of market conditions by visualizing price movements and key levels, supporting more informed decision-making. The overlay helps traders identify trends and simplifies trade planning, focusing on actual price actions instead of relying on traditional indicators.
Code implementation uses MetaEditor, where a script is developed to create the ghost overlay effect. The script includes several functions such as DrawGhostCandles for overlaying prices and DrawHorizontalLine for marking key levels. Outcomes show an enhanced market understanding through customizable visual representation, aiding in identifying trends and risk management.
In conclusion, t...
#MQL5 #MT5 #ChartProjector #AlgoTrading
Read more...
Code implementation uses MetaEditor, where a script is developed to create the ghost overlay effect. The script includes several functions such as DrawGhostCandles for overlaying prices and DrawHorizontalLine for marking key levels. Outcomes show an enhanced market understanding through customizable visual representation, aiding in identifying trends and risk management.
In conclusion, t...
#MQL5 #MT5 #ChartProjector #AlgoTrading
Read more...
β€31π26π5π¨βπ»5β‘1
The indicator visualizes the status of two indicators, MACD and Stochastic, as lines of squares, providing a clear comparison of their signal line positions. It helps in determining the relationship between these two indicators within the main chart window. The MACD line, often used for trend assessment, and the Stochastic line, which identifies momentum, are shown alongside each other. Being represented as squares, these lines offer quick visual confirmation of current market conditions, aiding in more informed decision-making. Users can easily interpret the market status with this combined indicator visualization, simplifying analysis in trading environments.
#MQL5 #MT5 #Indicator #MACD
Read more...
#MQL5 #MT5 #Indicator #MACD
Read more...
π24β€14π¨βπ»5π4β‘2π2
Discover how MetaTrader 5's limitations have driven innovation in algorithmic trading with a newly-designed, multi-functional Admin Panel. This enhanced interface allows for seamless management of orders and positions while incorporating robust market analysis, data display, and risk management features directly on a single chart. By restructuring the Admin Panel into distinct sub-panels β Communications and Trade Management β we streamline user experience without switching charts. This reimagined panel utilizes modified MQL5 libraries to avoid compatibility issues, ensuring efficient navigation and execution. Stay tuned as we delve into the Trade Management Panel for enhanced trading operations.
#MQL5 #MT5 #MT5 #Algorithm
Read more...
#MQL5 #MT5 #MT5 #Algorithm
Read more...
β€25π14π3π¨βπ»3β‘2
The Alligator indicator, developed by Bill Williams, helps traders identify market trends using three smoothed moving averages (SMAs), referred to as the Jaws, Teeth, and Lips. These SMAs are set at different periods and shifted forward to identify market phases, categorizing them as trending, consolidating, or transitioning. The indicator suggests that markets only trend strongly about 15-30% of the time, with the rest being directionless. The "waking up" phase occurs when the SMAs diverge, signaling trend potential. Important patterns like Alligator Awakening and Eating use these SMAs to signal potential market shifts and trends.
#MQL5 #MT5 #Indicator #Strategy
Read more...
#MQL5 #MT5 #Indicator #Strategy
Read more...
π58β€31π5π¨βπ»4
The DeMarker Pending 2 version update has been finalized. In this update, the handling of 'SELL' and 'BUY' positions has been optimized for enhanced trading operations. The new protocol dictates that upon initiating a 'SELL' position, all existing 'BUY' positions will be closed immediately. Conversely, when starting a 'BUY' position, all current 'SELL' positions will be closed promptly. This approach aims to streamline the strategy, ensuring that conflicting positions are not held simultaneously, which can reduce risk and improve the efficiency of trading operations. This update is critical for maintaining a balanced portfolio and better market responsiveness.
#MQL5 #MT5 #DeMarker #AlgoTrading
Read more...
#MQL5 #MT5 #DeMarker #AlgoTrading
Read more...
π18β€15π¨βπ»8β7π2πΎ2
process is now complete and ready for testing. This section outlines the procedure for preparing neural network models using Transfer Learning principles combined with previously established tools. Two variational autoencoder models are used as donors to create new models, integrating existing layers with additional decision-making layers. The focus is on evaluating models with consistent architecture while utilizing a universal Expert Advisor (EA) template for testing. Testing involves training models in synchronized environments, ensuring compatible training datasets and historical data, crucial for accurate Transfer Learning. This structured approach aims for efficiency and comparability in model performance evaluations.
#MQL5 #MT5 #TransferLearning #NeuralNet
Read more...
#MQL5 #MT5 #TransferLearning #NeuralNet
Read more...
β€30π28π€©5π¨βπ»4π2
An indicator has been developed that places arrows on each bar to signal trend strength and identifies "PEAK" or "EXTREM peak" points on a chart, based on Williams %R (WPR) and Relative Strength Index (RSI) signals. It calculates by averaging the sum of WPR(4) + 100 and RSI(2), with values below or above 50 indicating trend strength.
Notably, this indicator updates signals only on the last bar and is compatible across all timeframes and symbols. Additionally, it integrates with four other chart indicators: Bollinger Bands (9,2,0) for volatility, a Clock for timing, FiboPiv_v2 for pivot points, and PL4 CandleTime for countdowns to new bars. Users should exercise caution as it is an introductory release.
#MQL4 #MT4 #Indicator #Trading
Read more...
Notably, this indicator updates signals only on the last bar and is compatible across all timeframes and symbols. Additionally, it integrates with four other chart indicators: Bollinger Bands (9,2,0) for volatility, a Clock for timing, FiboPiv_v2 for pivot points, and PL4 CandleTime for countdowns to new bars. Users should exercise caution as it is an introductory release.
#MQL4 #MT4 #Indicator #Trading
Read more...
π40β€26π¨βπ»8π3β‘2β2π2
Dive into the latest steps in building the Connexus library for MetaTrader 5! This installment reveals the CHttpClient class, designed to streamline HTTP requests using the WebRequest function. By transforming CHttpRequest objects into HTTP calls, it simplifies complex web interactions, returning CHttpResponse with comprehensive data. To avoid tight coupling issues, the library introduces interfaces and dependency injection, enhancing maintainability and flexibility. This approach allows easy testing with mocks, simulating real scenarios without network dependence. Connexus is evolving into a robust, adaptable tool for developers interfacing MQL5 with external APIs efficiently.
#MQL5 #MT5 #HttpLibrary #Algorithm
Read more...
#MQL5 #MT5 #HttpLibrary #Algorithm
Read more...
π40β€32π¨βπ»7π2π€1π―1
Developers focusing on technical indicators may find interest in a tool for marking extremums with lines. Key features include setting periods to define highest highs and lowest lows, using both OHLC data and bid/ask prices for a comprehensive analysis. It incorporates a lookback function to restrict processing to a selected number of bars, optimizing performance. A unique capability is its ability to hide line segments during break of structure, ensuring visibility only on real support and resistance areas. This feature is adjustable, allowing preference for displaying lines on extreme prices and indicating trends. Note: An initial upload contained a logic mistake, but has been corrected with a revised version now available.
#MQL5 #MT5 #Indicator #Strategy
Read more...
#MQL5 #MT5 #Indicator #Strategy
Read more...
π29β€18π¨βπ»4π2π1
Returning to test automation, focus shifts to the second stage of optimizing trading strategies. The first stage involved optimizing parameters for individual strategy instances, with results stored in a database. Next, a selection of strategy groups is undertaken to improve trading metrics like reduced drawdown and increased balance curve linearity.
Implementations involve manual and automated selection from database-stored parameters, utilizing genetic optimization for grouping strategies. Modifications to the CDatabase class are necessary for managing multiple databases, enhancing flexibility in switching between primary and task databases for storing results.
The development of EA for the second optimization stage is discussed, utilizing database management to extract relevant data and create efficient test tasks. The EA setup relies on a structured ap...
#MQL5 #MT5 #EA #Algorithm
Read more...
Implementations involve manual and automated selection from database-stored parameters, utilizing genetic optimization for grouping strategies. Modifications to the CDatabase class are necessary for managing multiple databases, enhancing flexibility in switching between primary and task databases for storing results.
The development of EA for the second optimization stage is discussed, utilizing database management to extract relevant data and create efficient test tasks. The EA setup relies on a structured ap...
#MQL5 #MT5 #EA #Algorithm
Read more...
β€23π21π5π¨βπ»3π₯2β1π―1
The latest update in Version 2 introduces a 'Time control' feature and removes the 'Profit limit for close all' and 'Withdrawal' parameters. Enhancements include a trailing lot size control, detailed in the RSI Dual Cloud EA code. Trading signals are now verified with the emergence of new bars, analyzing the iAMA (Adaptive Moving Average) and iRSI (Relative Strength Index) indicators.
The process for generating a signal follows two steps. For an "Open Buy" signal:
1. RSI should be below 30, as set in the 'RSI Level Down' parameter.
2. The price needs to surpass the AMA indicator.
To optimize the indicator relationship, the 'Step Length' parameter defines the bar interval between these steps. Regarding the Martingale strategy, upon receiving a trading order, the system checks BUY and SELL positions' profits. For an "Open Buy," if BUY profits are negative,...
#MQL5 #MT5 #RSI #Strategy
Read more...
The process for generating a signal follows two steps. For an "Open Buy" signal:
1. RSI should be below 30, as set in the 'RSI Level Down' parameter.
2. The price needs to surpass the AMA indicator.
To optimize the indicator relationship, the 'Step Length' parameter defines the bar interval between these steps. Regarding the Martingale strategy, upon receiving a trading order, the system checks BUY and SELL positions' profits. For an "Open Buy," if BUY profits are negative,...
#MQL5 #MT5 #RSI #Strategy
Read more...
π52β€29π¨βπ»2π1π1
Discover a refined solution for managing Take Profit (TP) and Stop Loss (SL) levels directly on the MetaTrader 5 chart using an Expert Advisor (EA). This approach enhances order management efficiency by leveraging the platform's tickets system to swiftly correct TP and SL values without external dependencies. By integrating a new drag-and-drop feature for stop levels, you can intuitively visualize and modify them while circumventing common pitfalls like negative TP values. Simplify your trading workflows with improved accuracy and speed, thanks to well-defined macros and functions, making efficient order adjustments accessible for traders and developers alike.
#MQL5 #MT5 #ExpertAdvisor #StopLoss
Read more...
#MQL5 #MT5 #ExpertAdvisor #StopLoss
Read more...
π34β€28π5π¨βπ»4π3
The built-in economic calendar of MetaTrader 5 often faces synchronization challenges with historical quotes. This is primarily because the quotes use timestamps based on the server's time zone at the formation of the bar, which remain static, while the economic calendar events are linked to the current server time. Events may appear shifted due to daylight saving time adjustments or more significant time zone changes by brokers. This leads to misalignments of historical events with associated bars, complicating news-based strategy testing.
Addressing this, an extended solution has been developed using CalendarCache.mqh and CalendarMonitorCachedTZ.mq5. This updated indicator dynamically updates event information on charts and automatically corrects time discrepancies using the TimeServerDST.mqh library. Comparing CSV files with and without correctio...
#MQL5 #MT5 #AlgoTrading #Backtest
Read more...
Addressing this, an extended solution has been developed using CalendarCache.mqh and CalendarMonitorCachedTZ.mq5. This updated indicator dynamically updates event information on charts and automatically corrects time discrepancies using the TimeServerDST.mqh library. Comparing CSV files with and without correctio...
#MQL5 #MT5 #AlgoTrading #Backtest
Read more...
π30β€23π¨βπ»4β‘2π1π1
Enhancing graphical UI elements in development environments requires meticulous adjustments to object visibility and containment methods. Each graphical component remains confined within its designated boundaries, with overflow parts obscured. The edges of the container or the inner frame outline these visibility limits.
The challenge lies with canvas elements, as typical bitmap cropping techniques fall short due to memory constraints. An alternative approach involves custom scoping, manually concealing overflow sections by coloring them with transparency. This solution necessitates development of auxiliary button objects featuring arrows for UI controls like scrollbars.
Adjust library classes with updates to graphical object properties, sorting methods, and introducing auxiliary object types. Modifications ensure objects respond accurately ...
#MQL5 #MT5 #Algorithm #GraphicalElements
Read more...
The challenge lies with canvas elements, as typical bitmap cropping techniques fall short due to memory constraints. An alternative approach involves custom scoping, manually concealing overflow sections by coloring them with transparency. This solution necessitates development of auxiliary button objects featuring arrows for UI controls like scrollbars.
Adjust library classes with updates to graphical object properties, sorting methods, and introducing auxiliary object types. Modifications ensure objects respond accurately ...
#MQL5 #MT5 #Algorithm #GraphicalElements
Read more...
π36β€35π¨βπ»3π₯2π1
The Expert Advisor (EA) focuses on several core trading and technical principles designed for effective trade replication across multiple accounts and brokers. The trade copying or mirror trading concept is central, enabling fund managers or traders to replicate trading activities from a master account to multiple slave accounts. This system facilitates risk distribution and strategy execution across various brokerage platforms.
At its core, this solution operates within a two-tier architectural setup: the master account, which serves as the source, and the slave accounts, which replicate the positions. Communication between these accounts is executed through a binary file system, allowing for faster and more efficient data transfer than conventional text files.
Position management within the EA is executed in real-time, ensuring open positions, stop...
#MQL5 #MT5 #TradeCopy #RiskMgmt
Read more...
At its core, this solution operates within a two-tier architectural setup: the master account, which serves as the source, and the slave accounts, which replicate the positions. Communication between these accounts is executed through a binary file system, allowing for faster and more efficient data transfer than conventional text files.
Position management within the EA is executed in real-time, ensuring open positions, stop...
#MQL5 #MT5 #TradeCopy #RiskMgmt
Read more...
β€30π28β5β‘2π2π¨βπ»2
The article discusses advancements in a tool for neural network model editing, particularly enhancing its usability for MetaTrader 5 developers. Key updates include comprehensive neural layer information display, enabling better management of model architectures. With adjustments in the CListView class, the tool now offers clearer visualization of neural layers, aiding developers in model selection and modification. Moreover, by refining input fields, developers can better configure neural layer parameters, enhancing accuracy and reducing errors in algorithmic trading setups. The improvements aim to empower traders and developers to experiment with neural network architectures efficiently without altering source code, thus facilitating streamlined algorithmic trading processes.
#MQL5 #MT5 #AI #NeuralNet
Read more...
#MQL5 #MT5 #AI #NeuralNet
Read more...
π41β€27π3π¨βπ»3π€‘2