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
Identifying overbought or oversold market conditions remains a sophisticated task, even for experienced traders. Price Action Analysis Toolkit, integrating MQL5 logic, aims to simplify this process by breaking down complex price behaviors into measurable components. The strategy combines three indicators: RVGI for momentum recognition, CCI for market condition measurement, and SMA(30) for trend filtering.

The RVGI detects momentum shifts, with crossovers indicating potential reversals. CCI measures price deviations from statistical means, highlighting overbought/oversold conditions. The SMA reflects broader market trends, helping distinguish between structural market phases.

In MQL5, indicators are implemented through efficient code structures, initialized during OnInit, and maintained with key variables. Helper functions ensure code clarity and ease fut...

πŸ‘‰ Read | NeuroBook | @mql5dev

#MQL5 #MT5 #EA
❀60πŸ‘10✍4πŸ‘Œ3😎3⚑2πŸŽ‰1
The Open Range Breakout (ORB) indicator for MetaTrader 5 offers a systematic approach to detecting price breakouts by analyzing the initial trading session range. This indicator identifies critical support and resistance levels established during the opening minutes, aiding in high-probability breakout and retest strategies.

The ORB automatically calculates these levels based on user-defined times, offering visual and audio alerts. Key features include identification of breakout signals and multiple profit targets based on the range's size. Traders can configure the parameters for better precision, such as adjusting the opening range period, display options, and alert settings.

It calculates the opening range by determining the highest and lowest prices within the set period and extends these lines throughout the trading session. Profit targets are e...

πŸ‘‰ Read | NeuroBook | @mql5dev

#MQL5 #MT5 #Indicator
❀37⚑7πŸ‘Œ3πŸ‘€3πŸ‘¨β€πŸ’»1
Dive into the advancements in financial forecasting with the Hidformer model, a Transformer-based innovation optimized for time-series analysis. Designed to improve accuracy and handle the complexity of temporal relationships, this model excels by efficiently identifying long-term dependencies using unique attention mechanisms. Hidformer stands out by utilizing dual encoders; one analyzes trends, while the other discerns frequency domain dependencies to filter out market noise, essential for volatile asset forecasting. The integration of recursive and linear attention methods reduces computational demands and enhances prediction stability, offering a robust solution for developers aiming to refine their algorithmic trading strategies in MetaTrader 5.

πŸ‘‰ Read | VPS | @mql5dev

#MQL5 #MT5 #NeuralNet
❀18πŸ‘Œ2✍1πŸ‘¨β€πŸ’»1
Programming architecture ensures reliability and scalability. The Model-View-Controller (MVC) pattern helps in organizing code into three components: model (data and logic), view (presentation), and controller (user interaction). Applying MVC in MQL5 for table models enhances clarity and maintenance.

Create classes for table elementsβ€”cells, rows, and modelsβ€”utilizing linked lists for efficient data storage. The CList class in MQL5 facilitates moving and managing rows and cells dynamically, crucial for file operations. Implement an inherited CList class to enable file-based operations and object creation through the CreateElement() method. This approach allows the architecture to adapt as applications grow, ensuring structure and flexibility.

πŸ‘‰ Read | Quotes | @mql5dev

#MQL5 #MT5 #MVC
❀27πŸŽ‰4πŸ‘Œ4⚑3πŸ‘¨β€πŸ’»1
Revolutionize your MetaTrader 5 trading strategy with a dynamic Fibonacci-driven EA. This innovative approach leverages Fibonacci ratios to anticipate key price movements, transforming market rhythm analysis into actionable insights. Automate swing point detection and Fibonacci level calculations for real-time, disciplined trading decisions. Visualize entire trade pathways with dynamic arrows highlighting anticipatory retracement and extension targets, moving beyond passive chart observations. Integrate meticulous risk management by matching stop-loss and profit targets with Fibonacci architecture. This system doesn’t just execute trades; it enhances your trading intuition through clear visualization and algorithmic precision, setting a new standard in algorithmic trading education.

πŸ‘‰ Read | AppStore | @mql5dev

#MQL5 #MT5 #Algorithm
❀29πŸ‘Œ5πŸ‘¨β€πŸ’»5
New technical analysis tools can streamline trading. Combining multiple indicators into a single hybrid indicator is effective for reducing chart clutter and improving decision-making. A new oscillator called the Pseudo Pearson Correlation (PPC) is presented. It integrates the Relative Strength Index (RSI), Money Flow Index (MFI), and DeMarker (DEM) to simplify market analysis by quantifying relationships between these indicators.

The PPC oscillator offers insights into momentum and market trends without providing direct trade direction. It identifies zones of convergence or divergence in indicator signals, helping traders anticipate potential price movements. This technique aids in designing effective trading strategies by leveraging correlated and non-correlated market conditions, enhancing overall trading systems.

πŸ‘‰ Read | Calendar | @mql5dev

#MQL5 #MT5 #Indicator
❀55πŸ‘Œ8πŸ†3⚑2πŸŽ‰1πŸ‘¨β€πŸ’»1
Calculating the margin required for a trading lot in MQL5 involves specifying the leverage factor to determine the precise margin requirement. When working with FX and metal symbols, it is vital to ensure that the code accounts for variations specific to cent accounts or CFDs/cryptocurrencies, as these can introduce discrepancies. Accuracy can be improved by refining the approach to accommodate these exceptions. Continuous learning and adapting the code to handle different account types and assets will enhance precision. Peer input and collaboration can facilitate code optimization, offering valuable insights from experienced professionals to elevate coding practices.

πŸ‘‰ Read | NeuroBook | @mql5dev

#MQL5 #MT5 #MQL5
❀24⚑7✍1πŸ‘¨β€πŸ’»1
Announcement for MetaTrader 5 Users: The Clean Market Watch script optimizes your trading workspace by automatically clearing all symbols from your Market Watch window in seconds. It is engineered for traders who accumulate a clutter of symbols and seek a streamlined experience. Manually removing symbols can be tedious, but this tool automates the process, providing efficiency.

The script employs an effective algorithm that processes symbols in reverse order to maintain stable array indexing. Safety mechanisms prevent infinite loops, and all actions are logged for transparency. Users receive real-time feedback and a completion notification for assurance of task execution.

To use, open MetaTrader 5, locate the CleanMarketWatch script within the Scripts folder, and execute with a simple chart attachment. Post-execution, you'll need to manually re-add symbo...

πŸ‘‰ Read | Freelance | @mql5dev

#MQL5 #MT5 #script
❀32🀯4πŸ†1πŸ‘¨β€πŸ’»1πŸ‘€1
The application of one-position-type strategies in live market environments presents an analysis based on Nvidia Corp’s stock (NVDA). Training and testing were conducted over distinct time periods, utilizing signals derived from multiple oscillator integrations, specifically RSI and DeMarker. Each pattern analyzes specific market movements, aiming to optimize entry and exit points across varying market conditions.

Pattern-5 focuses on slope confluence with range expansion, where synchronized momentum and price movements are logged. The buy signals are derived when RSI and DeMarker conditions align, demonstrating increased trader activity and potential market volatility.

Forward testing of Pattern-6 capitalizes on leading price movements with lagging indicators, identifying pullback entries for order continuation. The setup confirms trend strength w...

πŸ‘‰ Read | CodeBase | @mql5dev

#MQL5 #MT5 #Strategy
❀22✍1πŸ‘¨β€πŸ’»1
Discover the latest advancements in MetaTrader 5 with our AI-powered trading system enhancement. We've introduced efficient chat deletion and an intuitive search functionality. Manage conversations with ease by utilizing interactive delete buttons within the sidebar and history popups. The new search popup offers real-time filtering, empowering traders and developers to locate key discussions swiftly by keywords or content. This upgrade streamlines user experience, reduces clutter, and enhances productivity by maintaining focus on relevant data during critical trading moments. Experience a more organized and powerful trading assistant integrated seamlessly into your MQL5 environment.

πŸ‘‰ Read | CodeBase | @mql5dev

#MQL5 #MT5 #AITools
❀30✍2πŸ‘¨β€πŸ’»1
Explore advanced methods to enhance lot and Stop Loss retrieval functions in algorithmic trading using MQL5’s robust control libraries. Advanced functions are refined with debugging tools for accuracy, integrating efficient calculation methods for lot sizes and Stop Loss settings. Innovative features like GetLotByRiskPerOperation streamline risk-based calculations without needing Stop Loss distances. Further delve into creating dynamic panels and controls in MQL5 with functions for labels, buttons, and combo boxes, offering a structured and interactive risk management interface. Engage with practical solutions for better trading decisions and streamlined developer workflows, fostering an efficient trading environment with enhanced user interaction.

πŸ‘‰ Read | AlgoBook | @mql5dev

#MQL5 #MT5 #Trading
❀46πŸ‘€3πŸ‘¨β€πŸ’»1