Time Segmented Volume (TSV) is a technical analysis indicator developed by Worden Brothers Inc. TSV segments a stockβs price and volume data according to specific time intervals, allowing for a detailed comparison to highlight periods of accumulation (buying) and distribution (selling). The methodology aims to identify leading market indicators by evaluating different time segments of price and volume metrics. This approach can offer valuable insights when analyzing market trends and investor behavior. Understanding TSV can enhance one's ability to forecast market movements based on detailed time-based segmentation of trading activities.
Source: Worden Brothers Inc.
#MQL4 #MT4 #Forex #Trading
Read more...
Source: Worden Brothers Inc.
#MQL4 #MT4 #Forex #Trading
Read more...
β€36π23π¨βπ»5π2π―2β‘1
Are you interested in machine learning? Join our multilingual forum where AI enthusiasts discuss neural networks and exchange useful information:
β How to use machine learning for trading
β AI-powered trading strategies
β Best models and best practices for training them
β Books and websites related to neural networks
β Real trading results obtained using AI robots
Get new ideas and share your expertise in this dedicated thread:
Machine learning in trading: theory, models, practice and algo-trading
β How to use machine learning for trading
β AI-powered trading strategies
β Best models and best practices for training them
β Books and websites related to neural networks
β Real trading results obtained using AI robots
Get new ideas and share your expertise in this dedicated thread:
Machine learning in trading: theory, models, practice and algo-trading
π68β€27π7π―7π¨βπ»6π₯5
There are innumerable ways AI can enhance trading strategies, yet evaluating each one before adoption is impractical. Let's revisit the strategy of multiple symbol analysis to see how AI can improve it.
Trading strategies with multiple symbol analysis rely on correlations between symbols. Correlation measures linear dependency between variables but does not imply a relationship. For instance, the USDZAR currency pair correlates with oil and gold prices. Understanding these correlations helps gauge risk and guide decisions.
For this analysis, market data from MetaTrader 5 was exported and used to train models with OHLC quotes and a combination of oil and gold prices. Results showed oil having a stronger correlation with USDZAR than gold. Models like linear regression and KNeighborsRegressor performed best, with hyperparameter tuning improving accurac...
#MQL5 #MT5 #AITrading #FinanceAI
Read more...
Trading strategies with multiple symbol analysis rely on correlations between symbols. Correlation measures linear dependency between variables but does not imply a relationship. For instance, the USDZAR currency pair correlates with oil and gold prices. Understanding these correlations helps gauge risk and guide decisions.
For this analysis, market data from MetaTrader 5 was exported and used to train models with OHLC quotes and a combination of oil and gold prices. Results showed oil having a stronger correlation with USDZAR than gold. Models like linear regression and KNeighborsRegressor performed best, with hyperparameter tuning improving accurac...
#MQL5 #MT5 #AITrading #FinanceAI
Read more...
π25β€16π¨βπ»4π€―3β‘2
Regularization is crucial in machine learning algorithms to enhance the performance of neural networks. It addresses the issue of biasing towards specific parameters, which can hinder network performance on out-of-sample data.
The primary methods of regularization include Lasso (L1), Ridge (L2), Elastic-Net, and Drop-Out. Each method introduces different benefits when correctly paired with activation and loss functions, thus preventing exploding or vanishing gradients.
For classifier networks, L1 regularization (Lasso) is useful as it promotes sparsity. For regressor networks, L2 regularization (Ridge) is favored for balanced weight distribution.
Drop-out regularization is beneficial for deeper networks as it improves generalization by forcing the network to learn redundant representations, making it robust and resilient to noisy data.
When testing o...
#MQL5 #MT5 #RegEx #ML
Read more...
The primary methods of regularization include Lasso (L1), Ridge (L2), Elastic-Net, and Drop-Out. Each method introduces different benefits when correctly paired with activation and loss functions, thus preventing exploding or vanishing gradients.
For classifier networks, L1 regularization (Lasso) is useful as it promotes sparsity. For regressor networks, L2 regularization (Ridge) is favored for balanced weight distribution.
Drop-out regularization is beneficial for deeper networks as it improves generalization by forcing the network to learn redundant representations, making it robust and resilient to noisy data.
When testing o...
#MQL5 #MT5 #RegEx #ML
Read more...
π23β€4π3π¨βπ»3
Dynamic Time Warping (DTW) offers powerful pattern recognition in financial time series, surpassing traditional methods like Euclidean distance. Originating from speech recognition, DTW aligns sequences with flexible timing, ideal for non-linear financial data.
DTW's strength lies in its ability to account for temporal distortions, enabling identification of unique patterns. The MQL5 implementation focuses on calculating distance scores with customizable step patterns, distance measures, and global constraints, improving alignment accuracy.
Key features include:
- Versatile alignment of sequences with different rhythms.
- Application-specific constraints for meaningful analysis.
- Essential class structures (CStepPattern, CConstraint, Cdtw) for DTW calculations.
This technique provides a robust tool for sophisticated financial market analysis.
#MQL5 #MT5 #trading #fintech
Read more...
DTW's strength lies in its ability to account for temporal distortions, enabling identification of unique patterns. The MQL5 implementation focuses on calculating distance scores with customizable step patterns, distance measures, and global constraints, improving alignment accuracy.
Key features include:
- Versatile alignment of sequences with different rhythms.
- Application-specific constraints for meaningful analysis.
- Essential class structures (CStepPattern, CConstraint, Cdtw) for DTW calculations.
This technique provides a robust tool for sophisticated financial market analysis.
#MQL5 #MT5 #trading #fintech
Read more...
β€16π15π¨βπ»4π₯3π1
A notable advancement in trading automation: the same code is compatible with both MT4 and MT5 platforms. This code fetches news automatically from FXStreet servers, allowing for thorough filtering by importance level, currency, and keyword. Key features include filtering news by High, Low, or Medium volatility, currency-specific filtering, keyword-based filtering, and an auto GMT offset check. It also includes a customizable dashboard to display upcoming news, which can be enabled or disabled as required. Additionally, lines indicating upcoming events are displayed on the chart. The code is flexible and can be modified to place trades at specific times related to events or to suspend trading during those periods. Access the MT5 version at the provided link.
#MQL4 #MT4 #FXNews #Forex
Read more...
#MQL4 #MT4 #FXNews #Forex
Read more...
π44β€23β‘13π5π¨βπ»4
Discover the power of non-linear methods in financial time series analysis! This article delves into innovative techniques for creating non-linear indicators on MetaTrader 5, transforming linear indicators using logarithmic price transformations to provide robust solutions where linear indicators fall short. Learn to utilize measures like the median and Bayesian smoothing to enhance sensitivity to price changes. Explore practical applications like robust trend analysis with the Weighted Median Ichimoku and improved pattern recognition using ordinal statistics. Ideal for both traders and developers, this comprehensive guide enhances algorithmic trading strategies and indicator accuracy comprehensively.
#MQL5 #MT5 #Trading #Finance
Read more...
#MQL5 #MT5 #Trading #Finance
Read more...
π26β€8π¨βπ»6π6
This indicator offers clear visualization of bid and ask prices, aiding in trade entry and exit decisions. It includes custom bid and ask lines that are labelled for easy identification. Unlabeled lines can cause confusion, making this a useful addition for clarity.
A buy order will execute at the current ask price, while a sell order will execute at the current bid price. Seeing the ask line clearly allows for more strategic buying near the low of a candle rather than the high. Similarly, a labelled bid line assists in selling near the high of a candle, maximizing potential gains. This utility simplifies the trading process and enhances decision-making efficiency.
#MQL5 #MT5 #Trading #Forex
Read more...
A buy order will execute at the current ask price, while a sell order will execute at the current bid price. Seeing the ask line clearly allows for more strategic buying near the low of a candle rather than the high. Similarly, a labelled bid line assists in selling near the high of a candle, maximizing potential gains. This utility simplifies the trading process and enhances decision-making efficiency.
#MQL5 #MT5 #Trading #Forex
Read more...
π69β€23π¨βπ»8β5π5π3π3
Concept:
Continuing from the previous article, the development of the ProgressBar control advances. The control comprises an underlay and a progress bar. Future iterations will support additional design elements on the underlay, such as texts and images. Currently, it exists as a static WinForms object.
Today, programmatic control functionality for the ProgressBar will be developed. This allows usage in applications to indicate progress during extensive operation sequences. Visual effects, such as moving glare, can provide indications of process continuation or completion.
Once complete, the ProgressBar control may remain visible until manually closed, enabling observation of process completion through ongoing visual effects. Multiple progress bars can indicate subprocess completion while the main process continues.
Visual effects will be ...
#MQL5 #MT5 #ProgressBar #UIDevelopment
Read more...
Continuing from the previous article, the development of the ProgressBar control advances. The control comprises an underlay and a progress bar. Future iterations will support additional design elements on the underlay, such as texts and images. Currently, it exists as a static WinForms object.
Today, programmatic control functionality for the ProgressBar will be developed. This allows usage in applications to indicate progress during extensive operation sequences. Visual effects, such as moving glare, can provide indications of process continuation or completion.
Once complete, the ProgressBar control may remain visible until manually closed, enabling observation of process completion through ongoing visual effects. Multiple progress bars can indicate subprocess completion while the main process continues.
Visual effects will be ...
#MQL5 #MT5 #ProgressBar #UIDevelopment
Read more...
π40β€15π2π¨βπ»2π2
The code in discussion is compatible with the mt4 platform. It automatically retrieves news from FXStreet servers, allowing users to filter by importance level, currency, and keywords. The mt4 version is available at the provided link.
Key features include:
- Filtering news by high, low, or medium volatility.
- Filter by currencies.
- Filter by news keywords.
- Automatic GMT offset check.
- A dashboard to show upcoming news (optional).
- Lines on the chart for all upcoming events.
The code can be easily modified to place trades at specific times before or after events or to halt trading during events.
#MQL5 #MT5 #FXNews #TradingTech
Read more...
Key features include:
- Filtering news by high, low, or medium volatility.
- Filter by currencies.
- Filter by news keywords.
- Automatic GMT offset check.
- A dashboard to show upcoming news (optional).
- Lines on the chart for all upcoming events.
The code can be easily modified to place trades at specific times before or after events or to halt trading during events.
#MQL5 #MT5 #FXNews #TradingTech
Read more...
π65β€32β6β‘4π¨βπ»3
Bird Swarm Algorithm (BSA) is a bioinspired evolutionary algorithm developed by Meng and colleagues in 2015. It utilizes swarm intelligence based on social interactions and behavior of bird flocks.
The algorithm integrates three aspects of bird behavior: flight, foraging, and vigilance. Individual birds employ unique strategies, leading to effective cooperation and support in optimizing solutions. Different individuals within the BSA algorithm can switch between these behaviors to balance exploration and exploitation, aiming to avoid premature convergence.
Flight behavior and foraging are dependent on global and individual fitness. BSA models flock behavior, where birds exhibit adaptations such as flocking, communication, adaptability, and leadership-following dynamics to find optimal solutions.
BSA combines these principles for an optimization ap...
#MQL5 #MT5 #birds #optimization
Read more...
The algorithm integrates three aspects of bird behavior: flight, foraging, and vigilance. Individual birds employ unique strategies, leading to effective cooperation and support in optimizing solutions. Different individuals within the BSA algorithm can switch between these behaviors to balance exploration and exploitation, aiming to avoid premature convergence.
Flight behavior and foraging are dependent on global and individual fitness. BSA models flock behavior, where birds exhibit adaptations such as flocking, communication, adaptability, and leadership-following dynamics to find optimal solutions.
BSA combines these principles for an optimization ap...
#MQL5 #MT5 #birds #optimization
Read more...
π27β€18π¨βπ»4π―3π1
This indicator provides alerts on MT4, mobile, and email, enhancing signal management efficiency. Press "N" to generate a new signal, and "D" to delete a signal. Customize your message preferences directly. The MT5 version is available at the provided link for enhanced compatibility.
Stay updated without constant screen monitoring, leveraging advanced alert functionalities. This tool is designed for streamlined communication and better trading decisions. Access the MT5-compatible version to optimize your trading strategy and ensure timely alerts across platforms.
For additional details, visit the link for comprehensive information on functionality and customization options.
#MQL4 #MT4 #trading #alerts
Read more...
Stay updated without constant screen monitoring, leveraging advanced alert functionalities. This tool is designed for streamlined communication and better trading decisions. Access the MT5-compatible version to optimize your trading strategy and ensure timely alerts across platforms.
For additional details, visit the link for comprehensive information on functionality and customization options.
#MQL4 #MT4 #trading #alerts
Read more...
β€48π40β6π₯4π4π4π¨βπ»2
Explore how Multiple Time-Frame Analysis and AI converge in MetaTrader 5. By integrating EURUSD price predictions, this series evaluates the predictive power of AI across various strategies. Data and models built with open, high, low, and close price information revealed that while Linear Regression provided the best benchmark, the Gradient Boosting Regressor (GBR) showed potential after optimization. Despite challenges in achieving superior accuracy, this study illustrates AI's capabilities and provides practical tools and scripts for developers. Implement and visualize AI in your trading strategies with clear guidance on exporting models to ONNX and integrating them into MQL5 Expert Advisors.
#MQL5 #MT5 #AITrading #Investing
Read more...
#MQL5 #MT5 #AITrading #Investing
Read more...
π28β€9β‘7π₯4π4π¨βπ»2
Dive into the future of trading with machine learning and predictive analytics, now seamlessly integrated with MetaTrader 5! By leveraging Pythonβs powerful libraries like scikit-learn and combining them with MQL5, traders can transition from static rule-based systems to dynamic, data-driven models that adapt to market fluctuations.
The step-by-step guide covers gathering historical data, processing it with Jupyter Lab, training a Random Forest model, and deploying it within MQL5 using ONNX for enhanced decision-making. Experience improved prediction accuracy, robust trade execution, and real-time adaptability. This revolutionary approach bridges financial analysis with AI, automating strategies that respond dynamically to market conditions.
#MQL5 #MT5 #MachineLearning #PredictiveAnalytics
Read more...
The step-by-step guide covers gathering historical data, processing it with Jupyter Lab, training a Random Forest model, and deploying it within MQL5 using ONNX for enhanced decision-making. Experience improved prediction accuracy, robust trade execution, and real-time adaptability. This revolutionary approach bridges financial analysis with AI, automating strategies that respond dynamically to market conditions.
#MQL5 #MT5 #MachineLearning #PredictiveAnalytics
Read more...
π19β€12π5π4β2π¨βπ»2
Discover invaluable insights into regression analysis for time series trading with our latest guide. We demystify the impacts of non-stationarity on regression models, using Monte Carlo simulations to highlight the pitfalls of spurious correlations. Learn how to leverage MQL5's powerful statistical and graphics libraries for precise calculations. We showcase the correct application of ordinary least squares and matrix algebra to estimate model parameters and how to diagnose model misspecification using residual analysis and auto-correlation functions. Enhance your algorithmic trading strategies by ensuring your regression models meet stationarity requirements for reliable predictions. Perfect for both seasoned and aspiring MetaTrader 5 developers!
#MQL5 #MT5 #Regression #Statistics
Read more...
#MQL5 #MT5 #Regression #Statistics
Read more...
β€17π11π2π¨βπ»2π1
Explore the power of Gaussian Process (GP) Kernels in algorithmic trading without diving into machine learning. This post simplifies how GP Kernels measure relationships in time series data, producing forecasts with confidence estimates - a key advantage over traditional methods like ARIMA.
Learn about the Radial Basis Function (RBF) kernel, its flexibility in modeling non-linear relationships, and how it handles noisy data with accuracy. Also, discover practical MQL5 coding for leveraging RBF kernels in predicting financial metrics.
Step up your trading strategy by incorporating uncertainty quantification from GP Kernels, enhancing decision-making and managing risks effectively. Perfect for both novice and expert MetaTrader 5 developers.
#MQL5 #MT5 #Gaussian #Statistics
Read more...
Learn about the Radial Basis Function (RBF) kernel, its flexibility in modeling non-linear relationships, and how it handles noisy data with accuracy. Also, discover practical MQL5 coding for leveraging RBF kernels in predicting financial metrics.
Step up your trading strategy by incorporating uncertainty quantification from GP Kernels, enhancing decision-making and managing risks effectively. Perfect for both novice and expert MetaTrader 5 developers.
#MQL5 #MT5 #Gaussian #Statistics
Read more...
π17β€11π¨βπ»3π2
Stay informed with this useful MT5 indicator that sends alerts to your mobile and email. Easily manage signals by pressing "N" for new alerts and "D" to delete them. Tailor your alert preferences for seamless integration into your workflow. MT4 version is available at mql5.com/en/code/40575. Operate efficiently without the need to constantly monitor your screen. Ideal for those requiring reliable updates on market movements without direct supervision. Ensure you stay ahead with timely and customized notifications.
#MQL5 #MT5 #trading #forex
Read more...
#MQL5 #MT5 #trading #forex
Read more...
β€12π9π¨βπ»5β2π2π₯2β‘1
Our growing channel audience has shown that delivering information via messenger is highly convenient and valued by our community. So, we decided to launch three more dedicated channels for our global audience:
β’ Trading AlgorΓtmico MQL5 in Spanish
β’ MQL5 Trading Algorithmique in French
β’ MQL5 ΠΠ»Π³ΠΎΡΡΠ΅ΠΉΠ΄ΠΈΠ½Π³ in Russian
You can now receive timely notifications about the latest algorithmic trading updates and cutting-edge technological trends in your native language.
In these channels, we publish daily materials from the Articles and CodeBase sections, as well as important information: announcements of MetaTrader 5 platform updates, top forum discussions, and other news from the world of trading.
Subscribe, and we will deliver the most useful and interesting content directly to your favorite messenger's feed. Share the channel links with colleagues and add reactions to our posts.
β’ Trading AlgorΓtmico MQL5 in Spanish
β’ MQL5 Trading Algorithmique in French
β’ MQL5 ΠΠ»Π³ΠΎΡΡΠ΅ΠΉΠ΄ΠΈΠ½Π³ in Russian
You can now receive timely notifications about the latest algorithmic trading updates and cutting-edge technological trends in your native language.
In these channels, we publish daily materials from the Articles and CodeBase sections, as well as important information: announcements of MetaTrader 5 platform updates, top forum discussions, and other news from the world of trading.
Subscribe, and we will deliver the most useful and interesting content directly to your favorite messenger's feed. Share the channel links with colleagues and add reactions to our posts.
β€59π32π₯10β7π7π―4π€3
This Expert Advisor (EA) originated as a task to trail equity. Subsequent additions included managing individual trades and manually setting prices to initiate a grid of pending orders. This EA does not contain conditions to open trades autonomously. Users must identify market areas where they would manually open a grid of orders. Upon identifying such an area, input the desired price for the EA to open a grid of pending orders. When the market reaches the specified price, the EA will send the grid and manage trades according to user-defined parameters, including Stop Loss and trailing actions. As of 13 Sep 2022, the EA compiles without errors.
#MQL5 #MT5 #trading #EA
Read more...
#MQL5 #MT5 #trading #EA
Read more...
π30β€15π4π3π¨βπ»3π₯1
Optimizing trading strategies across multiple time periods helps assess their robustness. The period of 2018-2022 includes diverse market conditions and is sufficiently short for practical testing. MetaTrader 5βs forward period testing divides this span into main and forward sections, effectively evaluating strategies on unseen data.
Instances are optimized on past data and tested against future data. This serves as Out-Of-Sample (OOS) testing. Although initially overlooked, forward period analysis helps verify strategy performance beyond the optimization phase.
Observations indicate performance degradation in EAs during the forward period. Increased drawdown and elongated recovery times are common but manageable, suggesting room for further parameter refinement. Future work should include parameter clustering to mitigate these issues and ensure more r...
#MQL5 #MT5 #backtest #forex
Read more...
Instances are optimized on past data and tested against future data. This serves as Out-Of-Sample (OOS) testing. Although initially overlooked, forward period analysis helps verify strategy performance beyond the optimization phase.
Observations indicate performance degradation in EAs during the forward period. Increased drawdown and elongated recovery times are common but manageable, suggesting room for further parameter refinement. Future work should include parameter clustering to mitigate these issues and ensure more r...
#MQL5 #MT5 #backtest #forex
Read more...
π35β€6β4π¨βπ»3β‘2π2π2