MQL5 Algo Trading
388K subscribers
2.57K photos
2.57K 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 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
Financial market analysis continually seeks new methods, exploring even unconventional ones like astrology. William Gann popularized this approach, aiming to correlate celestial positions with market trends. Despite ongoing skepticism, some traders still explore financial astrology. Using Python with libraries like Skyfield for astronomical data and MetaTrader 5 for financial data, researchers attempt to combine ancient knowledge with modern technology.

In the process, data collection and synchronization are essential. Despite rigorous statistical analysis, no significant correlations between planetary movements and market prices were found. Machine learning models like CatBoost also failed to produce reliable predictions, confirming astrology's limited value in modern financial markets.

👉 Read | VPS | Share!

#MQL5 #MT5 #Forex
21👍1122👌2👨‍💻2😁1
Dive into Forex pattern analysis with Python and MetaTrader 5 for a systematic approach to identifying trading opportunities in currency markets. This article explores how to transform complex Forex market data into simpler trend indicators using an innovative algorithm for detecting repeating patterns. Key steps include setting up the Python environment, managing libraries like MetaTrader 5 and pandas, and connecting to trading platforms. The article explains processing OHLC data into directional patterns and building a comprehensive system for evaluating win rates and pattern frequencies. This analytical method offers practical forecasting tools for traders looking to enhance their algorithmic trading systems.

👉 Read | Quotes | Share!

#MQL5 #MT5 #Forex
👍43184🔥4👨‍💻2
In algorithmic trading, data discrepancies between brokers pose a major challenge due to decentralized pricing. This article explores these issues by comparing EURUSD data from two brokers using MetaTrader 5. It highlights significant differences in returns, risks, and market perspectives across brokers, affecting trading strategy outcomes. Developers must consider these variations when building and deploying applications across different brokers. The article suggests using ONNX for model integration in MQL5 to tailor AI models to specific brokers, ensuring consistent performance. Thorough understanding and customization are vital for reliable and effective trading strategies in the diverse landscape of forex markets.

👉 Read | Docs | Share!

#MQL5 #MT5 #Forex
👍2311👨‍💻2
Introducing a new integrated approach for Forex trading calculations directly within the MetaTrader 5 platform. By embedding a Forex Values Calculator into the Trade Management Panel, traders can now perform essential calculations such as Position Size, Risk Amount, Pip Value, and Margin Requirement without leaving their trading terminal. This integration is facilitated by MQL5's robust GUI capabilities, ensuring that trade set-up is more streamlined and efficient.

The implementation includes adjusting the Trade Management Panel to house new control classes, utilizing ComboBox and DatePicker components for intuitive user interaction. This approach minimizes the need to toggle between different applications, enhancing the overall trading workflow.

Testing phases confirm that the integration maintains accuracy and reliability, aligning with MetaTrader 5...

👉 Read | Signals | @mql5dev

#MQL5 #MT5 #Forex
77👍10👌6👏54👨‍💻4
A technical solution for financial chart analysis includes several key features. Firstly, dynamic watermarking provides real-time display of the current trading symbol and active timeframe. This feature also includes a clear description of the asset, ensuring all necessary information is visible without interfering with analysis.

Secondly, the responsive design automatically adjusts to screen resolution, repositioning centered elements as needed, and ensuring optimal readability in any MetaTrader 5 window size.

Customization is straightforward, with options to set watermark color using RGBA and adjust font size through an input parameter.

Efficiency is prioritized, with no reliance on buffers or technical plots, thereby minimizing resource consumption. The code remains modular and easy to integrate. Additionally, the tool supports full compatibility w...

👉 Read | Signals | @mql5dev

#MQL5 #MT5 #Forex
33👍5👨‍💻3👌21
Traders who favor minimalistic charts can benefit from this lot size calculation script for Forex and CFD instruments. Choose between RiskByPercent for percentage-based risk or RiskByAmount for a fixed value. Enter your stop loss in pips suitable for 4-digit brokers; the script adapts for 5-digit brokers. If the calculated lot size falls below or above broker limits, the script adjusts to the nearest allowable value. Alerts provide details on the calculated lot size, risk amount, converted stop loss, and tick value. This tool aids in precise trade entry and can be customized or integrated with existing Expert Advisors for enhanced functionality.

👉 Read | NeuroBook | @mql5dev

#MQL4 #MT4 #Forex
32🔥6👍5👨‍💻43👌2
Discover how an innovative approach transforms Forex portfolio optimization by merging Markowitz's theory with the VaR methodology. Traditional Markowitz optimization struggles with Forex due to currency pair correlations, necessitating an adaptation. By integrating VaR constraints, the system dynamically controls risk through diverse market conditions. Leveraging Python with MetaTrader 5, the model accommodates the idiosyncrasies of Forex volatility and correlation, enhancing decision-making for position sizing. The cohesive use of historical, parametric, and Monte Carlo methods ensures a robust VaR calculation, pivotal to pristine risk assessment, ultimately refining trade execution by visually augmented analysis and comprehensive backtesting strategies.

👉 Read | Quotes | @mql5dev

#MQL5 #MT5 #Forex
83👍14👨‍💻12🎉8👌1
Attention to server time changeover discrepancies is critical for precise trading operations. The FOREX session spans 120 hours from Sunday 17:00 to Friday 17:00 EST. Challenges arise due to differing time change dates between regions, notably the USA and EU. The USA shifts on the second Sunday in March and the first Sunday in November. Conversely, the EU transitions on the last Sunday of March and October, leading to temporary differences in the usual time offset between regions such as London, Frankfurt, and Cyprus. These discrepancies should reflect in the adjusted timestamps for Forex sessions' start and end times. Issues have been observed with the first session hour consistently showing as Monday at 00:00, instead of adjusting to 23:00 Sunday after US time changes. A script has been developed to verify and log any inconsistencies in broker time changes...

👉 Read | Signals | @mql5dev

#MQL5 #MT5 #Forex
42👍4🏆2👨‍💻2👾2
The article focuses on the All Sessions EA, a MetaTrader 5 tool designed to enhance understanding of global forex market sessions by visualizing them directly on trading charts. The EA aligns with broker server time, automatically drawing session boxes for Asia, Tokyo, London, and New York, providing clear differentiation without time zone confusion. It includes user-friendly features like on-chart toggles and real-time alerts for breakout events, aiding traders in assessing volatility shifts. The modular, event-driven design ensures efficient resource usage and intuitive interaction, offering both beginner and experienced traders a detailed, real-time map of trading activity worldwide.

👉 Read | NeuroBook | @mql5dev

#MQL5 #MT5 #Forex
52👌5👨‍💻3
Developers exploring Forex market dynamics can now leverage an innovative tool that visualizes market sessions using MQL5. This project involves creating session-based candlesticks that mirror traditional timeframe analysis, allowing traders to identify session-specific behaviors, such as liquidity peaks and sentiment transitions. The core lies in a CSessionVisualizer class, which independently defines and visualizes global trading sessions with candlestick-like graphics. This tool has been designed for easy integration into larger systems, like the Market Periods Synchronizer EA. By illustrating overlapping sessions, it provides unique insights into market rhythms, enhancing traders' understanding of time and price dynamics in Forex markets.

👉 Read | Calendar | @mql5dev

#MQL5 #MT5 #Forex
74👍54👌4👨‍💻41