A new tool provides a visual representation of trading sessions by aligning them with the 24-hour clock. It synchronizes session names with specific hours based on your broker's server time, while also displaying your computer's local time. The active session or any overlaps are highlighted in yellow, helping to clarify which sessions are live at any given moment. This can reduce uncertainty regarding session timings and potential overlaps with server times, streamlining the trading process and enhancing situational awareness for traders managing multiple time zones.
π Read | Forum | @mql5dev
#MQL5 #MT5 #Trading
π Read | Forum | @mql5dev
#MQL5 #MT5 #Trading
β€21π6π4π¨βπ»2
Statistical validation in trading is key to uncovering patterns that might not be immediately apparent from visual analysis alone. The Price Level Testing EA addresses the need for empirical evidence by allowing traders to test specific price levels for their historical significance. Traders can identify whether these levels typically act as support or resistance over time, providing objective data to inform decisions.
The EA tackles two major problems: the uncertainty in estimating a levelβs strength and the reliability of breakouts. By converting subjective visual impressions into measurable data, it offers insights into how prices behave around key levels. This data-driven approach helps eliminate biases such as recency and confirmation bias.
The tool uses explicit rules to classify events like touches and breakouts, improving consistency and reliabil...
π Read | CodeBase | @mql5dev
#MQL5 #MT5 #PriceAction
The EA tackles two major problems: the uncertainty in estimating a levelβs strength and the reliability of breakouts. By converting subjective visual impressions into measurable data, it offers insights into how prices behave around key levels. This data-driven approach helps eliminate biases such as recency and confirmation bias.
The tool uses explicit rules to classify events like touches and breakouts, improving consistency and reliabil...
π Read | CodeBase | @mql5dev
#MQL5 #MT5 #PriceAction
β€29π5π2π¨βπ»1
MetaTrader 4/5 has consistently been a preferred platform due to its flexibility, supporting both manual and automated trading. There are specialized toolkits for different trading methods, such as an events-news-calendar for manual traders and a strategy-tester-console for those who favor automation. A standout feature in automated trading is the MQL5 Wizard, which allows users to prototype multi-signal systems integrating customizable trailing stops and money management functionalities.
The recent focus on a custom Signal Class combines the Stochastic Oscillator with the Fractal Adaptive Moving Average (FrAMA) to enhance trade decision systems. This approach seeks to create a hybrid system, acting as a digital noise filter for market patterns. With ten market catering indicator patterns, real-time testing across different market regimes like ...
π Read | NeuroBook | @mql5dev
#MQL5 #MT5 #ExpertAdvisor
The recent focus on a custom Signal Class combines the Stochastic Oscillator with the Fractal Adaptive Moving Average (FrAMA) to enhance trade decision systems. This approach seeks to create a hybrid system, acting as a digital noise filter for market patterns. With ten market catering indicator patterns, real-time testing across different market regimes like ...
π Read | NeuroBook | @mql5dev
#MQL5 #MT5 #ExpertAdvisor
β€37π6β‘1π1π¨βπ»1
In the latest installment of our MQL5 series, we delve into automating the Opening Range Breakout (ORB) technique, using MetaTrader 5's programming capabilities. The ORB strategy involves identifying high and low price levels immediately after market opening and trading based on price breakouts from this range. This tutorial guides on how to set up your Expert Advisor (EA) to detect and trade these breakouts using 5-minute charts while implementing robust risk management through adjustable parameters. The EA ensures precise entries by relying on candle closure logic, preventing overtrading by executing a single trade per breakout session. This project equips traders with practical skills for developing automated trading systems.
π Read | Forum | @mql5dev
#MQL5 #MT5 #ORB
π Read | Forum | @mql5dev
#MQL5 #MT5 #ORB
β€38π6π3π2π¨βπ»2π₯1π1
Risk management is foundational in automated trading. It regulates open positions by controlling losses according to predefined limits such as daily or weekly constraints. The system also calculates appropriate lot sizes for each trade, optimizing strategy performance and safeguarding capital.
Automated trading demands rigorous risk management to prevent costly mistakes such as overtrading. It establishes strict boundaries, maintaining strategic operation and protecting funds, particularly vital during funding challenges. With precise lot calculations and loss limits, risk management provides structured operation for consistent trading.
Core concepts include maximum loss constraints on different timescales and acceptable loss per trade. These metrics inform decisions for trade execution, ensuring risks are controlled and profitability is optimized....
π Read | AlgoBook | @mql5dev
#MQL5 #MT5 #RiskMgmt
Automated trading demands rigorous risk management to prevent costly mistakes such as overtrading. It establishes strict boundaries, maintaining strategic operation and protecting funds, particularly vital during funding challenges. With precise lot calculations and loss limits, risk management provides structured operation for consistent trading.
Core concepts include maximum loss constraints on different timescales and acceptable loss per trade. These metrics inform decisions for trade execution, ensuring risks are controlled and profitability is optimized....
π Read | AlgoBook | @mql5dev
#MQL5 #MT5 #RiskMgmt
β€49β9π¨βπ»6π4π2π1
A new tool is available that focuses on risk management, specifically stop loss and take profit settings. Users must set a negative value for the stop loss, as it does not function with zero input. The tool allows a take profit multiplier based on the stop loss value, aiding in strategic profit-taking. A notable limitation is its inability to recognize pending orders. However, it efficiently sets a stop loss to default on orders, beneficial for those managing long and short-term positions. Two stop loss strategies are offered: a direct order-based stop loss and a position closure through input multiples. It aims to enforce disciplined stop loss practices, suitable for frequent traders seeking systematic risk control.
π Read | Quotes | @mql5dev
#MQL5 #MT5 #TradingTool
π Read | Quotes | @mql5dev
#MQL5 #MT5 #TradingTool
β€25π4π2β‘1π¨βπ»1
The inherent complexity of trading systems challenges even experienced developers, as these applications operate in dynamic and chaotic environments. Successfully adapting to market uncertainty remains a core issue, given the infinite nature of market outcomes. While simple strategies might perform during stable markets, stress tests under volatile conditions often reveal weaknesses in both simple and complex systems. Control theory, typically underused in this niche, focuses on maintaining stability, offering a structured way to address these challenges. By integrating control theory with machine learning, itβs feasible to approximate relationships from raw data, enhancing system adaptability, performance, and efficiency in algorithmic trading.
π Read | NeuroBook | @mql5dev
#MQL5 #MT5 #Algorithm
π Read | NeuroBook | @mql5dev
#MQL5 #MT5 #Algorithm
β€24π3π¨βπ»1
Explore a pioneering approach in algorithmic trading through biologically-inspired neural models, leveraging the Nobel Prize-winning Hodgkin-Huxley model. Unlike conventional algorithms, this system mimics the brain's ability to process market data, using dynamic, plasma-like environments for deeper, more nuanced insights into financial movements. The architecture integrates advanced learning mechanisms, capturing intricate patterns and fostering a holistic understanding, akin to how neurons assimilate sensory input. Tested on EURUSD data, it demonstrates potential for identifying stable price levels amidst noise, opening new avenues for traders seeking a predictive edge. Ideal for MetaTrader 5 developers aiming to harness biology for market analysis.
π Read | AlgoBook | @mql5dev
#MQL5 #MT5 #NeuralNet
π Read | AlgoBook | @mql5dev
#MQL5 #MT5 #NeuralNet
β€26π3π2π¨βπ»1
The last analysis touched upon the first five signal patterns between the Stochastic-Oscillator and Fractal Adapting Moving Average (FrAMA). These patterns showed profitable forward trends in specific market conditions. A focus remained on pairing correct asset types with market archetypes: trending/mean-reverting, auto-correlated/decoupled, and volatility levels. Now, consider the next set of signal patterns.
Pattern-5: Designed for low volatility, Pattern-5 identifies scenarios where both FrAMA and price demonstrate flattening before breaking out. Tested primarily with USD JPY to capture periods of volatility shifts, it struggled in dynamic volatility environments, indicating the need for more adaptive windowing.
Pattern-6: This pattern attempts trend resumption using βWβ and βMβ formations within the stochastic oscillator. Combining FrAMA for dire...
π Read | Quotes | @mql5dev
#MQL5 #MT5 #Indicator
Pattern-5: Designed for low volatility, Pattern-5 identifies scenarios where both FrAMA and price demonstrate flattening before breaking out. Tested primarily with USD JPY to capture periods of volatility shifts, it struggled in dynamic volatility environments, indicating the need for more adaptive windowing.
Pattern-6: This pattern attempts trend resumption using βWβ and βMβ formations within the stochastic oscillator. Combining FrAMA for dire...
π Read | Quotes | @mql5dev
#MQL5 #MT5 #Indicator
β€35β4π4π3π¨βπ»3
MetaTrader 5 build 5370 delivers enhancements to the web version of the platform:
β’ Added display of contract start and end dates in instrument specifications.
β’ Correct price delay indication in the "Quotes" section in mobile view.
β’ Fixed timeframe selection menu display in mobile view.
β’ Proper display of available account types in the demo account creation window.
β’ Fixed localization issues in the account connection window.
Discuss the update...
β’ Added display of contract start and end dates in instrument specifications.
β’ Correct price delay indication in the "Quotes" section in mobile view.
β’ Fixed timeframe selection menu display in mobile view.
β’ Proper display of available account types in the demo account creation window.
β’ Fixed localization issues in the account connection window.
Discuss the update...
β€51π8π₯5π¨βπ»5β‘4
A utility function automates saving the current chart to the default template, streamlining the process compared to manual saves. Users can assign a hotkey for quick access. The operation occurs instantly without confirmation prompts. For saving to a template other than default, edit the code to replace "default.tpl" with the desired template name. This tool enhances workflow efficiency by reducing repetitive tasks and allows for customization as per individual preferences. It is a straightforward implementation for those needing a quick method to manage their chart templates effectively. Configuring this tool aligns with efficient resource management in chart operations.
π Read | VPS | @mql5dev
#MQL4 #MT4 #script
π Read | VPS | @mql5dev
#MQL4 #MT4 #script
β€33π5π¨βπ»3π1
Effective trade management isn't just about entry points. This article dives into the often-overlooked role of exit strategies in achieving long-term profitability for traders. By exploring methods like trailing stops, partial lot reductions, and multiple entries with varying Reward-to-Risk Ratios (RRRs), it provides practical insights into protecting gains. Utilizing a Monte Carlo simulation, the study reveals how varying trade executionsβsingle, double, and triple entriesβimpact equity growth, drawdown, and profitability under different win-rates. The results highlight the strength of distributing risk across multiple trades, showcasing significant improvements in both stability and profits when executed with strategic precision.
π Read | Forum | @mql5dev
#MQL5 #MT5 #TradeMgmt
π Read | Forum | @mql5dev
#MQL5 #MT5 #TradeMgmt
β€33π6π¨βπ»2π1π1
Discover the Dialectical Algorithm (DA), a novel approach to optimization blending dialectical materialism with modern techniques. DA uniquely splits solutions into speculative and practical thinkers, embracing the opposition of thesis and antithesis to refine results. The algorithm systematically sorts and evaluates solutions through interactions that reflect philosophical dialectics, iterating towards improved solutions. Notable for its efficiency, DA achieves a fine balance between exploring global solutions and honing local searches, evidenced by a strong 57.95% efficiency rate in tests. This innovative synergy of philosophical principles and optimization showcases potential for traders and developers in algorithmic trading.
π Read | Quotes | @mql5dev
#MQL5 #MT5 #Algorithm
π Read | Quotes | @mql5dev
#MQL5 #MT5 #Algorithm
β€49π8π5π±3π€2π1π¨βπ»1
Candlestick charts with integrated ask and bid price visualization provide comprehensive insights into market dynamics. The chart connects the high of the candle to the ask price if it surpasses the current high, ensuring no price or spread data is obscured. The bid price, often equated with the close price, is also integrated into the logic, connecting the low of the candle to the bid price when it falls lower. Given that the ask price consistently exceeds the bid price, this connection method is rational. This approach enhances price transparency by visually representing the ask line on the chart. Such detailed visualization aids in better market analysis and decision-making.
π Read | Forum | @mql5dev
#MQL5 #MT5 #Chart
π Read | Forum | @mql5dev
#MQL5 #MT5 #Chart
β€31π¨βπ»2π2
Introducing a professional library designed for seamless integration of Telegram Bots with MetaTrader 5. This comprehensive solution facilitates the transmission of trading signals, screenshots, reports, and real-time notifications to Telegram channels and groups.
Key features include real-time trade notifications for instantaneous alerts on position changes, automated chart captures with annotations, and periodic performance reports. The library ensures effective risk management with alerts for drawdown and margin levels, and a message queuing system for reliable delivery.
The multi-channel support allows communication with various Telegram chats and channels, and a customizable template system enhances message presentation. Smart rate limiting prevents API blocks, ensuring smooth operations.
Requirements include a MetaTrader 5 version 2375 ...
π Read | NeuroBook | @mql5dev
#MQL5 #MT5 #TelegramBot
Key features include real-time trade notifications for instantaneous alerts on position changes, automated chart captures with annotations, and periodic performance reports. The library ensures effective risk management with alerts for drawdown and margin levels, and a message queuing system for reliable delivery.
The multi-channel support allows communication with various Telegram chats and channels, and a customizable template system enhances message presentation. Smart rate limiting prevents API blocks, ensuring smooth operations.
Requirements include a MetaTrader 5 version 2375 ...
π Read | NeuroBook | @mql5dev
#MQL5 #MT5 #TelegramBot
π12β€7β2β‘1π¨βπ»1
A newly designed OHLC candlestick chart captures the highest ask and lowest bid price per bar, utilizing the high of the candle for the highest ask and the low for the lowest bid. This method effectively highlights real tick volatility typically not visible in lower timeframes, offering valuable insights into optimal stop-loss placements. In the revised version, an optimization reduces CPU load by moving the CopyTicksRange function call outside the loop, decreasing function call frequency. This enhances performance efficiency while maintaining chart accuracy. These improvements make the chart a more powerful tool for traders analyzing market behavior in detail.
π Read | Docs | @mql5dev
#MQL5 #MT5 #Candlestick
π Read | Docs | @mql5dev
#MQL5 #MT5 #Candlestick
β€22β4π2π¨βπ»2π1
The FinMem framework, based on large language models, presents a novel approach to trading through its unique layered memory system. This system is divided into Working and Long-Term Memory components, managing short-term data and long-lasting information, respectively. The profiling module adjusts the agent's behavior based on user preferences and market conditions, while the decision-making module combines real-time data with stored memories to craft strategies that consider both short-term trends and long-term patterns. This is key to enhancing the accuracy and efficiency of investment decisions.
The FinMem framework's implementation in MQL5 introduces the CNeuronFinMem object, which reproduces the stratified data processing approach. The integrated algorithm manages data by processing an environment-state tensor and comparing it with a trading ...
π Read | AlgoBook | @mql5dev
#MQL5 #MT5 #AlgoTrading
The FinMem framework's implementation in MQL5 introduces the CNeuronFinMem object, which reproduces the stratified data processing approach. The integrated algorithm manages data by processing an environment-state tensor and comparing it with a trading ...
π Read | AlgoBook | @mql5dev
#MQL5 #MT5 #AlgoTrading
β€21π¨βπ»1
In this latest installment of the MQL5 series, we explore a significant advancement in algorithmic trading by integrating manual chart analysis with automated trade execution. The article covers the development of an Expert Advisor (EA) that utilizes chart objects like rectangles and trend lines to make trades, bridging the gap between automated and discretionary trading. By drawing these elements on your chart, the EA dynamically adjusts to price movements, executing trades when the price engages with identified zones. The article details how to programmatically detect chart objects, allowing the EA to adapt instantly to any manual changes, enhancing both its flexibility and precision.
π Read | Docs | @mql5dev
#MQL5 #MT5 #ExpertAdvisor
π Read | Docs | @mql5dev
#MQL5 #MT5 #ExpertAdvisor
β€23π5π₯2π2π¨βπ»2
Dive into algorithmic trading with an exciting innovation in MetaTrader 5! This article presents a streamlined approach to Fibonacci Retracement analysis using an Expert Advisor (EA) designed for ease and efficiency. Traders can forget about the confusion of manually applying Fibonacci toolsβour EA simplifies the process by allowing you to input swing high and low values directly on the chart and automating the plotting of retracement and extension levels. It delivers real-time alerts when prices interact with these levels, transforming static analysis into a dynamic, interactive experience. The EA is meticulously detailed to ensure clear visualization and seamless usability, making it an invaluable tool for developers and traders alike.
π Read | Signals | @mql5dev
#MQL5 #MT5 #EA
π Read | Signals | @mql5dev
#MQL5 #MT5 #EA
β€39π8π3π¨βπ»2
The tool offers a detailed view of price levels for simulated trades, with user-defined Take Profit (TP) and Stop Loss (SL) values set as percentages. It supports both Buy and Sell directions. Users can benefit from access to concise statistics including an hourly entry breakdown, allowing better analysis and decision-making. This structured presentation of trade parameters and statistics aids in evaluating potential outcomes and optimizing trading strategies. A useful resource for strategic planning and review of projected trade scenarios.
π Read | CodeBase | @mql5dev
#MQL4 #MT4 #Strategy
π Read | CodeBase | @mql5dev
#MQL4 #MT4 #Strategy
β€30π6π¨βπ»4
Two new display modes have been added for enhanced data representation: as a comment in the upper left corner of the chart or as a graphical object. Users can select font type and size to meet individual needs. Graphical objects are easily movable with a double-click, allowing for repositioning without disrupting data updates. Visual notifications are also customizable; a predefined time can be set to change color and alert users before the current bar closes. Additional settings include selecting the time to display, customizing colors for graphical objects, and configuring alerts for upcoming bar closures. This update aims at providing a flexible and user-friendly interface for improved chart analysis and usability.
π Read | Signals | @mql5dev
#MQL5 #MT5 #Display
π Read | Signals | @mql5dev
#MQL5 #MT5 #Display
β€29β4π2π¨βπ»1