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
An Expert Advisor has been developed to trade when a Three From Within pattern is detected. There are two variations of this pattern. The "Three From Inside" Up pattern features a sequence of candles: the first is a long bearish candle, followed by a smaller bullish candle that trades within the first candle's range, and concludes with a long bullish candle that closes above the first candle’s high. Conversely, the "Three From Inside" Down pattern starts with a long bullish candle, then features a small bearish candle within the first candle’s range, followed by a long bearish candle that closes below the first candle's low. This trading approach restricts to opening a single long or short position when these patterns are present.

👉 Read | Quotes | @mql5dev

#MQL5 #MT5 #EA
36👍7👨‍💻7👌1
Discover an advanced trading strategy that seamlessly integrates MetaTrader 5 with a Python-based adaptive learning model. This system leverages reinforcement learning to dynamically adjust its parameters, transforming trade outcomes into actionable insights. Real-time feedback is captured, transmitted, and utilized to refine decisions, ensuring that every trade—profit or loss—becomes a learning opportunity. Through Flask-powered endpoints, this continuous feedback loop allows a multi-layer perceptron to evolve, enhancing prediction accuracy. This setup not only bridges trading execution with data processing but ensures the system evolves without manual intervention, adapting to market conditions like an experienced trader. Ideal for developers looking to enhance trading precision and adaptability.

👉 Read | VPS | @mql5dev

#MQL5 #MT5 #EA
276👌2👀2👨‍💻1
A straightforward function has been developed to determine if the current time falls between two specified times. This is particularly useful for EAs that need to execute trades only during specific periods of the day. The code accepts two parameters: a start time and an end time. It evaluates whether the current time is within this range and provides a boolean output.

👉 Read | Calendar | @mql5dev

#MQL4 #MT4 #EA
303👌21🔥1👨‍💻1
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👍104👌3😎32🎉1
The recently developed report streamlines testing of multiple EAs or strategies in a single account by consolidating data based on magic numbers and currency. It provides total profit and loss metrics, including profit, swap, and commission, alongside the win rate percentage to evaluate performance accurately. The net position size reflects historical trades, while current exposure details open position risks. Gross profit and loss are separated, and the profit factor is shown as a risk/reward analysis. Cumulative lot sizes are reported under total volume. The report includes all magic numbers, even zero, and aggregates symbols per magic number, displaying a combined symbol list for each. This data is then exported into a single TradingStats.csv file, which can be saved in the MQL5/Files/ folder. The process is simplified to a drag-and-drop action on any ...

👉 Read | Forum | @mql5dev

#MQL5 #MT5 #EA
26👨‍💻2
Представлен советник в виде торговой графической панели с девятью кнопками, предназначенными для упрощения ручной торговли. Панель позволяет трейдеру быстро управлять ордерами и параметрами. В параметре lots указывается планируемый профит. Параметр distance настраивает дистанцию для отложенных ордеров. Параметры takeprofit и stoploss определяют ценовые уровни фиксирования прибыли и убытков соответственно. Кнопка close all закрывает все активные ордера. Кнопки delete buy и delete sell удаляют соответствующие отложенные ордера. Для открытия позиций предусмотрены кнопки BUY, SELL, а для отложенных ордеров: BUY LIMIT, BUY STOP, SELL LIMIT, SELL STOP. Этот скрипт был разработан для работы с индикатором Strategic Schedule, созданным для удобства трейдеров в ручной торговле.

👉 Read | Docs | @mql5dev

#MQL4 #MT4 #EA
242🤔2👨‍💻2
Multi-timeframe analysis is essential for understanding market direction in trading. A lower timeframe signal can conflict with higher timeframe trends, leading to unreliable results. The Timeframe Visual Analyzer enhances this by overlaying two higher-timeframe candles on the current chart, maintaining market focus. This allows traders to confirm directional bias across timeframes and receive alerts when alignments are detected, offering settings for sound, push notifications, and emails. The tool ensures seamless chart integration with customizable visual styling and performance optimization, supporting traders' workflows without chart switching, aiding quick decision-making in dynamic market conditions.

👉 Read | Docs | @mql5dev

#MQL5 #MT5 #EA
253👨‍💻3🔥1
An Expert Advisor is available that systematically executes orders based on grid settings. It can place additional orders either with a constant or increasing lot size, depending on user-defined settings. The grid placement can also be tailored using RSI and CCI indicators, adding an element of signal-based decision-making to the strategy.

Positions can be closed upon reaching a specified profit level, or when a profit combined with an MA reversal is detected. The tool allows for the independent closure of Buy or Sell orders, or all open positions simultaneously. It also has the capability to autonomously trade based on signal detection.

Feedback regarding code errors or optimization suggestions is welcome for further refinement and enhancement of functionality.

👉 Read | CodeBase | @mql5dev

#MQL5 #MT5 #EA
18🎉3👨‍💻2
The introduction of an optimization project creation script has shifted project development towards efficiency. Rather than manually setting tasks, a template-driven script offers a streamlined method for creating optimization projects tailored to diverse trading strategies. The main achievement is an operational solution allowing new strategy groups to be exported directly to a separate EA database, distinguishing it from the previous optimization database.

The transition to a new project file structure has further simplified processes. By consolidating common code into a library separate from project-specific files, maintenance and scalability are enhanced. Each project retains its unique files while relying on a shared library for common functionality.

Auto update functionality in the final EA is a key enhancement. It enables dynamic loading of updated ...

👉 Read | Quotes | @mql5dev

#MQL5 #MT5 #EA
19🎉4