MQL5 Algo Trading
388K subscribers
2.56K 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 combination of the DeMarker indicator with Envelopes in Python provides a strategic edge in market analysis. By converting these MQL5 indicators into Python, leveraging libraries like MetaTrader 5 and pandas, traders can seamlessly access price data and implement technical strategies. One approach involves constructing custom functions for each indicator, optimizing speed and module dependency. This method allows for the creation of robust trading systems that benefit from reduced computational overhead.

The DeMarker indicator measures momentum and provides insights into asset overbought or oversold conditions. With Python, implementing features like DeMax and DeMin offers enhanced modularity and reusability in technical analysis. Price fluctuations over specified periods reveal potential market trends, with values normalized to facilitate straightforward inte...

πŸ‘‰ Read | Signals | Share!

#MQL5 #MT5 #AI
πŸ‘18❀15πŸ‘¨β€πŸ’»2
The recent advancements in point cloud processing are exemplified by the development of the Mask-Attention-Free Transformer (MATF). The method reframes traditional Transformer-based approaches by eliminating the mask attention design. Instead, it incorporates an auxiliary center regression task to enhance the convergence speed and accuracy of object segmentation. This novel approach effectively uses positional queries and contextual relative position encoding in the cross-attention mechanism, addressing the challenges of slow convergence and poor initial mask quality. The MATF approach shows superior performance across various datasets and effectively reduces training complexity while maintaining flexibility and robustness in 3D instance segmentation.

πŸ‘‰ Read | Forum | Share!

#MQL5 #MT5 #AI
πŸ‘41❀26πŸŽ‰3πŸ†3πŸ€”1πŸ‘¨β€πŸ’»1
Explore the intriguing Artificial Ecosystem-based Optimization (AEO) algorithm, inspired by natural ecosystems and their intricate interactions. AEO mimics ecosystems with a diverse population of solutions, each adapting to its niche, using energy transfer through simulated agents like "herbivores", "carnivores", and "omnivores". This method optimizes solution quality by updating decisions through competition and cooperation strategies. It balances exploration and exploitation by incorporating stochastic and deterministic elements, utilizing techniques such as Gaussian and Levy distributions. Perfect for algorithmic traders and developers, AEO provides novel techniques for solving complex optimization problems with practical applications in trading systems.

πŸ‘‰ Read | Docs | Share!

#MQL5 #MT5 #AI
πŸ‘47❀17πŸŽ‰3πŸ‘¨β€πŸ’»2✍1
RefMask3D introduces an innovative approach for guided segmentation in point clouds using natural language descriptions. The framework effectively bridges the gap between linguistic and visual data through early-stage feature encoding and a Geometry-Enhanced Group-Word Attention module. By mitigating noise from direct point-word correlations, the model improves its grasp of geometric structures and linguistic cues.

Key components include linguistic primitives that represent semantic attributes and an Object Cluster Module that synthesizes language and visual data into meaningful object embeddings. This paves the way for precise object identification. Despite advancements, challenges persist in eliminating inference ambiguities, prompting the use of contrastive learning to enhance target identification accuracy.

Implementation in MQL5 involves structuring the a...

πŸ‘‰ Read | VPS | Share!

#MQL5 #MT5 #AI
πŸ‘56❀21πŸ”₯3πŸ‘€3⚑2πŸ‘¨β€πŸ’»2
Discussing YOLOv8's role in financial markets is essential for understanding its effectiveness in pattern detection. YOLOv8 operates effectively by analyzing chart patterns with considerable accuracy. Familiarity with machine learning and Python is advantageous for utilizing YOLOv8 in detecting complex market patterns.

MetaTrader 5 allows users to extract charts as screenshots for model evaluation. YOLOv8's implementation requires importing the YOLO object, loading a pre-trained model, and applying it to images captured from charts. This process generates images indicating detected patterns, useful for traders analyzing market behavior.

Despite its capabilities, YOLOv8 may face limitations due to varying chart styles and data noise. The integration with MetaTrader 5 enhances visualization, facilitating manual pattern recognition. Careful considerati...

πŸ‘‰ Read | AppStore | Share!

#MQL5 #MT5 #AI
πŸ‘30❀20πŸ‘¨β€πŸ’»2
RefMask3D has been conceptualized as a sophisticated framework for comprehensive multimodal interaction analysis. It incorporates essential modules designed to efficiently encode linguistic and geometric data. The Geometry-Enhanced Group-Word Attention module performs effective cross-modal attention between textual descriptions and local point groups, refining the point cloud structure.

Furthermore, the Language Model aids in converting textual object descriptions into a token format, with the integration of trainable linguistic primitives to represent semantic attributes like shape and color. The use of a Transformer-based decoder enhances semantic information processing within the point cloud, improving target object identification.

Key to this framework is the Object Cluster Module, which aggregates detailed information to create object embeddings and i...

πŸ‘‰ Read | AlgoBook | Share!

#MQL5 #MT5 #AI
❀29πŸ‘13πŸŽ‰1πŸ‘¨β€πŸ’»1
The Atom-Motif Contrastive Transformer (AMCT) framework emerges as an innovative approach to forecast market trends with enhanced accuracy by analyzing both atomic and complex structural levels. By naturally aligning representations via candlesticks and market patterns, it enhances interpretative quality across varying timeframes. A key innovation is the property-aware attention mechanism employing cross-attention to refine trend analysis. The framework autonomously learns market property features, preventing manual definition errors. This structured approach significantly lowers decision latency by optimizing pass methods. The integration of scaling models transforms pattern outputs into more compatible dimensions, improving alignment and creating a cohesive structure for accurate market analysis.

πŸ‘‰ Read | Calendar | @mql5dev

#MQL5 #MT5 #AI
❀37πŸ‘5⚑3πŸ‘¨β€πŸ’»2
The Levenberg-Marquardt algorithm, a Newtonian optimization method variant, is proficient for fast training of feed-forward neural networks. This algorithm excels in online training for neural networks adapting to dynamic trading conditions, minimizing the loss function in minimal training epochs. Although not currently implemented in MQL5, it stands as an efficient alternative to methods like L-BFGS.

The gradient descent variants, including momentum and stochastic gradient descent (SGD), demonstrate improved convergence for larger datasets. Gradient descent with momentum lessens parameter oscillations, enhancing convergence speed, while SGD remains efficient with vast datasets by updating weights for small data subsets.

Testing against algorithms from Python's scikit-learn highlights the competitive speed and precision of the Levenberg-Marquardt methodolo...

πŸ‘‰ Read | VPS | @mql5dev

#MQL5 #MT5 #AI
❀49πŸ‘13✍5πŸ‘¨β€πŸ’»5⚑3πŸ‘€3
Open-source AI models present an opportunity to enhance algorithmic trading tools, specifically by integrating them into MQL5 Expert Advisors like the News Headline EA. This integration begins by understanding foundational AI components, setting up hardware and software environments, and utilizing tools like llama.cpp and FastAPI.

Hosting an AI model locally involves several steps: downloading the model using a Python script from Hugging Face, creating and activating a dedicated Conda environment for dependencies, and deploying a FastAPI server to serve AI insights.

Finally, the integration process involves updating the EA to incorporate AI-derived insights, involving new input parameters, HTTP request handling for text generation, and incorporating outputs into the trading workflow. This setup offers real-time AI-enhanced commentary for traders.

πŸ‘‰ Read | Freelance | @mql5dev

#MQL5 #MT5 #AI
❀72πŸ‘¨β€πŸ’»10⚑8πŸ‘8
Discover the transformative approach to graph generation with the Hyperbolic Latent Diffusion Model (HypDiff). This model leverages hyperbolic geometry to address key challenges in graph diffusion processes, maintaining topological integrity while efficiently handling non-Euclidean anisotropy. By employing a hyperbolic autosystem, it abstracts graph hierarchy and introduces geometric constraints to preserve essential properties. Unique implementation in MetaTrader's MQL5 extends versatility in algorithmic trading by projecting data into hyperbolic space and intelligently introducing noise via tangent planes. This innovative approach promises enhanced accuracy and computational efficiency, highlighting its practical applications for traders and developers alike.

πŸ‘‰ Read | NeuroBook | @mql5dev

#MQL5 #MT5 #AI
❀28πŸ‘7πŸ‘¨β€πŸ’»4πŸ”₯3
Explore the transformative potential of matrix factorization for trading on MetaTrader 5. This article addresses initial issues in building linear regression models using MQL5 and demonstrates how matrix factorization, notably Singular Value Decomposition (SVD), offers more stable and insightful predictive capabilities. Learn how to implement OpenBLAS to enhance computational efficiency and speed in backtesting, making it a valuable tool for both traders and developers. The focus is on using these techniques to reveal underlying market forces and improve predictions, proving beneficial for developing robust, data-driven trading strategies. Gain insights into applying advanced linear algebra for financial market analysis.

πŸ‘‰ Read | AppStore | @mql5dev

#MQL5 #MT5 #AI
❀66πŸ‘12πŸ‘¨β€πŸ’»5πŸ”₯2
The article discusses advanced techniques for implementing the PSformer framework, a transformative approach in the algorithmic trading domain, using MetaTrader 5. Emphasized are innovative features such as the Parameter Sharing (PS) mechanism and Spatial-Temporal Segmented Attention (SegAtt), which enhance prediction accuracy by organizing multidimensional time series into segments. This structure facilitates effective spatial-temporal relationship identification, essential for high-performance forecasting. The article highlights the methodical approach to implementing the PSformer Encoder using MQL5, focusing on efficient data handling through transposition layers and parameter-sharing blocks. Key benefits include a reduction in overfitting risks and computational efficiency, demonstrating notable performance in trading algorithms.

πŸ‘‰ Read | AlgoBook | @mql5dev

#MQL5 #MT5 #AI
❀21πŸ€”4⚑3πŸ‘¨β€πŸ’»2πŸ‘1
Integrating AI into trading systems using MQL5 begins with a JSON parsing framework for API interactions. JSON's role as a data interchange format is crucial for AI API communication, exemplified by OpenAI's ChatGPT. Our focus is on developing a robust foundation for JSON data processing, enabling seamless AI-driven trading integrations.

Implementation involves creating the "JsonValue" class to handle JSON data types with functions for parsing and serialization. This class manages child elements, manipulates JSON structures, and handles errors efficiently. Methods for serializing and deserializing JSON further enhance interaction capabilities.

The understanding and handling of JSON structures are essential for the integration of AI into trading strategies. A solid groundwork is set, preparing for the advanced AI applications in trading automation.

πŸ‘‰ Read | Docs | @mql5dev

#MQL5 #MT5 #AI
❀29πŸ†4πŸ‘3πŸŽ‰1πŸ‘¨β€πŸ’»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
❀29πŸ‘1πŸ‘¨β€πŸ’»1
The StockFormer hybrid trading system leverages cutting-edge methods like predictive coding and reinforcement learning to forecast market dynamics. Its innovative structure features three specialized Transformer branches for extracting asset interdependencies, and short and long-term predictions. The integration through advanced attention mechanisms enhances pattern detection and adaptability in volatile markets. Practical implementation emphasizes the use of the Diversified Multi-Head Attention module for efficient pattern recognition in noisy data. The training of predictive models focuses on constructing expert systems for time series analysis, optimizing for profitability through focused trajectory selection in neural network training. This robust framework positions StockFormer as a powerful tool for algorithmic trading development.

πŸ‘‰ Read | Quotes | @mql5dev

#MQL5 #MT5 #AI
❀28πŸ‘¨β€πŸ’»1
The comprehensive trading system incorporates quantum computing principles, utilizing quantum states and probabilities for decision-making. The AI modules integrate multiple indicatorsβ€”RSI, ADX, MA, ATRβ€”with adaptive weighting, enhancing decision accuracy. Robust risk management is emphasized through deposit protection and strict control of drawdown, position size, and daily loss limits. The Quantum Trailing Stop provides a dynamic stop-loss mechanism, adjusting to the prevailing market conditions.

Automatic optimization streamlines parameter adjustments in the strategy tester, with specific configurations tailored for trading gold and silver, accounting for their distinct volatility characteristics. Protective mechanisms include a minimum deposit check, trade limits on loss exceedance, and risk reduction following a loss streak. Micro-account users benefit ...

πŸ‘‰ Read | Docs | @mql5dev

#MQL5 #MT5 #AI
❀28πŸ‘¨β€πŸ’»2✍1
In the rapidly evolving world of financial markets, efficient data processing and analysis are crucial. The FinMem framework addresses this need by introducing a large language model (LLM)-based trading agent featuring a sophisticated multi-level memory system. This system, consisting of working and stratified long-term memory, adeptly prioritizes and processes diverse data types. It adapts to market dynamics through a profiling module that tailors risk strategies accordingly. The decision-making module integrates market trends and stored information to form robust trading strategies. Implemented in MQL5 without LLM reliance, the framework enhances algorithmic trading through its innovative memory and decision-making architecture.

πŸ‘‰ Read | NeuroBook | @mql5dev

#MQL5 #MT5 #AI
❀33πŸ‘5πŸ‘¨β€πŸ’»2πŸ€”1πŸ‘Œ1😈1
In the latest iteration of the ChatGPT-integrated MetaTrader 5 system, we've introduced a collapsible sidebar, significantly improving user interface flexibility for algorithmic traders. The sidebar dynamically toggles between expanded and contracted states, optimizing screen space for chart analysis while maintaining access to chat and AI insights. Small and large history pop-ups allow for efficient navigation through historical data, streamlining decision-making processes. This feature is seamlessly integrated, with detailed implementation in MQL5, utilizing elements like toggle buttons and scroll functions for enhanced usability. The result is a robust trading assistant tool, adaptable for both detailed analysis and quick market insights, suited to diverse trading strategies.

πŸ‘‰ Read | Signals | @mql5dev

#MQL5 #MT5 #AI
❀31πŸ‘Œ3🀑2πŸ‘1πŸ‘¨β€πŸ’»1