Abstract
This study focuses on successful Forex trading by emphasizing the importance of identifying market trends and utilizing trend analysis for informed decision-making. The authors collected low-correlated currency pair datasets to mitigate multicollinearity risk. Authors developed a two-stage predictive model that combines regression and classification tasks, using the predicted closing price to determine entry and exit points. The model incorporates Bi-directional long short-term memory (Bi-LSTM) for improved price forecasting and higher highs and lower lows (HHs-HLs and LHs-LLs) to identify trend changes. They proposed an enhanced DeepSense network (DSN) with all member-based optimization (AMBO-DSN) to optimize decision variables of DSN. The performance of the models was compared to various machine learning, deep learning, and statistical approaches including support vector regressor (SVR), artificial neural network (ANN), auto-regressive integrated moving average (ARIMA), vanilla-LSTM (V-LSTM), and recurrent neural network (RNN). The optimized form of DSN using genetic algorithm (GA), particle swarm optimization (PSO), and differential evolution (DE) was compared with AMBO-DSN, yielding satisfactory results that demonstrated comparable quality to the observed trends on the original currency pairs. The effectiveness and reliability of the AMBO-DSN approach in forecasting trends for USD/EUR, AUD/JPY, and CHF/INR currency pairs were validated through statistical analysis while considering computational cost.
Keywords
Introduction
Forecasting of currency exchange in Forex market provides a platform to predict the current and future exchange price of currencies under consideration and perceiving the market trends such as; up-trends (higher lows), down-trends (lower highs) or side-ways (ranging) utilizing the historical data and various facts affecting this market [1, 2, 3, 4, 5]. The volatility of this market makes the forecasting more difficult than the economic fundamentals that are supposed to determine the market movements. The literature suggests the basic approach of determining the supply and demand is to understand the investors’ plan of purchase to acquire or sell currencies in near future. Also, the investors and traders must have thorough understanding of market drivers, current status of relationship between markets, their reason of relationship, various charts, cause of patterns and signals, previous price movements, consensus in other markets, the suitable time to trade etc. [2, 6, 7]. The analysts are mainly focussing on those fundamental facts and various statistical and forecasting tools to identify the correct market signal where the current exchange rate is heading next [8, 9]. Identifying market trends and understanding profitable entry and exit points are key to success in the Forex market [4, 5]. Trend analysis plays a crucial role in market analysis, providing insights into market direction, helping traders make informed decisions on trade timing and position size. It also aids in identifying support and resistance levels for setting stop-loss and take-profit levels. By focusing on trends, traders can avoid impulsive decisions based on short and long term fluctuations, improving their chances of success [6, 7, 8, 9, 10].
Researchers and professionals are increasingly utilizing machine learning (ML) and deep learning (DL) techniques for trend analysis in the financial market [11, 12, 13]. DL strategies, including artificial neural networks (ANNs) and their variants, combined with macroeconomics and technical indicators, have demonstrated the ability to predict future prices and trends in Forex data. DL strategies offer several advantages for Forex market analysis. They can handle large volumes of complex and unstructured data, enabling a comprehensive market analysis. DL algorithms can learn from data patterns and trends, making accurate predictions and identifying profitable trading opportunities. This is beneficial for traders employing quantitative trading strategies. DL algorithms continuously adapt and improve, allowing traders to stay ahead of the market and adjust their strategies accordingly and empower traders to make informed decisions and achieve greater success [12, 13, 14, 15]. LSTM and its variants are popular DL strategies for Forex market prediction with several advantages [15, 16]. LSTMs excel at processing sequential data, such as time-series data, capturing temporal dependencies and patterns for accurate market predictions. Their ability to retain relevant information over a long period enables better predictions for medium to long-term trades [17, 18, 19]. Moreover, LSTMs can be trained with smaller datasets, reducing the need for extensive data collection. Another promising approach gaining popularity is the DeepSense network (DSN), which combines CNN and RNN to extract spatial and temporal features from time series data [20, 21, 22, 23]. CNNs capture patterns and trends, while RNNs model temporal dependencies, making them suitable for time series analysis [22, 23, 24, 25]. The DSN network, trained with labelled time series data, learns to predict output based on input data, and can be used for predictions on new data [24, 25, 26, 27, 28].
This paper investigates various DL strategies, including Vanilla-LSTM (V-LSTM), Bidirectional-LSTM (Bi-LSTM) [1, 3, 29, 30, 31, 32] along with RNN, support vector regressor (SVR) [33], ANN, autoregressive integrated moving average (ARIMA) [34] and DSN [20, 21, 22, 23, 24, 25, 26, 27, 28]. It also integrates the all member-based optimizer (AMBO) [35] meta-heuristic optimizer with the DSN network to enhance classification accuracy and improve understanding of Forex market trends. The study aims to forecast the closing price and directional movements of currency pairs using trend analysis over short-term predictive horizons. This study achieved several objectives such as;
To address multicollinearity, low-correlation datasets of three currency pairs are collected, enabling the model to capture distinct factors for each pair and enhance prediction accuracy. Augmenting the currency pairs with trend-based indicators namely moving average (MA), moving average convergence divergence (MACD), relative strength index (RSI), and on balance volume (OBV) [36, 37], a two-stage predictive model is developed, incorporating regression and classification tasks. This feature augmentation helps identify hidden relationships, generate new features, and provide trading insights. Bi-LSTM is explored for closing price forecasting with augmented attributes (AAs). Its ability to process time series data in both directions, retain information for longer periods, and handle nonlinear relationships makes it a promising tool for Forex market forecasting. The Bi-LSTM has been shown to outperform other traditional time series models such as; ARIMA, ANN, SVR, V-LSTMs [16, 17, 18, 19, 29, 30, 31] and RNNs [13, 14, 15, 38, 39, 40, 41], making it a promising tool for Forex market forecasting; Trend directions of currency pairs are obtained using higher highs and lower lows (HHs-HLs and LHs-LLs) [42, 43, 44, 45] from predicted closing prices. These trend indicators help traders make better decisions, avoid false signals, and reduce prediction risk. An enhanced DSN network using AMBO is proposed for trend analysis. DSN extracts high-level representations from heterogeneous time-series data, while AMBO optimizes the model’s decision variables for improved performance and adaptability to market conditions. Performance of the proposed regression and classification models is recorded and validated using various ML, DL, and optimization strategies [11, 12, 13, 14, 15].
The rest of work is organized as follows; the Section 2 reviews few recent literatures on Forex market trading and trend strategies, followed by a strong background detail of this proposed work in Section 3. The Section 4 discusses the experimentation, result analysis and validation of the proposed forecasting model. The discussions on key observations of this study are given in Section 5 and finally, the Section 6 concludes the work with some future scopes of this work.
DL strategies have emerged as promising tools for accurate and reliable predictions in Forex market. Researchers have explored CNNs, RNNs, LSTMs, and deep belief networks for financial market forecasting and trend analysis. CNNs extract features and capture non-linear relationships, achieving accuracies above 90%. RNNs model dynamic relationships with accuracies above 95%. LSTMs and their variants handle long-term dependencies and achieve accuracies above 97%. This section reviews the current research on these DL methods and their hybrid forms for financial market predictions.
Lu et al. [46] proposed a combined CNN-LSTM model to analyze relationships among time series data for predicting stock prices. Zhang et al. [47] utilized temporal convolutional networks (TCNs) to accurately estimate volatility and VaR for financial applications, and outperformed other models in terms of root mean square error (RMSE) and mean absolute error (MAE). Similarly, Zou et al. [48] proposed a new multiscale approach for estimating value at risk (VaR) in crude oil markets using ARMA-GARCH models and a CNN-based nonlinear ensemble model, which produced improved forecasting accuracy. Durairaj and Mohan [49] proposed a hybrid model combining Chaos theory, CNN, and polynomial regression for financial time series prediction, which outperformed several used models in various performance metrics. André et al. [50] proposed a new approach, DESCINet, using CNNs in a binary tree structure with skip connections to capture temporal relationships within a sequence, and significantly improved forecast accuracy on five real-life datasets.
A novel ANN architecture was suggested, integrating multi-layer perceptron (MLP) and ERNNs with a stochastic time effective function by Wang and Wang in [51]. This fusion aimed to enhance the precision of forecasting crude oil price fluctuations. Encouraging results were observed, demonstrating the model’s effectiveness in predicting four distinct time series indices. Barkan et al. [52] proposed a hierarchical RNN model to predict disaggregated inflation components of CPI. The model significantly outperformed existing inflation prediction baselines. Nasirtafreshi [53] proposed a LSTM-based RNN model for cryptocurrency transaction analysis. The model showed superior performance compared to other similar methods. Dey et al. [54] compared the performance of RNN, LSTM, and GRU models for predicting stock prices using three companies’ datasets. The study revealed that LSTM and GRU models outperformed RNN, with GRU producing fewer errors compared to LSTM. Hyunsun and Choi [55] proposed hybrid DL models combining RNN-based models such as CNN-LSTM, GRU-CNN, and ensemble models for forecasting stock market indices. The study also introduced averaging of high and low prices as a novel feature.
Pham et al. [16] used DL techniques to predict stock prices for 20 companies in the VN-index stock exchange over a period of 5 years, and evaluated the effectiveness of three different variations of LSTM (Vanilla, Stacked, Bi-directional). A comprehensive study by Lawi et al. [17] put forth a collection of eight novel architectural models for stock price forecasting. These models involved the fusion of LSTM and GRU models with four distinct NN block architectures. To gauge their effectiveness, the performance of these models was assessed using three different accuracy measures. Hum et al. [18] proposed a single layer LSTM model to forecast the closing price of the S&P 500 index for the following day. This model incorporated a combination of nine predictors to enhance its predictive capabilities. An LSTM enforced decision support system was created specifically for swing traders in the Indian stock market by Banik et al. [19]. This system was designed to provide accurate analysis and prediction of future stock values. By incorporating a range of technical indicators, the system demonstrated a high level of accuracy in forecasting future stock values.
Trend analysis is crucial in Forex markets for predicting currency pair movements, enabling informed trading decisions, risk management, and identifying up-trends and down-trends. DL techniques have been explored for Forex market forecasting and trend analysis. It provides an edge in trading, facilitates risk management by identifying support and resistance levels, and helps plan for the long term. Multiple studies have investigated the potential of deep learning-based techniques for Forex market and trend forecasting. Das et al. [44] proposed a deep network-based system to predict currency pairs’ closing prices and used technical indicators to validate the predictions. Dash et al. [45] developed a two-stage algorithmic framework that used a deep predictive coding network to predict exchange prices and trend analysis tools to identify market trends. Sadeghi et al. [56] combined ensemble multi-class support vector machine (SVM) and fuzzy NSGA-II to handle uncertainty in technical indicators and optimize hyper-parameters for better trading performance.
An intriguing study introduced a novel ensemble DL approach known as LSTM-B by Sun et al. [57]. This approach effectively combines LSTM and the bagging ensemble learning strategy, aiming to achieve precise forecasts of exchange rates and enhance profitability in exchange rate trading. The authors emphasize that previous research on exchange rate forecasts has predominantly focused on forecast validity, neglecting the broader perspective of professional trading advice. Accordingly, the authors argue that assessing how these ensemble learning approaches can inform trading decisions holds greater significance. These studies not only demonstrate the potential of DL-based techniques in Forex trading but also provide valuable insights for developing effective trading systems. Inspired by these findings, we have undertaken an empirical design of a two-stage Forex currency prediction model, as well as a market trend forecasting model.
Methodologies adopted
This section discusses the various trend-based indicators, DL based tools, techniques, strategies and optimization techniques used for the experimentation, result analysis and validation along with a detailed discussion on the design of improved DSN network for classification task.
Trend-based indicators
Forex traders employ trend-based indicators like MA, MACD, RSI, OBV, and Ichimoku Kinko Hyo [36, 37] to predict price movements. These indicators use past price data to calculate moving averages, momentum, and technical factors, generating buy or sell signals. For example, moving average crossovers are commonly used. Trend-based indicators provide information on price trend direction and strength based on mathematical calculations using historical data. This study focuses on MA, MACD, RSI, and OBV indicators for short-term predictions (5 and 15 days). MAs determine trends and generate signals, MACD compares exponential moving averages, RSI measures price action strength, and OBV gauges buying/selling pressure. Availability of price and volume data is crucial for calculating these indicators.
ARIMA, ANN, SVR, RNN, V-LSTM and Bi-LSTM for forecasting of forex market
ARIMA is a widely-used statistical model in finance for predicting future values based on observed trends and patterns. While effective for linear trends and seasonality, ARIMA struggles with non-linear patterns and needs additional data pre-processing. ANNs predict Forex market trends well but tend to overfit. SVR, using SVM, finds the best linear or nonlinear function for predicting future prices. It handles high-dimensional data and is robust to noise, making it suitable for Forex market prediction.
RNN models are used in Forex market prediction to learn patterns and relationships between market factors and price movements. Historical data and relevant market information are pre-processed and formatted into a sequence format. LSTM is commonly used due to its ability to handle long-term dependencies. The model is trained using a suitable loss function and optimization algorithm. The architecture includes recurrent layers processing input sequences and passing outputs to the next time step. Different types of recurrent cells can be used. Dense layers perform additional processing, with the last dense layer predicting the output [38, 39, 40]. V-LSTM is a powerful model for Forex market prediction, handling missing and noisy data. Historical price and volume data are pre-processed, normalized, and split. The V-LSTM model is trained using an appropriate loss function and optimization algorithm [13, 14, 15]. The architecture includes an input layer, an LSTM layer capturing long-term dependencies with memory cells, gates, and an output layer. This makes V-LSTM ideal for sequence prediction tasks [29, 30, 31]. A Bi-LSTM enhances context understanding by considering both past and future information. It consists of two LSTM layers: one processes the sequence in the forward direction, while the other processes it backward. At each time step, inputs from the current and previous time steps are processed by both layers, which contain memory cells and gating mechanisms. The outputs are concatenated and passed through a concatenation layer, combining forward and backward context for the current time step, resulting in a prediction [32].
The DeepSense network (DSN)
The DSN network is a DL architecture combining CNN and RNN layers to extract features and predict outcomes. Its advantage lies in learning features from raw data without manual engineering, beneficial for complex data modelling. The steps involve pre-processing, CNN feature extraction, RNN temporal modelling, fully connected layers for prediction, training on a large dataset, and making predictions on new data [20, 21, 22, 23, 24, 25, 26]. By combining CNNs and RNNs, spatial and temporal features are automatically extracted, resulting in a comprehensive representation that improves accuracy. The DSN outperforms traditional ML algorithms and other DL architectures for time series analysis by automatically learning features and temporal patterns. Its scalable architecture is suitable for real-world applications with substantial data [27, 28]. The working principle of the DSN network can be summarized as follows; (a) Input data: Time series data is taken as input, which can be single-channel or multi-channel. (b) Feature extraction: Convolutional layers extract spatial features, capturing patterns and structures. (c) Temporal modeling: Recurrent layers capture temporal dependencies, capturing long-term patterns. (d) Fusion of features: Convolutional and recurrent features are combined through fusion layer. (e) Classification: Fully connected layers with softmax or linear activation produce the final output. (f) Training: Back-propagation is used to update model weights based on loss function gradients. (g) Evaluation: Model performance is assessed on a separate test set using metrics like accuracy, precision, recall, F1 score, and MSE.
The key idea behind use of DSN network in this study is that, it utilizes in-built feature fusion by combining CNN and RNN layers to create a comprehensive feature representation for accurate predictions. On the other hand, feature ensemble strategies combine multiple models trained on different feature sets for improved robustness and accuracy. Feature fusion is ideal for complex time-series data, while feature ensemble is suitable for diverse or highly variable data [56, 57].
All Member-based optimizer (AMBO)
Member-based optimization algorithms, like AMBO, improve solution quality by gradually enhancing a population of potential solutions. Inspired by social animals, AMBO generates candidate solutions and leverages collective intelligence for superior results. It balances local and global search strategies to explore the search space effectively, avoiding local optima. Global search resembles birds flocking, adjusting positions based on neighbours, while local search mirrors bees investigating their local surroundings. AMBO draws inspiration from collective animal behaviour, allowing all members in the search space to contribute to population updates, distinguishing it from traditional meta-heuristics. The following is an illustration of the working principle of the AMBO algorithm [35]:
Initialization of parameters: The important parameters such as; Design variables or Dim, design constraints, search space boundaries (Lower Bound and Upper Bound), fitness function used for the population evaluation, population size or total number of search agents, current iteration and maximum iterations are initialized;
Initialization of population randomly in the search space: The algorithm starts by creating a population of candidate solutions, called members or search
agents, randomly distributed in the search space using a population matrix (PM) as presented in Eq. (1), where the every row denotes a member of the population while each column corresponds to a variable of the optimization problem. Hence, the PM has a number of rows equivalents to the population size, and the number of columns equal to the number of variables in the optimization problem (Dim) where,
Evaluation of initial population using fitness function: Each member is evaluated using a fitness function (FF), which assigns a fitness value (
Local search and global search in the search space: Each member explores its local neighborhood to search for better solutions. The local search is inspired by the behavior of bees, where each bee investigates its local neighbourhood for food sources and in AMBO, each member in explores its local neighbourhood in search of better solutions. Similarly, the algorithm employs a global search strategy inspired by the behavior of birds flocking. In this strategy, each member or search agent adjusts its position based on the position of its neighbors in the search space. This adjustment is guided by two factors; attraction towards the best member in its neighborhood, and repulsion from other members in the same neighbourhood;
Updating of the position of member or agent in the search space: This PM undergo a two-stage update process. During the initial stage, each member’s update is determined by comparing their position with that of other members within the search space. If the new position improves the (FF value, it is considered acceptable for the population member. However, if the update fails to enhance the FF value, the member or search agent retains its previous position, as the update is deemed unacceptable. Equations (3), (4) and (5) are employed in these computations throughout the first phase.
Where,
Where, the new value for
Termination: The algorithm continues to iterate through steps
The AMBO algorithm employs a combination of local and global search strategies to explore the search space and avoid getting stuck in local optima. By harnessing the collective intelligence of the population of members, AMBO has shown promising results in solving a range of optimization problems.
Tailoring of DSN with AMBO (AMBO-DSN) classifier for trend forecasting model.
Broad overview of the proposed two-stage Forex market trend forecasting model.
In the realm of Forex trading, trend analysis plays a crucial role in identifying patterns within the price movements of currency pairs over time. This analysis provides valuable insights into short and long term market behavior and aids in making informed trading decisions. In the second phase of this research, the optimization of parameters within the DSN network becomes a focus. Parameters such as the kernel size of the first convolution layer, the configuration of the second convolution layer, the number of cells within the gated recurrent unit (GRU-1), and the activation function type within GRU-2 are optimized using the AMBO algorithm. This iterative algorithm updates the members of the population based on their fitness value, which is determined by their performance in predicting trends. During the global search phase, each member adjusts its position in the search space, guided by attraction towards the best member in its neighborhood and repulsion from other members in the same neighborhood. By exploring various combinations of convolution layers and GRUs within the DSN network, the population members gradually enhance their ability to predict market trends. The DSN network has been tailored incorporating the AMBO algorithm is illustrated in Fig. 1, representing the proposed approach for this work
The Fig. 2 illustrates a two-stage forecasting model aimed at predicting future prices and trends for three currency pairs. This model utilizes Bi-LSTM, DSN, and AMBO techniques. The primary objective of this experimental phase is to enhance the DSN architecture to achieve precise Forex trend forecasting. The algorithm takes inputs such as the DSN architecture, optimization parameters (Dim), and the number of iterations. At each iteration; the algorithm produces an output known as the best member (solution), which represents an optimized DSN configuration. The algorithm employs the FF function to evaluate the DSN architecture’s performance. This function measures the accuracy of the model in predicting Forex trends based on the specified Dim values outlined in Section 3.5 (first paragraph). The inputs are then fed into the DSN architecture, as depicted in Algorithm 1. Initially, an initial PM is created, with each row representing an individual DSN configuration. The population size, denoted by
Description of data samples and data range [58]
This section presents the results of experiments conducted on three Forex datasets US dollar (USD) to European currency (EUR), Australian dollar (AUD) to Japanese Yen (JPY), Swiss Franc (CHF) to Rupees of Indian (INR) as detailed in Table 1. The data for these currency pairs was collected from
Associated parameter values for predictive networks and optimization techniques
Associated parameter values for predictive networks and optimization techniques
In this proposed approach, consistency is maintained by keeping all standard parameters constant throughout the experimental findings. The specific parameters and their corresponding values for the predictive networks, classification techniques, and optimization strategies are provided in Table 2, offering detailed insights into their configuration.
Performance comparison of Bi-LSTM for USD/EUR with other predictive models for both 5 and 15 days forecasting horizons
Performance comparison of Bi-LSTM for USD/EUR with other predictive models for both 5 and 15 days forecasting horizons
In the first phase of the study, the goal is to predict short-term closing prices of three currency pairs using a dataset spanning ten years of historical data, which includes open, close, high, and low prices of the currencies. To enhance the analysis, trend-based indicators such as; MA, MACD, RSI, and OBV are incorporated into the datasets to form the augmented currency pairs coined here as AAs. Initially, the Bi-LSTM model is employed as the forecasting model for this experiment. The performance of the Bi-LSTM model is assessed using several evaluation metrics, including mean square error (MSE), mean absolute percentage error (MAPE), R-squared (R
In Table 3, the Bi-LSTM model had the lowest MSE and MAPE values and highest R
Performance comparison of Bi-LSTM for AUD/JPY with other predictive models for both 5 and 15 days forecasting horizons
Performance comparison of Bi-LSTM for AUD/JPY with other predictive models for both 5 and 15 days forecasting horizons
Performance comparison of Bi-LSTM for CHF/INR with other predictive models for both 5 and 15 days forecasting horizons
The Table 4 shows that the models have high MSE and MAPE values and low R
Similarly, the Table 5 shows that the Bi-LSTM model performed best for all three currency pairs. For USD/EUR, Bi-LSTM had the lowest MSE and MAPE values and the highest R
Closing price prediction for USD/EUR based on original, AAs, and prediction errors observed 5 and 15 days ahead.
Closing price prediction for AUD/JPY based on original, AAs, and prediction errors observed 5 and 15 days ahead.
Closing price prediction for CHF/INR based on original, AAs, and prediction errors observed 5 and 15 days ahead.
In this phase of experimentation, the article analyzes different models for predicting Forex prices and concludes that the Bi-LSTM model outperformed the others, including V-LSTM, RNN, SVR, ANN, and ARIMA, in terms of accuracy. The Bi-LSTM model had the lowest MSE and MAPE values and the highest R
During this experimental phase, the primary objective is to observe the directional movement of currency pairs, focusing on identifying up-trends and down-trends. This analysis serves several purposes for traders and analysts, including trend identification, determining entry and exit points, assessing risk-reward ratios, and gauging market sentiment. The figures presented in this section illustrate the observed up-trends (depicted by green arrows) and down-trends (depicted by orange arrows) based on the analysis of HHs-HLs and LHs-LLs ranging from 2014 to 2023 using the predicted output of the Bi-LSTM model. Specifically, Fig. 6(a) and 6(b) display the observed up-trends and down-trends for the USD/EUR currency pair using currency pair datasets with AAs for both 5 and 15 days, respectively. Similarly, Fig. 7(a), 7(b), 8(a), and 8(b) showcase the observed up-trends and down-trends for the AUD/JPY and CHF/INR currency pairs using currency pair datasets with AAs for 5 and 15 days. To evaluate the performance of the observed trends derived from the Bi-LSTM model, the total count of trends based on HHs-HLs and LHs-LLs for both the original currency pairs and currency pair datasets with AAs is considered for further analysis and experimentation. The provided tables (Tables 6 to 11) facilitate a comparison between the observed trends in the original currency pairs and the predicted trends generated by the Bi-LSTM model. These tables offer valuable insights into the model’s accuracy in predicting price movements for the three currency pairs across both 5 and 15-day forecast periods.
USD/EUR trends observed for based on HHs-HLs and LHs-LLs using Bi-LSTM network’s predicted closing price for (a) 5 days and (b) 15 days.
Tables 6 and 7 compare the observed price trends in the USD/EUR currency pair for 5-days and 15-days forecasting periods respectively. From Table 6, it can be seen that, the percentage of up-trends in the original currency pairs ranges from 42% in 2023 to 70% in 2017, while the percentage of down-trends varies from 30% in 2017 to 58% in 2023. The total number of trends observed based on HHs-HLs/LHs-LLs ranges from 34 in 2019 to 44 in 2020. The predicted output of the Bi-LSTM model shows a similar trend, with the percentage of up-trends ranging from 50% to 70% and the percentage of down-trends ranging from 30% to 58%. The total number of trends observed also follows a similar pattern. Table 7 presents a comparative analysis of observed price trends in the USD/EUR currency pair for different years. The Bi-LSTM model generally aligns with the observed trends. In most years, the model predicts a distribution of up-trends and down-trends that closely matches the observed trends. There are slight variations in the percentages, but the overall trend direction is consistent. The total number of trends observed by the model is also reasonably close to the observed trends. It can be inferred from those tables that, the Bi-LSTM model shows a reasonable alignment with the observed trends in the original currency pairs for the USD/EUR exchange rate over the forecast periods. It consistently captures the price movement direction over a 15-day forecast period across different years.
Price trends observed in each year for USD/EUR original currency pairs vs. predicted output of Bi-LSTM for 5 days ahead
AUD/JPY trends observed for based on HHs-HLs and LHs-LLs using Bi-LSTM network’s predicted closing price for (a) 5 days and (b) 15 days.
Price trends observed in each year for USD/EUR original currency pairs vs. predicted output of Bi-LSTM for 15 days ahead
CHF/INR trends observed for based on HHs-HLs and LHs-LLs using Bi-LSTM network’s predicted closing price for (a) 5 days and (b) 15 days.
Price trends observed in each year for AUD/JPY original currency pairs vs. predicted output of Bi-LSTM for 5 days ahead
Price trends observed in each year for AUD/JPY original currency pairs vs. predicted output of Bi-LSTM for 15 days ahead
Price trends observed in each year for CHF/INR original currency pairs vs. predicted output of Bi-LSTM for 5 days ahead
Price trends observed in each year for CHF/INR original currency pairs vs. predicted output of Bi-LSTM for 15 days ahead
Table 8 provides a comparison of observed price trends in the AUD/JPY currency pair and the predicted output of the Bi-LSTM model for a 5-day forecast period. Generally, the trends and predicted output align, but there are variations in the percentages of up-trends and down-trends. Some years show close percentages, while others have slight discrepancies. The Bi-LSTM model’s performance in capturing price movement direction in the AUD/JPY pair over a 5-day forecast period is mixed, with some years closely matching observed trends and others showing differences. Table 9 compares observed price trends and predicted output for a 15-day forecast period in the AUD/JPY currency pair. The percentages of up-trends and down-trends vary between observed trends and the model’s predictions. However, there are similarities and consistencies in certain years. In 2014, both observed and predicted trends had lower percentages of up-trends and higher percentages of down-trends. Similarly, in 2017, 2018, and 2021, both observed and predicted trends had the same percentages of up-trends and down-trends. But in other years, there are variations between observed and predicted trends. The predicted output of the Bi-LSTM model does not consistently align with observed trends in the AUD/JPY currency pair for a 15-day forecast period. There are variations in the distribution of up-trends and down-trends, indicating inconsistent performance in capturing price movement direction over this timeframe.
Similarly, the Table 10 compares observed price trends in the CHF/INR currency pair with the predicted output of the Bi-LSTM model for a 5-day forecast period. Overall, the model’s predictions aligned with the observed trends, although there were minor variations in the percentages of up-trends and down-trends. In some years, the distributions were equal, while in others, there were slight differences. However, the Bi-LSTM model consistently captured the direction of price movements for this currency pair across different years. Table 11 compares observed price trends with predictions made by the Bi-LSTM model for a 15-day forecast period in the CHF/INR currency pair. The predicted output closely aligned with observed trends, with slight variations in the percentages of up-trends and down-trends. In some years, the distributions were similar, while in others, the model’s predictions deviated from the observed trends. Overall, the Bi-LSTM model consistently captured the direction of price movements for the CHF/INR pair over the 15-day forecast period, demonstrating relatively consistent performance.
Year wise USD/EUR classification results for training and testing phases based on RNN, CNN and DSN for 5 days ahead
Year wise USD/EUR classification results for training and testing phases based on RNN, CNN and DSN for 5 days ahead
Year wise USD/EUR classification results for training and testing phases based on RNN, CNN and DSN for 15 days ahead
During this phase, the prediction of Forex market trends has been achieved through a classification process, utilizing the DSN enhanced with AMBO, referred to as AMBO-DSN. The observed trends, derived from the predictive outcomes of Bi-LSTM, have been utilized as the class labels for the DSN classifier, distinguishing between up-trends and down-trends based on HHs-HLs and LHs-LLs. To assess the performance of the DSN classifier, including its training and testing predictive accuracies, a comparison has been made with two other DL based classifiers, namely RNN and CNN. These comparisons have been conducted for each year, and the average accuracies spanning from 2014 to 2023 have been obtained. The results of these comparisons are presented in Tables 12 to 17, encompassing all three currency pairs for both short-term predictive days.
The classification results for the USD/EUR currency pair using RNN, CNN, and DSN models for different forecast periods are presented in Tables 12 and 13. For a 5-day forecast period (Table 12), the RNN model achieved an average training accuracy of 94.92% and an average testing accuracy of 93.4%. The CNN model displayed an average training accuracy of 94.56% and an average testing accuracy of 92.56%. However, surpassing both models, the DSN model exhibited superior performance with an average training accuracy of 97.01% and an average testing accuracy of 96.5%. It consistently outperformed the other models, attaining the highest training accuracy in 2018 (98.58%) and the highest testing accuracy in 2023 (97.81%). In Table 13, for a 15-day forecast period, the RNN model demonstrated an average training accuracy of 94.75% and an average testing accuracy of 93.56%. The CNN model yielded an average training accuracy of 93.04% and an average testing accuracy of 91.64%. Once again, the DSN model showcased the highest accuracy, recording an average training accuracy of 97.36% and an average testing accuracy of 96.67%. It consistently outperformed the other models, achieving the highest training accuracy in 2018 (98.88%) and the highest testing accuracy in 2022 (97.86%). It can be inferred that, the DSN model consistently exhibited the highest accuracy, followed by the RNN and CNN models, highlighting their potential for accurate predictions in forecasting the USD/EUR currency pair over both 5 and 15-day periods.
Year wise AUD/JPY classification results for training and testing phases based on RNN, CNN and DSN for 5 days ahead
Year wise AUD/JPY classification results for training and testing phases based on RNN, CNN and DSN for 15 days ahead
Table 14 presents the classification results for the AUD/JPY currency pair using RNN, CNN, and DSN models for a 5-day forecast period. The models performed well, with consistently high accuracy scores. The DSN model achieved the highest accuracy, with an average training accuracy of 97.26% and an average testing accuracy of 97.02%. Table 15 displays the classification results for the AUD/JPY currency pair using the same models but for a 15-day forecast period. The models showed consistent performance with minor fluctuations. Again, the DSN model demonstrated the highest accuracy, with an average training accuracy of 96.33% and an average testing accuracy of 96%. It can be observed that, the DSN model consistently outperformed the RNN and CNN models in both the 5-day and 15-day forecast periods for the AUD/JPY currency pair.
The classification results for the CHF/INR currency pair using RNN, CNN, and DSN models for 5-day and 15-day forecast periods are provided in Tables 16 and 17. In Table 16, the RNN model achieved an average training accuracy of 95.45% and an average testing accuracy of 94.79%. The CNN model displayed an average training accuracy of 95.17% and an average testing accuracy of 93.68%. Surpassing both models, the DSN model showcased superior performance with an average training accuracy of 97.37% and an average testing accuracy of 96.59%. The DSN model consistently exhibited exceptional accuracy in both the training and testing phases, demonstrating minor fluctuations. It achieved its highest accuracy in 2023, with a training accuracy of 98.47% and a testing accuracy of 98.03%. In Table 17, the RNN model exhibited strong performance with an average training accuracy of 94.88% and an average testing accuracy of 94.45%. The CNN model attained an average training accuracy of 93.96% and an average testing accuracy of 93.28%. Once again, the DSN model outperformed both models with an average training accuracy of 96.67% and an average testing accuracy of 96.17%. The DSN model consistently performed well across different years, showcasing training accuracies ranging from 94.81% to 98.97% and testing accuracies ranging from 94.66% to 98.03%.
Year wise CHF/INR classification results for training and testing phases based on RNN, CNN and DSN for 5 days ahead
Year wise CHF/INR classification results for training and testing phases based on RNN, CNN and DSN for 15 days ahead
Overall, across all three currency pairs it can be inferred that, the DSN model consistently outperformed the RNN and CNN models for both 5 and 15 days forecast periods, showcasing its effectiveness in accurately predicting currency pair trends. For the USD/EUR currency pair, the DSN model exhibited the highest accuracy among the three models. In the 5-day forecast period, it achieved an average training accuracy of 97.26% and an average testing accuracy of 97.02%. Likewise, in the 15-day forecast period, the DSN model showcased an average training accuracy of 96.33% and an average testing accuracy of 96% for the AUD/JPY currency pair. Regarding the CHF/INR currency pair, for both the 5-day and 15-day forecast periods, the DSN model consistently outperformed the RNN and CNN models. For the 5-day forecast period, the DSN model achieved an average training accuracy of 97.37% and an average testing accuracy of 96.59%. In the 15-day forecast period, it demonstrated an average training accuracy of 96.67% and an average testing accuracy of 96.17%.
Learning curve of GA-DSN, PSO-DSN, DE-DSN and AMBO-DSN for USD/EUR.
In this phase, the architectural enhancement of the DSN model has been addressed by incorporating the AMBO. To assess the learning ability of the AMBO, learning curves have been examined, providing valuable insights into the behaviour of the DSN model during the learning process. Comparisons have been made between the hybridized form of DSN with genetic algorithm GA, particle swarm optimization (PSO) and differential evolution (DE) [59, 60] (AMBO-DSN vs. GA-DSN and PSO-DSN and DE-DSN models), and the results are presented in Figs 9, 10, and 11 for the augmented currency pairs of USD/EUR, AUD/JPY, and CHF/INR, considering both predictive days. These figures demonstrate that the AMBO-DSN model converges within 22 to 32 iterations, outperforming the other compared models, except for the learning ability of USD/EUR in the 5-day predictive period.
Comparison of USD/EUR price trend prediction using optimized classifiers with trends observed on original currency pair datasets for 5 and 15 days ahead
Learning curve of GA-DSN, PSO-DSN, DE-DSN and AMBO-DSN for AUD/JPY.
Learning curve of GA-DSN, PSO-DSN, DE-DSN and AMBO-DSN for CHF/INR.
Comparison of AUD/JPY price trend prediction using optimized classifiers with trends observed on original currency pair datasets for 5 and 15 days ahead
Comparison of CHF/INR price trend prediction using optimized classifiers with trends observed on original currency pair datasets for 5 and 15 days ahead
Furthermore, the Tables 18, 19, and 20 provide a comprehensive analysis of the USD/EUR, AUD/JPY, and CHF/INR price trend predictions. These tables compare the predictions made by four optimized predictive models: GA-DSN, PSO-DSN, DE-DSN, and AMBO-DSN, for both 5-day and 15-day predictive periods. Each model’s predictions are evaluated against the trends observed on the original currency pair datasets. Upon analyzing the observations, it becomes apparent that the AMBO-DSN model emerges as the most reliable and accurate model for both the 5-day and 15-day ahead predictions. It consistently demonstrates the highest accuracy levels and closely aligns with the observed trends for both up-trends and down-trends. In the 5-day ahead predictions, the AMBO-DSN model consistently outperforms the other models in terms of accuracy. Similarly, when considering the 15-day ahead predictions, the AMBO-DSN model maintains its position as the most accurate model, closely resembling the observed trends. While the other models display varying degrees of alignment with the observed trends, the AMBO-DSN model consistently performs better across the board. Based on these observations, we can confidently conclude that the AMBO-DSN model is the optimal choice for predicting price trends in the given context. Its consistent high accuracy and close resemblance to the observed trends make it the preferred model among the evaluated options.
In the previous phase of experimentation, the effectiveness of the AMBO-DSN approach has been evaluated for currency pairs USD/EUR, AUD/JPY, and CHF/INR. The evaluation involved analyzing training and testing accuracies, learning curves, as well as referencing Tables 6 to 17 and Figs 9 to 11. Once the quality of the AMBO-DSN approach was established, it was employed for trend forecasting. To assess its performance, the trend percentages observed on the original datasets were compared with those obtained from the AMBO-DSN. The primary objective is to demonstrate that the proposed AMBO-DSN approach achieves a similar level of result quality as the trends observed from the original currency pair.
Comparison of USD/EUR price trend prediction using AMBO-DSN classifier with trends observed on original currency pair datasets and HHs-HLs/LHs-LLs for 5 and 15 days ahead
To analyze and compare the trends observed on the USD/EUR currency pair with those obtained from the AMBO-DSN classifier for 5 and 15 days ahead of trend forecasting, we will examine the data presented in Table 21 in relation to Tables 6 and 7, respectively.
The trends observed on the original datasets for USD/EUR show variations from year to year. The percentages of up-trends range from 42% in 2023 to 70% in 2017, while the percentages of down-trends vary from 30% in 2017 to 58% in 2023. The total number of observed trends, categorized as HHs-HLs/LHs-LLs, also fluctuates over the years (as indicated in Table 6 for 5 days). Similarly, for the 15 days prediction, the percentages of up-trends range from 38% in 2022 to 70% in 2017, and the percentages of down-trends vary from 30% in 2017 to 62% in 2022. The total number of observed trends, categorized as HHs-HLs/LHs-LLs, also fluctuates over the years (as indicated in Table 7 for 15 days). The AMBO-DSN approach demonstrates a similar trend pattern compared to the trends observed on the original datasets, indicating its effectiveness in forecasting trends (as depicted in Table 21) for both 5 and 15 days of prediction.
Comparison of AUD/JPY price trend prediction using AMBO-DSN classifier with trends observed on original currency pair datasets and HHs-HLs/LHs-LLs for 5 and 15 days ahead
The comparison of trends observed on the AUD/JPY currency pair with those obtained from the AMBO-DSN classifier for 5 and 15 days ahead of trend forecasting data presented in Table 22 in relation to Tables 8 and 9 respectively are discussed below.
The trends observed on the original datasets for AUD/JPY vary from year to year. The percentages of up-trends range from 46% in 2017 to 72% in 2016 and, the percentages of down-trends range from 28% in 2016 to 54% in 2018 (as given in Table 8). Similarly, for 15 days ahead of prediction, the percentages of up-trends range from 45% in 2014 to 72% in 2015. Similarly, the percentages of down-trends range from 28% in 2015 to 55% in 2014 (see Table 9). The total number of observed trends, categorized as HHs-HLs/LHs-LLs, also fluctuates over the years for both the predictive horizons. Comparing these trends to the ones observed based on the AMBO-DSN classifier; we find that the percentages of up-trends and down-trends are generally close. The AMBO-DSN approach demonstrates a similar trend pattern compared to the trends observed on the original datasets, indicating its effectiveness in forecasting trends (as depicted in Table 22) for both 5 and 15 days of prediction.
When analyzing the trends observed on the CHF/INR currency pair and comparing them with the trends obtained from the AMBO-DSN classifier for 5 and 15 days ahead of trend forecasting, we can gain a comprehensive understanding of the observed trends and their relationship with the forecasting approach based on (Tables 10, 11 and 13).
The trends observed on the original datasets for CHF/INR exhibit variations from year to year. The percentages of up-trends range from 38% in 2022 to 60% in 2018 and the percentages of down-trends range from 40% in 2018 to 62% in 2022 (see Table 10). Similarly, the percentages of up-trends range from 38% in 2019 to 58% in 2018 and, the percentages of down-trends range from 42% in 2018 to 62% in 2019 for 15 days ahead of prediction (see Table 11). For both the predictive days, the total number of observed trends, categorized as HHs-HLs/LHs-LLs, also fluctuates over the years. Comparing these trends to the ones observed based on the AMBO-DSN classifier for 5 days ahead; we find that the percentages of up-trends and down-trends generally align with the trends observed on the original datasets for both the predictive days considered here (see Table 23).
Comparison of CHF/INR price trend prediction using AMBO-DSN classifier with trends observed on original currency pair datasets and HHs-HLs/LHs-LLs for 5 and 15 days ahead
The statistical significance test (K-S test) 5 and 15 days ahead
The AMBO-DSN classifier demonstrates a comparable level of result quality when compared to the trends observed on the original currency pairs. While slight differences may exist in the percentages, the overall trend direction remains consistent. This indicates the effectiveness and reliability of the AMBO-DSN approach in forecasting trends for the considered currency pairs, namely USD/EUR, AUD/JPY, and CHF/INR.
Execution time comparison between AMBO-DSN with GA-DSN, PSO-DSN, DE-DSN and for USD/EUR, AUD/JPY and CHF/INR for 5 days ahead of prediction.
The purpose of conducting the K-S (Kolmogorov-Smirnov) statistical test in the context of Forex trend forecasting is to evaluate the fit between observed Forex datasets and reference distributions. The test statistic represents the maximum vertical distance between cumulative distributions, while the
Execution time comparison between AMBO-DSN with GA-DSN, PSO-DSN, DE-DSN and for USD/EUR, AUD/JPY and CHF/INR for 15 days ahead of prediction.
Furthermore, an assessment of computational efficiency in terms of execution speed (measured in minutes) was conducted on the proposed AMBO-DSN, as well as GA-DSN, PSO-DSN, DE-DSN, basic DSN, RNN, and CNN models. This evaluation aimed to determine the advantage of the proposed forecasting model in terms of its speed and suitability for real-time decision-making. The recorded data from Figs 12 and 13 indicate that the proposed model offers valuable insights for making informed decisions in Forex trend forecasting, considering efficiency aspects.
The proposed AMBO-DSN trend forecasting model has undergone validation through both the K-S non-parametric statistical test and execution time analysis. The results of these evaluations indicate that the AMBO-DSN model achieves a favourable balance between accuracy and computational speed, thereby enhancing the efficiency of decision-making processes. The validation process confirms the model’s reliability and suitability for Forex trend forecasting, providing confidence in its ability to provide accurate predictions in a timely manner.
The key findings from the analysis of Forex market directional movement forecasting based on up-trends and down-trends for USD/EUR, AUD/JPY, and CHF/INR using the AMBO-DSN approach for both 5 and 15 days ahead of prediction are as follows;
The Bi-LSTM model consistently demonstrated the highest accuracy and performed the best among the selected models for all three currency pairs with AAs (USD/EUR, AUD/JPY, and CHF/INR). The V-LSTM and RNN models also showed relatively good performance, while the SVR, ANN, and ARIMA models performed poorly in terms of accuracy and prediction errors (evident from Tables 3 to 5). The results depicted in Figs 3 and 4 demonstrates that the Bi-LSTM model accurately predicts the values of currency pairs, showing a strong alignment with the actual values. Additionally, when incorporating additional features (referred to as AAs), the predictive accuracy of the model remains consistent with the original dataset’s predictive ability. These findings highlight the robustness and effectiveness of the Bi-LSTM model in accurately forecasting Forex price movements. The trends derived from the analysis of HHs-HLs and LHs-LLs are plotted (Figs 6 to 8) to get valuable insights into the directional movements of the currency pairs based on the predictions generated by the Bi-LSTM model for all three currency pairs and for both the predictive days. The performance of the Bi-LSTM model is evaluated by comparing the obtained trends (up-trends and down-trends) from the model with the original currency pairs and currency pair datasets with AAs. Tables 6 to 11 present the total count of trends based on HHs-HLs and LHs-LLs for both the original and augmented datasets, allowing for an assessment of the model’s performance. These observed trends are then used as class labels for further processing with the DSN classifier. The DSN model consistently outperformed the RNN and CNN models in accurately predicting currency pair trends for both 5 and 15 day forecast periods. It achieved the highest accuracy for the USD/EUR pair (Tables 12 and 13), with average training and testing accuracies of 97.26% and 97.02% (5 day) and 96.33% and 96% (15 day). For the AUD/JPY pair (Tables 14 and 15), the DSN model had an average training accuracy of 96.33% and testing accuracy of 96% in the 5 and 15 day respectively. Similarly, for the CHF/INR pair (Tables 16 and 17), the DSN model also outperformed the other models, with average training and testing accuracies of 97.37% and 96.59% (5 day) and 96.67% and 96.17% (15 day). The learning curves were analyzed to evaluate the AMBO’s learning ability and to understand the behaviour of the DSN model during the learning process. Comparisons were made between the AMBO-DSN, GA-DSN, and PSO-DSN models (Figs 9 to 11) indicating the AMBO-DSN model’s performance in terms of convergence. Comparing price trend predictions using optimized classifiers for USD/EUR, AUD/JPY, and CHF/INR over 5-day and 15-day periods (Tables 18 to Table 20), the AMBO-DSN model consistently achieves the highest accuracy and closely matches observed trends for both up-trends and down-trends. It outperforms other models in accuracy for 5-day predictions and maintains accuracy for 15-day predictions. The AMBO-DSN model’s superior performance establishes it as the optimal choice for predicting price trends, given its high accuracy and resemblance to observed trends. The AMBO-DSN approach was employed for trend forecasting, comparing the trend percentages from original datasets with those generated by AMBO-DSN. For USD/EUR, the AMBO-DSN classifier showed a trend pattern similar to the original datasets, despite slight differences in percentages. The same consistency was observed for AUD/JPY, where the AMBO-DSN approach aligned with the original dataset trends. Similarly, for CHF/INR, the AMBO-DSN approach effectively forecasted trends that generally matched the original dataset trends for both 5 and 15 days ahead of prediction (Tables 6 to 11 and Tables 21 to 23). The proposed AMBO-DSN trend forecasting model has been validated through K-S non-parametric statistical test and the time of execution (Table 21, Figs 12 and 13). The straight forward comparisons sates that AMBO-DSN is able to maintain favourable balance between accuracy and computational speed, enhancing the efficiency of decision-making processes.
The proposed methodology, the AMBO-DSN approach, seems to work well for Forex market directional movement forecasting for several reasons. Firstly, the Bi-LSTM model consistently demonstrated the highest accuracy and outperformed other selected models for all three currency pairs (USD/EUR, AUD/JPY, and CHF/INR). Additionally, the model’s predictions showed a strong alignment with the actual values of the currency pairs, even when incorporating additional features, highlighting its robustness. The analysis of trends based on the model’s predictions further validated its accuracy in forecasting directional movements. Secondly, the DSN model, used as a classifier, consistently outperformed other models (RNN and CNN) in accurately predicting currency pair trends for both 5 and 15-days forecast periods. It achieved high accuracy levels for all three currency pairs, indicating its effectiveness in classifying up-trends and down-trends. Thirdly, the learning curves analysis showed that the AMBO-DSN model exhibited good learning ability and convergence, making it reliable for the forecasting task. Moreover, the AMBO-DSN approach effectively forecasted trends that generally matched the original dataset trends for all three currency pairs, further validating its forecasting capability. Furthermore, the proposed AMBO-DSN trend forecasting model was validated through the K-S non-parametric statistical test, which demonstrated the model’s ability to maintain a favorable balance between accuracy and computational speed, enhancing the efficiency of decision-making processes. The combination of the Bi-LSTM model for accurate predictions and the DSN classifier for trend forecasting, along with the robustness and validation through statistical tests, contributes to the success of the proposed AMBO-DSN approach in accurately forecasting Forex market directional movements for different currency pairs and forecast periods.
This study focused on successful trading in the Forex market by emphasizing the importance of identifying market trends and utilizing trend analysis for informed decision-making. The proposed AMBO-DSN model, incorporating Bi-LSTM for price forecasting and trend change identification, demonstrated promising results in Forex trend forecasting. The model outperformed other ML, DL and statistical approaches, such as SVR, ANN, ARIMA, V-LSTM, and RNN, in terms of accuracy and prediction errors. The analysis of directional movement forecasting for USD/EUR, AUD/JPY, and CHF/INR currency pairs showed that the Bi-LSTM model consistently achieved the highest accuracy, accurately predicting currency pair values. The incorporation of additional features (AAs) further enhanced the predictive accuracy of the model, while the HHs-HLs and LHs-LLs trends provided valuable insights into directional movements. The DSN model, outperforming RNN and CNN, accurately predicted currency pair trends for both short-term (5-day) and medium-term (15-day) forecast periods. The DSN model’s high accuracy rates for all currency pairs confirmed its effectiveness in trend forecasting. The learning curves demonstrated the AMBO-DSN model’s learning ability and convergence behaviour, showcasing its performance. The AMBO-DSN approach effectively forecasted trends, aligning with the original dataset trends for USD/EUR, AUD/JPY, and CHF/INR currency pairs. The model maintained a favorable balance between accuracy and computational speed, enhancing decision-making efficiency. The validation through K-S statistical test and execution time analysis further supported the effectiveness and reliability of the AMBO-DSN model.
While our current work focuses on a specific set of currency pairs and incorporates certain market factors, there are several limitations that warrant consideration and exploration in subsequent research endeavours. Firstly, an important direction for future research could involve extending the application of our proposed model to encompass a broader array of currency pairs. By analyzing a more extensive range of currency pairs, we could attain a more comprehensive understanding of the model’s effectiveness and its adaptability across various market dynamics. Furthermore, our study currently integrates a selection of market factors into the model, but there is potential to enhance its robustness by quantifying additional variables. For instance, macro-economic factors, political scenarios, inflation rates, geopolitical events, central bank actions, market sentiment and risk appetite, etc. could all be systematically included. Additionally, the exploration of new nature-inspired optimization strategies could also yield valuable insights. This expanded scope would provide a more comprehensive analysis of currency market trends and their drivers.
