Codes

Risk calculator for MT 5 for MetaTrader 5

The indicator calculates your risk as a percentage and gives you the lot size that is acceptable for your risk. You only need to specify the risk in per cent and the stop size in pips

Probability Theory Expert Advisor for Forex for MetaTrader 5

Probability Theory Advisor

Price / Volume indicator for MetaTrader 5

One of the simpler chips for machine learning

Advanced compound interest calculator for the trader for MetaTrader 5

A compound interest calculator for the trader. Calculates, based on your parameters, your risk of ruin, and the optimal risk per trade. Gives a forecast of your capital size in a year, month, and at the end of the term

Articles

Unified Multi-Timeframe Renko: Synthesizing the Market's Temporal Dimensions for MetaTrader 5

The article presents an innovative concept for a multi-timeframe Renko chart that combines signals from four timeframes (M5, M15, H1, H4) into a unified synthetic instrument. The system creates a virtual symbol in MetaTrader 5 by using the EMA of each timeframe to generate a composite signal through

Quick Integration of a Large Language Model into MetaTrader 5 (Part I): Building the Model for MetaTrader 5

The article explores the revolutionary integration of large language models (LLMs) with the MetaTrader 5 trading platform, where AI does not simply predict prices but makes autonomous trading decisions by analyzing market context much like an experienced trader. The author highlights a fundamental

A Team of AI Agents with Profit-Based Rotation: The Evolution of a Living Trading System in MQL5 for MetaTrader 5

Financial management as an ecosystem: Seven AI traders with different personalities and strategies instead of a single algorithm. They compete for capital, learn from their mistakes, and make decisions collectively. The article explains the principles behind the Modern RL Trader system, in which the

A Reinforcement Learning System for Algorithmic Trading in MQL5 for MetaTrader 5

The article describes the development of a multi-agent machine learning system for algorithmic trading on MetaTrader 5 based on reinforcement learning. The system has a three-tier architecture: memory neurons store experience, agents make independent decisions, and the collective mind combines them

Kohonen Self-Organizing Maps in an MQL5 Expert Advisor for MetaTrader 5

Kohonen's self-organizing maps transform the chaos of market data into an ordered two-dimensional map, where similar patterns are grouped together. The article demonstrates a complete implementation of a SOM in an MQL5 Expert Advisor with 400 neurons and continuous learning. We break down the Best

Analysis of the Impact of Solar and Lunar Cycles on Currency Exchange Rates for MetaTrader 5

What if lunar cycles and seasonal patterns influence the foreign exchange markets? This article shows how to translate astrological concepts into the language of mathematics and machine learning. I built a Python system with 88 features based on astronomical cycles, trained CatBoost on 15 years of

Creating a Probabilistic Market-Neutral Trading Robot Based on a Return Distribution for MetaTrader 5

A market-neutral trading strategy based on the empirical return distribution offers an alternative to traditional technical analysis methods, replacing price direction forecasting with the statistical placement of orders at levels the price is likely to reach. This article provides a detailed

Symbolic Price Forecasting Equation Using SymPy for MetaTrader 5

The article describes an interesting approach to algorithmic trading based on symbolic mathematical equations instead of traditional machine learning "black boxes". The author demonstrates how to transform opaque neural networks into readable mathematical equations using the SymPy library and

Multi-Threaded Trading Robot with Machine Learning: From Concept to Implementation for MetaTrader 5

The article presents a step-by-step development of a multi-threaded trading robot with machine learning in Python and MetaTrader 5. The system architecture is considered – from data collection and creation of technical indicators to training XGBoost models with portfolio risk management. The

Algorithmic Arbitrage Trading Using Graph Theory for MetaTrader 5

In this article, triangular arbitrage is presented as a problem of finding cycles in a directed graph, where the vertices are currencies and the edges are currency pairs with weight rates. Profitable cycle: product of weights >1. Our Floyd-Warshall and DFS algorithms find optimal currency exchange