Forecasting cryptocurrency's buy signal with a bagged tree learning approach to enhance purchase decisions

Introduction The cryptocurrency market is captivating the attention of both retail and institutional investors. While this highly volatile market offers investors substantial profit opportunities, it also entails risks due to its sensitivity to speculative news and the erratic behavior of major investors, both of which can provoke unexpected price fluctuations. Methods In this study, we contend that extreme and sudden price changes and atypical patterns might compromise the performance of technical signals utilized as the basis for feature extraction in a machine learning-based trading system by either augmenting or diminishing the model's generalization capability. To address this issue, this research uses a bagged tree (BT) model to forecast the buy signal for the cryptocurrency market. To achieve this, traders must acquire knowledge about the cryptocurrency market and modify their strategies accordingly. Results and discussion To make an informed decision, we depended on the most prevalently utilized oscillators, namely, the buy signal in the cryptocurrency market, comprising the Relative Strength Index (RSI), Bollinger Bands (BB), and the Moving Average Convergence/Divergence (MACD) indicator. Also, the research evaluates how accurately a model can predict the performance of different cryptocurrencies such as Bitcoin (BTC), Ethereum (ETH), Cardano (ADA), and Binance Coin (BNB). Furthermore, the efficacy of the most popular machine learning model in precisely forecasting outcomes within the cryptocurrency market is examined. Notably, predicting buy signal values using a BT model provides promising results.


Introduction
Cryptocurrencies have achieved worldwide recognition and are familiar to most individuals due to the rapid development of e-commerce, the financial industry, and blockchain technology.Through the Internet, the cryptocurrency market has attracted the attention of investors (Matytsin, 2021).Throughout history, cash has consistently been one of the most popular payment methods for settling any deal.Credit cards and personal checks have become widespread ways to pay for in-store and online purchases.Payment systems have continuously developed to meet the requirements of new technologies (Saxena et al., 2019).Cryptocurrency is a new approach to a digital currency payment system that has been developed to date, thanks to advances in finance known as FinTech (Vo and Yost-Bremm, 2018).Cryptocurrency is a digital currency designed to make online financial transactions more secure and private by utilizing a peer-to-peer network protocol and decentralized by applying blockchain technology.
A Blockchain can be defined as "a chain of blocks."The block refers to a grouping of transactions in the distributed ledger.Every information related to a specific transaction is stored in a block (Namasudra et al., 2021).The sender and the receiver are labeled, as are the date, time, and the total amount being transferred, as shown in Figure 1.As the name implies, a chain is an unbroken sequence of blocks that allows anyone to trace the complete transaction history of a given asset back to its inception (Senthilkumar, 2021).
There has been much attention focused on cryptocurrencies recently.Nakamoto (2017) introduced Bitcoin in 2008 as a decentralized digital currency that does not rely on a central bank or any other third party to transfer funds between users over the Internet.Bitcoin and other cryptocurrencies like it were designed to eliminate the need for and the associated fees charged by financial institutions.Additionally, because the currency is digital, there is no upper limit on how much can be made.In addition, cryptocurrencies are a global financial asset that can be accessed from various locations worldwide because they are not tied to any one central or regional authority and are remarkably accessible to use (Cunha and Sebastião, 2021).
Forecasting Bitcoin prices is crucial for asset managers and individual investors.Unlike traditional currencies, Bitcoin's unique characteristics, like transaction speed, decentralization, and a large community of enthusiasts, make it challenging to apply standard economic theories related to supply and demand dynamics (Lamothe-Fernández et al., 2020).No government or central bank backs Bitcoin and other cryptocurrencies.As a result, their worth is largely dependent on popular opinion and how they are perceived as assets (Lee, 2019).Social media users willingly divulge their opinions and feelings, which machine learning algorithms can use to foretell the future value of cryptocurrencies (Patel et al., 2020;Vachhani et al., 2020;Iqbal et al., 2021).A wide range of scholars has investigated several methods of commodity trading.However, very little study has been done on the algorithmic trading of cryptocurrencies with solutions that integrate trading and tackle high market volatility (Hairudin et al., 2022).
Algorithmic trading has become very popular among investors since the development of machine learning (ML) algorithms."algorithmic trading" refers to using machine learning to make trades automatically on financial markets (Cohen, 2022).An interesting area of study is using machine learning in the cryptocurrency market.First, there are exchanges where people may buy and sell cryptocurrencies, like Bitcoin, for conventional currencies.However, major limitations to Bitcoin still make it hard to buy and sell products and services (Matytsin, 2021).That's Why it's important for algorithmic trading in cryptocurrencies to function similarly to machine learning outcomes.
The financial market employs another form of analysis known as technical analysis to solve the issue arising in the algorithmic trading of cryptocurrencies, which differs from fundamental analysis (Shah et al., 2019;Fang et al., 2022).Because of its fundamental assumptions, technical analysis employs a variety of approaches and mechanisms (Anghel, 2021).In a technical analysis, price data for an asset is assumed to reflect supply and demand.This way, market participants can anticipate price movements by looking at historical price data (Vo et al., 2019).Technical analysis states that traders use various indicators to monitor price patterns.Based on this explanation, it's clear that the technical analysis approach is gaining popularity due to its accessibility.Technical analysis has become increasingly popular as a trading strategy because it is simple to learn and implement daily (Detzel et al., 2021).
Most research on technical analysis indicators has been done in the context of the stock, forex, and futures markets.It has typically only compared benchmark performances based on the expected net profit at the end of the investment period.The Relative Strength Index (Gurrib and Kamalov, 2019), the Moving Average Convergence/Contraction (Cohen and Qadan, 2022), the On-Balance-Volume, and the Price Trends indicators were used to analyze the data.Bitcoin (BTC), Ethereum (ETH), and XRP (XRP) all have price information from various periods.Three different cryptocurrencies were measured the same way using these indicators in terms of performance after technical analysis methods were applied to them (Çelik, 2019).Fixed parameters are used by comparing the indicators obtained with fixed parameters and those obtained with variable parameters in terms of the reliability of the signals produced and the sustainability of these strategies.
By taking this need into account, we aim to analyze the effect of technical analysis on the buy signal using ML models of the following indicators: Bollinger band (BB), Moving Average convergence/divergence (MACD), and Relative Strength Index (RSI).
Studying the buy signal is the main focus of this research because it is a crucial part of making the right decision when buying cryptocurrency.Meanwhile, Dollar Cost Averaging (DCA) is a method for minimizing the impact of volatility on cryptocurrency investments by purchasing the asset regularly.Enhancing purchasing decisions can help improve the outcomes of the DCA strategy.
The summary of the contributions in this research is as follows: • Collecting real-time cryptocurrency data from the Binance exchange.• Computing technical indicators using the raw data collected from the Binance exchange.• Exploring the efficacy of the buy signal from each technical indicator in anticipating accurate purchase decisions.
• Utilizing an ensemble model, i.e., Bagged Tree (BT), to predict the buy signal.
The paper's organization is as follows: The relevant research is presented in Section 2. Section 3 describes the methods used to identify predictability patterns.Section 4 presents the results of our study and a discussion.Section 5 summarizes our findings and suggests future research opportunities for enhancing our model.

Related work
The development of cryptocurrencies, assets that combine cutting-edge technology with financial innovation, has displayed the digitization of finance.As the Bitcoin market grows, it has become a focus point for its tremendous return potential and vulnerability to market manipulation.This part of the literature reviews the growing amount of research to understand and reduce the hazards caused by such manipulative practices and predict prices with frequent price changes in the market.The review follows the evolution of machine learning applications in identifying and forecasting market prices, beginning with models launched in 2021 and progressing to real-time detection systems produced in 2023.Jaquart et al. (2021) used machine learning models, including GRU, LSTM, and others, to make short-term forecasts for the Bitcoin market.The purpose was to evaluate these models' ability to anticipate market changes.A study by Asgari and Khasteh (2021) concentrated on developing trading techniques for cryptocurrencies such as Ethereum and others using machine learning models such as KNN and Gradient Boosting.The study aimed to devise effective trading tactics for the unpredictable cryptocurrency market.The article (Fang et al., 2021) investigated the application of LSTM neural networks to estimate price formation in cryptocurrency marketplaces with a high accuracy rate, concentrating on Bitcoin's mid-price swings.
Yu (2022) investigated using several machine learning models, such as Random Shifting the focus to profitability, Liu et al. ( 2023) introduced a novel method for predicting hospitality order cancellations that maximize business gains.This study proposes a new method to predict and prevent cancellations in hospitality bookings, ultimately increasing profits.They developed a unique profitfocused model that identifies high-risk cancellations and has been proven effective through real-world data and sensitivity analysis.The approach goes beyond hospitality and can be applied for profitdriven prediction in other industries.Hotel managers can directly benefit by using this method to optimize revenue management.In the same context, Jiang et al. (2024) proposed a new method to predict customer churn that focuses on maximizing profits.It combines multiple profit-driven models and uses a special algorithm (inspired by hummingbirds) to find the best way to weight them for the most profit.The method is also designed to be understandable, using an approach to explain why specific customers are predicted to churn.Tested on real-world data across various industries, this method outperforms existing ones in terms of profit gain while remaining interpretable.Finally, Table 1 summarizes the comparison of the performance of existing works.

Methodology and dataset . Collecting the dataset
The decentralized nature of cryptocurrencies makes it difficult to collect data from them for research purposes.However, we ./fdata. .(Hansen et al., 2022).Then, we trained our model using the library to extract the technical signal.Moving averages, Relative strength index (RSI), Moving average convergence divergence (MACD), and Bollinger bands (BB) were part of the analytical tools.

. Cryptocurrency selection
Due to its unique opportunity for investment and massive profit potential, the cryptocurrency area has attracted significant attention in the past several years.Cryptocurrencies are traded on many exchanges, where participants buy and sell actions based on market fluctuations and news updates.Bitcoin (BTC), Ethereum (ETH), Binance Coin (BNB), Cardano (ADA), and others are among the most well-known cryptocurrencies (Talib/Ta-lib-Python, n.d.(Busayatananphon and Boonchieng, 2022), and reaches a maximum supply of 200 million tokens (Sun and Yu, 2020;Kumar and Rajesh, 2022).The dataset synthesizes the previously discussed cryptocurrencies Bitcoin, Ethereum, Cardano (ADA), and Binance Coin (BNB).Table 2 thoroughly examines strategic purchasing decisions, utilizing three notable technical indicators: BB, RSI, and MACD buy signals.In the provided table, each buy signal is used to identify the transaction records associated with either no buying label or buying label.The data collected over a given time reveals a significant occurrence of no buying labels, which can be attributed to the current market volatility and the cautious position adopted by investors.Also, the data reveals the difference in the percentage of buy signals between the three indicators.The cryptocurrency market comprises a complicated interaction between investor sentiment, market manipulation strategies, legislative changes, and technological progress (Binance Exchange, 2018).Emotional factors, like fear and the fear of missing out (FOMO), can trigger unexpected price shifts.
Table 3 presents a detailed summary of different features, providing an exhaustive analysis of the dataset used for simulating outcomes.These characteristics include a variety of properties, such as timestamps, which identify the exact periods important to the trading model.Another notable feature is using numerical values to indicate crucial aspects of the bitcoin market price.These characteristics include the opening, high, low, close, and volume that presented the market candlestick.In addition, it contains the calculated RSI, which presents the decision to buy and sell.MACD, MACD_signal, and Machinist values are all features used to identify any change in the trading price.The Bollinger Bands (BB) purchase signal, which includes the upper, middle, and lower bands, is also presented numerically.The BUY/SELLprice_BB, BUY/SELLprice_RSI, and BUY/SELLprice_MACD are calculated and used in the dataset.The buy signal employs a binary toggle function to calculate the overall number of purchases logged.

. Crypto-market strategy
Crypto market strategy refers to the method or approach traders and investors employ to make lucrative transactions in the cryptocurrency market.In layperson's terms, it determines when to purchase, sell, or hold a certain cryptocurrency.Because the cryptocurrency market is volatile, it is critical to establish a solid market strategy based on various elements such as technical analysis, fundamental analysis, market trends, and risk management.
Recently, a study was done on effective tactics in the Bitcoin market.Wilder (1978) analyzed the success rates of various trading methods, such as buy-and-hold strategies, moving average crossovers, and momentum-based approaches within cryptocurrency markets.The study states that momentum-driven approaches provide higher return alternatives, regardless of market conditions.Another approach is applying machine learning models to understand the cryptocurrency trading system better, as shown in Kamara et al. (2022).Their approach relied heavily on technical indicators and used ML, enabling them to predict trends accurately.

. Technical analysis indicator
In modern financial markets, Investors and traders apply techniques, such as technical analysis, to track the movement of price fluctuations and identify patterns to make the right decision.The Relative Strength Index (RSI), Bollinger Bands, and Moving Average Convergence Divergence (MACD) are promising buying indicators and highlight significant market trends.

. . Relative strength index
The relative strength index (RSI) is an indicator that most cryptocurrency exchanges have as a standard feature (Lauguico et al., 2019).It determines if prices increase or decrease at a certain rate and is classified as a momentum oscillator.

RSI = 100 100 (1 + RS)
The measure of relative strength, or RS, is the average of positive and negative closing values for a certain period divided by the average of those two variables.The typical range for the Relative Strength Index (RSI) is from zero to one hundred.Most people consider values above 70 to be overbought, suggesting a possible correction or reversal in the market.A market recovery is likely when values drop below 30, known as oversold.Using the following formula, one may find the RSI value for a 14-period RSI by averaging the gain and loss from the previous and current periods (illustrated in Figure 2): .

. Bollinger bands
The Bollinger Bands, developed by John Bollinger for technical analysis, are a volatility-dependent indicator consisting of three lines: a middle line (typically the moving average) and two bands on either side spaced equally apart.These bands may expand or narrow depending on the degree of market volatility.The mathematical expression for Bollinger Bands is as follows (Appel, 1985): The upper band inside the Bollinger Bands framework signifies the upper limit of the price range.Calculating the Bollinger Bands begins by adding a particular multiple of the standard deviation to locate the center band.From there, it is designated as the lower limit in this framework, whichever minimum price falls within this interval.It is achieved by subtracting from its constant multiples of that standard deviation during calculation processing to determine these bands' values fully.
The intermediate strip indicates a separate scope or classification within the framework.Its location, flanked by two mobile averages, is a conventional means to discern it.Mobile averages, categorized into basic and exponential types, are statistical computations that determine the mean value of an asset over a designated duration.
A "multiplier" is a mathematical idea used for multiplication and division.The constant value, typically denoted as 2, designates the quantity of standard deviations that should be added to the central band.The standard deviation is a statistical metric that measures how much-observed prices differ from the mean price, which indicates the central tendency.It assists in capturing market volatility.Bollinger Bands can help traders predict potential market reversals and measure the amount of price volatility.When the price exceeds the borders of the bands, it may suggest a decreasing strength in the existing trend, indicating the possibility of an oncoming reversal (illustrated in Figure 3).
The oversold condition happens when the cryptocurrency price passes under the lower band, while the overbought condition happens when the price passes higher than the upper band.Therefore, the buy signal occurs when the cryptocurrency price is oversold.The buy signal happens if the price < lower band.

. . Moving average convergence divergence
The Moving Average Convergence Divergence (MACD) is a trend-following momentum indicator developed by Gerald Appel (Kang, 2021).This strategy comprises two moving averages: the MACD and signal lines.Moving Average Convergence Divergence (MACD) is the difference between a shorter-term exponential moving average, commonly spans 12 periods, and a more long-term exponential moving average, typically spans 26.A 9-period exponentially moving average of the Moving Average Convergence Divergence (MACD) line is commonly used to depict the signal line (Gerritsen et al., 2020).
Traders actively seek instances of crossings occurring between the Moving Average Convergence Divergence (MACD) line and the signal line since these occurrences can indicate shifts in the direction of a given trend.Furthermore, the MACD histogram, which denotes the disparity between the MACD line and the signal line, furnishes insights into the prevailing trend's potency.In MACD, to create a buy signal, the MACD line value must become greater than the signal line value.The MACD line is usually presented as blue, and the signal line is orange.A buy signal is formed when the blue line cuts the orange line.In contrast, when the orange line (signal) cuts the blue line (MACD), a sell signal is formed (illustrated in Figure 4).

. . Buy signal
A buy signal (Sadorsky, 2021a) is derived from technical analysis that indicates a potentially advantageous moment to acquire a financial item, such as a stock or currency pair.Purchase indications are often produced by indicators or patterns, such as the ones above (RSI, Bollinger Bands, MACD).The signs above may not provide absolute assurances of achieving success but rather function as indicators that suggest market circumstances may be converging in a manner conducive to a positive trajectory.Recognizing that these indicators are only tools in a trader's arsenal is critical.Properly using these indicators necessitates thoroughly evaluating various factors, including market context, volume, and extensive trend analysis.

FIGURE
The period used here is , the default period in the Bollinger Bands indicator.

FIGURE
Resource for calculating the buy signals.
Frontiers in Big Data frontiersin.org  .

Bagged tree model
Bootstrap Aggregating, also known as "bagging, " is an ensemble approach that involves training multiple decision tree models on various subsets of the provided data.By merging these models' predictions, overall accuracy improves while reducing overfitting risk.To execute this process, countless bootstrap samples must be generated from the given data before different decision trees are trained for each sample set.Next, forecasts produced by all such trees should combine to bolster model robustness and predictive skills.Consequently, bootstrap resampling used here produces varied training sets useful in developing a group or "ensemble" of decision trees; merge ensures variance reduction while promoting generalization further refined via repeated experimentation (Marti, 2023).
Figure 5 depicts the BT model method commences by randomly generating bootstrap replicates of the training dataset.This step divides the testing data into subsamples, and each sample serves as test data to generate a decision tree individually.Bootstrapping count decides the number of trees created.Finally, results from numerous samples are amalgamated using an overall voting scheme for better accuracy since more significant votes yield improved outcomes.

Discussion and result
This research exploits the BT model to predict buy signals of the Relative Strength Index (RSI), Bollinger Band (BB), and Moving Average Convergence/Divergence (MACD).The dataset employed in this research was collected from four different cryptocurrency platforms: Ethereum (ETH), Cardano (ADA), Binance Coin (BNB), and Bitcoin (BTC).As mentioned in the previous section, the dataset comprises sixteen features and three labels.The BT model was trained with the same dataset three times to predict each buy signal.The first training is performed to predict the RSI value.Secondly, the BB value is predicted, and the MACD value is predicted in the third training.The justification for undertaking three distinct training experiments is to analyze the result of each buy signal separately and select the outperforming buy signal among the three.
Figure 6 illustrates the experiment phases of the machine learning model, including the BT model.The first step in machine learning data preparation involves applying feature engineering procedures.Feature engineering refers to selecting, modifying, and extracting unprocessed data to generate the variables needed for the goal of study or predicted modeling (Alsulami et al., 2022).What comes next involves the process of data partitioning, which is vital for ensuring the success of machine learning models.Data partitioning (Sadorsky, 2021b) divides a carefully selected dataset into multiple subsets, training, validation, and test sets.
For each training set, 80% of the dataset was preserved, and the remaining 20% was held for testing.The size of the training matrix is 335662 × 16, and the size of the test matrix is 83916 × 16.The BT model used a decision tree as a leaner type, and the maximum number of splits was 335662 with 30 learners.The maximum number of splits in the training can reach up to 335,662 because, in a bagged tree, the default maximum number of splits reaches the training data size in MATLAB's Classification Learner app.Each buy signal contains two possible values: 0 indicates "not to buy" (hold your decision), and 1 indicates "buy."The evaluation metrics were computed for each buy signal to assess the performance of the BT model.The classifier accuracy is calculated using the following formula: • TP is the true positive sample.
• TN true negative sample.
• FP is the false positive sample.
• FN is the false negative sample.
The precision which measures the ability of a classifier to predict positive instances is calculated as follows: The recall, also called sensitivity, is calculated as follows: Recall/sensitivity = TP TP + FN × 100  The specificity which measures the accuracy of a classifier for the prediction of negative instances, is calculated as follows: F1 score is the harmonic mean of precision formula and recall formula, and it is a specifically useful metric for measuring the accuracy of a classifier trained with an imbalanced dataset.The F1 score is computed as follows: Table 4 lists the results of each evaluation matric for each buy signal.RSI_buy_signal scores 100 % with each metric because its rules produced, as shown in Table 2 the lowest percentage, 3.61 %, compared to other buy signals.BB_buy_signal performed the lowest among the three buy signals since it is highly sensitive to the price.Nevertheless, the three buy signals are important in informing and shaping decision-making.
Furthermore, 10-fold cross-validation is calculated to demonstrate the mitigation of overfitting and the generality of the BT model in predicting MACD_buy_signal, BB_buy_signal, and RSI_buy_signal.Looking at Table 5, we can observe that the classification accuracy, precision, recall, specificity, and F1-score of each buy_signal are consistent with the results presented in Table 4, confirming the validity of the experimental results performed in this study.
In addition, we employed robust experimental methods using state-of-the-art machine-learning models to compare the response of the BT model.Four popular machine learning models were utilized: decision tree (DT), k-nearest neighbor (KNN), random  Regarding the MACD_buy_signal results presented in Table 6, the DT records an accuracy of 92.63%.However, the KNN and NN models score accuracies of 78.54% and 86.30%, respectively.Meanwhile, RF and our proposed model (BT) demonstrate a comparable performance, with a slight improvement noted in BT.Also, we can observe that the precision, recall, specificity, and F1score metrics align closely with the accuracy figures for each model under MACD_buy_signal.
Shifting our focus to the RSI_buy_signal shown in Table 7, the impeccable performance of the DT, RF, and BTT models can be noticed.The KNN model also produces a respectable accuracy of 99.67%, but its recall and F1 score are slightly better than its precision.The NN scores an accuracy of 99.99%, with very close precision, recall, specificity, and F1 score values.Table 8 lists the performance of machine learning models against the BB_buy_signal.The DT model, which records an accuracy of 87.66%, faces a noticeable divergence between its precision and recall, causing an F1-score of 45.26%.The same applies to the KNN, neural network, RF, and BT models.It has also been observed that RF shows marginally better performance compared to our proposed model in predicting BB_buy_signal.BT and RF techniques employ decision trees to predict outcomes from provided data.These methods involve constructing multiple trees, each trained on a slightly different subset of the data, and then aggregating their predictions to improve accuracy (Marti, 2023).In BT, all available features are used in each tree, potentially leading to correlated trees.The final prediction in BT is derived by averaging the outcomes of all trees.In contrast, RF enhances diversity by randomly selecting a subset of features for each split within the trees, thus reducing correlation among them.A majority vote from all trees determines the final prediction in RF.Thus, each method adopts a distinct approach to predicting outcomes, leveraging ensemble strategies to mitigate the limitations of individual decision trees.Consequently, we chose BT as our main model to apply all dataset features.
Based on the experimental results, evaluations, and previous discussions, we conclude that the BT model provides promising results in predicting buy signal values; therefore, we confirm its vitality as a predictor for the buy signal for the three buy signals in this study.

Conclusion
This research studied the efficacy of MACD, RSI, and BB buy signals on purchase decisions.First, the cryptocurrency data was collected from Binance exchanges, including Bitcoin, Ethereum, Cardano (ADA), and Binance Coin (BNB).Subsequently, the dataset contained the technical indicators derived from the raw data.According to the study's findings, predicting buy signal values using a BT model provides promising results.Because the model can handle extreme volatility and unusual market patterns with ease, it gives investors useful information that they can use to make better decisions.
Several interesting paths for further study could be accomplished through several promising future research directions.First, making the model more accurate and versatile in its /fdata. .predictions is to add more features to it.The other approach can be investigating the sell signal to adapt to various market conditions.Lastly, the model's ability to deal with complex market dynamics could be even better if reinforcement learning is to be implanted.
By following these research directions, we can significantly improve the reliability and capacity of our model, thereby turning it into a more effective tool for cryptocurrency investors.
Forest and LSTM, to build trading techniques in the Bitcoin market.A wide variety of market data was used to evaluate the models.The research by Bellocca et al. (2022) looked at the prevalence and direction of overreaction circumstances in the Bitcoin, Ethereum, and Litecoin markets.Many machine learning models were applied to analyze these market behaviors.Dolatsara et al. (2022) used a classifier and regression tree model to create an understandable decision support system for daily Bitcoin trading, with an outstanding accuracy of 98.59%.Researchers in Toledo and Souza (2022) forecasted trading signals in multiple cryptocurrencies, emphasizing closing price behavior.They employed models such as Logistic Regression, LightGBM, and PCA for enhanced analysis.The work by Arowolo et al. (2022) used ICA-Firefly Linear-SVM and ICA-Firefly-SigmoidSVM to create a high-accuracy prediction model for Bitcoin prices, demonstrating the possibility for real-time use.La Morgia et al. (2023) used Random Forest and AdaBoost to build a machine-learning model to detect pump and dump instances in the DogeCoin and Ripple markets, analyzing many such events to highlight the dangers of market manipulation.Hu et al. (2023), a neural network model known as a sequence-based neural network (SNN) was introduced to predict the likelihood of pump-and-dump behavior in Bitcoin trading.To improve detection precision, this model employs a positional attention mechanism.Researchers from Bello et al. (2023) created an LSTMbased auto-encoder for their Low Latency Detection system, which quickly identifies pump and dump activity in the Bitcoin marketfacilitating speedier implementation of trade suspension methods.

FIGURE
FIGUREBuy signal = if the RSI value < .

FIGURE
FIGUREStructure of the BT model.

FIGURE
FIGUREExperimental phases of machine learning.

.
TABLE Comparison of performance of existing works.
n.d.).Today's four biggest traded cryptocurrencies-BTC, ETH, ADA, and BNB-were the focus of our analysis (Cryptocurrency Exchange for Bitcoin, Ethereum, Altcoins, and Binance, 2023).The data was obtained from November 2018 to November 2021.With rows indicating 15-min intervals, the price dataset for each TABLE Correlation between technical buy signals and transaction records.
TABLE Features name and attributes used in the dataset.
TABLE Evaluation metrics of the BT model using test data.
TABLE Evaluation metrics of ML models based on RSI_buy_signal.
TABLE Evaluation metrics of ML models based on BB_buy_signal.Bold values indicate the results obtained from our proposed Bagged Tree (BT) Model.