A script has been developed to calculate autocorrelation and partial autocorrelation functions, displaying results graphically. Key input parameters include:
1. N: Data window for calculation, where a default value of 100 is set. Capable of handling large datasets, it efficiently processes over 100,000 bars.
2. K: Number of lags for analysis, defaulted at 16. Typically, analysis remains effective with lags under 40, though the script supports up to 500.
3. start_pos: Defines data window offset, with zero indicating calculations start from the latest loaded bar.
4. duration: Chart display period, set for 10 seconds.
These settings facilitate comprehensive time series analysis, enabling efficient examination of large datasets for technical insights. Adjust parameters according to specific analysis needs.
π Read | Calendar | @mql5dev
#MQL5 #MT5 #script
1. N: Data window for calculation, where a default value of 100 is set. Capable of handling large datasets, it efficiently processes over 100,000 bars.
2. K: Number of lags for analysis, defaulted at 16. Typically, analysis remains effective with lags under 40, though the script supports up to 500.
3. start_pos: Defines data window offset, with zero indicating calculations start from the latest loaded bar.
4. duration: Chart display period, set for 10 seconds.
These settings facilitate comprehensive time series analysis, enabling efficient examination of large datasets for technical insights. Adjust parameters according to specific analysis needs.
π Read | Calendar | @mql5dev
#MQL5 #MT5 #script
β€21π3
A library for keyboard operation is essential for managing keyboard layouts and key processing. It includes comprehensive data on various keyboard layouts, allowing for the configuration and recognition of different key arrangements. This library aids in determining the status of keys, whether they are pressed, released, or held down, and provides efficient processing for these events to trigger corresponding actions in applications.
An example usage scenario includes handling key inputs in a software program, where the library detects the keyboard layout in use, interprets user input correctly, and reflects real-time key status changes. By integrating such a library, developers can ensure their applications respond accurately to various keyboard inputs across different systems and configurations. This enhances user interaction and input reliability in d...
π Read | Freelance | @mql5dev
#MQL5 #MT5 #Keyboard
An example usage scenario includes handling key inputs in a software program, where the library detects the keyboard layout in use, interprets user input correctly, and reflects real-time key status changes. By integrating such a library, developers can ensure their applications respond accurately to various keyboard inputs across different systems and configurations. This enhances user interaction and input reliability in d...
π Read | Freelance | @mql5dev
#MQL5 #MT5 #Keyboard
β€15π2
Explore a new approach in trading with the integration of RSI for smart stop-loss mechanisms. The research compares two strategies: a traditional fixed stop-loss against an innovative RSI-based stop-loss system. The findings reveal that while RSI lowers the risk of being hunted, traditional methods demonstrate higher profitability and consistency in practice. Notably, the RSI strategy showcases reduced risk and psychological benefits for traders, offering an alternative for those seeking a more methodical approach. For developers and traders, this insight highlights the importance of risk management and presents RSI as a potential tool to minimize stop-loss hunts, albeit with some trade-offs in profitability.
π Read | Freelance | @mql5dev
#MQL5 #MT5 #Strategy
π Read | Freelance | @mql5dev
#MQL5 #MT5 #Strategy
β€19π3β2
Deploying machine learning-driven trading applications poses numerous challenges, primarily due to hard-to-detect errors not addressed in standard literature. A major issue is model assumptions violation, which often leads to silent failures in trading algorithms. All statistical models require assumptions about data relationships, and flexible models with minimal assumptions are often preferred. However, a model without any assumptions is unfeasible.
Models depend on the assumption that the target is a function of given observations. Violating this foundational assumption can lead to unnoticed failures. Existing statistical tests to verify assumptions are problematic and may yield misleading results, exposing practitioners to substantial risks.
A proposed solution involves generating new candidate targets from input observations. This self-supervised le...
π Read | AppStore | @mql5dev
#MQL5 #MT5 #ML
Models depend on the assumption that the target is a function of given observations. Violating this foundational assumption can lead to unnoticed failures. Existing statistical tests to verify assumptions are problematic and may yield misleading results, exposing practitioners to substantial risks.
A proposed solution involves generating new candidate targets from input observations. This self-supervised le...
π Read | AppStore | @mql5dev
#MQL5 #MT5 #ML
β€24π6π2
An advanced MetaTrader 5 Expert Advisor (EA) seamlessly combines Smart Money Concepts (SMC) like Order Blocks, Fair Value Gaps, and Break of Structure with real-time market sentiment analysis. The EA dynamically adapts to market conditions, selecting optimal strategies for bullish, bearish, or neutral phases. It operates across multi-timeframes to analyze trends and volatility, ensuring a cohesive trading approach. By focusing on sentiment and structural price insights, the system intelligently executes trades aligned with market directions, enhancing efficiency and precision. This framework offers a sophisticated tool for traders and developers aiming to implement adaptive algorithmic trading strategies.
π Read | Signals | @mql5dev
#MQL5 #MT5 #EA
π Read | Signals | @mql5dev
#MQL5 #MT5 #EA
β€36π2
Analyzing indicator combinations for the VGT ETF was the previous focus, but here the goal shifts towards selecting complementary indicators methodically. The process of selecting technical indicators is prone to subjectivity and could lead to biases like survivorship and hindsight-confirmation. Rigorous methods are crucial, particularly for ETFs like FXI, which exhibits dynamic behavior influenced by external events. Volatility, momentum shifts, and liquidity changes mandate a robust analytical approach.
A Python-based plan integrates segmentation of FXIβs data into quarterly βdiscrete-windowsβ to assess indicator performance across market regimes. Data preparation is critical to ensure integrity with operations to validate, re-synchronize, and label data properly. A well-organized dataset facilitates reliable indicator scoring with minimal errors.
...
π Read | Signals | @mql5dev
#MQL5 #MT5 #Dataset
A Python-based plan integrates segmentation of FXIβs data into quarterly βdiscrete-windowsβ to assess indicator performance across market regimes. Data preparation is critical to ensure integrity with operations to validate, re-synchronize, and label data properly. A well-organized dataset facilitates reliable indicator scoring with minimal errors.
...
π Read | Signals | @mql5dev
#MQL5 #MT5 #Dataset
β€54β‘8π5π€―4
The primary function of this indicator is to assess the possibility of price maximums and minimums. It begins by gathering historical price data for analysis. By evaluating the current market conditions and comparing them to historical statistics, the indicator generates signals. These signals can serve as an auxiliary filter to predict potential market reversals.
Key parameters include iPeriod, denoting the period length with a minimum of 2, and History, indicating the number of bars analyzed for statistical collection. A History value of 0 implies a comprehensive analysis of all data. Be aware that larger history values may slow down initialization. The Percent parameter sets the signal threshold; a higher value results in less frequent alerts. Initial calculations may require additional time due to the extensive statistical gathering process.
π Read | NeuroBook | @mql5dev
#MQL5 #MT5 #Indicator
Key parameters include iPeriod, denoting the period length with a minimum of 2, and History, indicating the number of bars analyzed for statistical collection. A History value of 0 implies a comprehensive analysis of all data. Be aware that larger history values may slow down initialization. The Percent parameter sets the signal threshold; a higher value results in less frequent alerts. Initial calculations may require additional time due to the extensive statistical gathering process.
π Read | NeuroBook | @mql5dev
#MQL5 #MT5 #Indicator
β€33π4
Automating trading processes is instrumental in addressing prop firm challenges. These firms impose strict rules that differ from personal trading, requiring adherence to drawdown and risk limits. Traders often excel in strategy but struggle with emotional discipline and manual risk monitoring.
The designed Expert Advisor (EA) offers a solution by automating trade execution with built-in risk management. It evaluates trade setups based on strict criteria, preventing rule breaches with a 2% risk cap per trade. Utilizing ATR for stop-loss levels, it avoids risks during volatile news periods.
The EA's robust logic handles gold's volatility specifically. It dynamically adjusts position sizing and employs precise trade management. This includes trailing stops and profit-taking mechanisms to optimize reward-to-risk ratios. Key features include drawdown protect...
π Read | AlgoBook | @mql5dev
#MQL5 #MT5 #EA
The designed Expert Advisor (EA) offers a solution by automating trade execution with built-in risk management. It evaluates trade setups based on strict criteria, preventing rule breaches with a 2% risk cap per trade. Utilizing ATR for stop-loss levels, it avoids risks during volatile news periods.
The EA's robust logic handles gold's volatility specifically. It dynamically adjusts position sizing and employs precise trade management. This includes trailing stops and profit-taking mechanisms to optimize reward-to-risk ratios. Key features include drawdown protect...
π Read | AlgoBook | @mql5dev
#MQL5 #MT5 #EA
β€68β6π4π―4π4
Currently drafting a series of articles on developing a multicurrency Expert Advisor (EA) with multiple trading strategies. Code from these articles will be available in a library, and it's advised to review it sequentially to understand progressive improvements.
Part 1 focuses on integrating multiple strategies within a single EA, enhancing risk diversification and trading stability without managing them separately. Part 2 progresses by shifting market position handling to the EA level, enabling strategies to function virtually. Part 3 involves revisiting and optimizing the architecture based on initial development experiences.
Part 4 adds functionalities for handling pending orders and ensuring state persistence after system restarts. Part 5 introduces variable position sizing, moving beyond fixed sizes for live trading.
Part 6 aims to aut...
π Read | VPS | @mql5dev
#MQL5 #MT5 #ExpertAdvisor
Part 1 focuses on integrating multiple strategies within a single EA, enhancing risk diversification and trading stability without managing them separately. Part 2 progresses by shifting market position handling to the EA level, enabling strategies to function virtually. Part 3 involves revisiting and optimizing the architecture based on initial development experiences.
Part 4 adds functionalities for handling pending orders and ensuring state persistence after system restarts. Part 5 introduces variable position sizing, moving beyond fixed sizes for live trading.
Part 6 aims to aut...
π Read | VPS | @mql5dev
#MQL5 #MT5 #ExpertAdvisor
β€23
Recent evaluations have highlighted performance and accuracy issues with the standard API functions ChartXYToTimePrice and ChartTimePriceToXY. ChartXYToTimePrice fails to function correctly when X and Y parameters fall outside the visible chart window, defaulting to zero values. Additionally, ChartTimePriceToXY experiences inaccuracies in certain scenarios. Both functions exhibit slow performance.
To address these issues, a revised script demonstrates improved accuracy across all parameter ranges. It utilizes a method where X and Y coordinates are translated to time and price and then reverted back. Accuracy is validated if input coordinates match the output. A discrepancy indicates functional errors, notating the issue during execution. The script concludes by reporting the final outcome, remaining silent if functionality is assured.
π Read | AppStore | @mql5dev
#MQL5 #MT5 #script
To address these issues, a revised script demonstrates improved accuracy across all parameter ranges. It utilizes a method where X and Y coordinates are translated to time and price and then reverted back. Accuracy is validated if input coordinates match the output. A discrepancy indicates functional errors, notating the issue during execution. The script concludes by reporting the final outcome, remaining silent if functionality is assured.
π Read | AppStore | @mql5dev
#MQL5 #MT5 #script
β€25π1