Skip to content
Research Article Open access CC BY 4.0

A Novel Approach to the Moving Average Distance and Isolation Forest Method for Forecasting Financial Time Series Data

Agus Sihabuddin, Nur Rokhman, Mohammad Edi Wibowo, Abdul Karim

Current Journal of Applied Science and Technology · pp. 1–13 · Published 31 Jul 2024

10.9734/cjast/2024/v43i84416

Abstract

Aims: The main aim of this research is to propose a new approach to financial time series data feature extraction using Moving Average Distance combined with Isolation Forest. Study Design:  Building a feature extraction using Moving Average Distance and Isolation Forest for time series data. Methodology: We propose a Moving Average Distance to calculate the distance of the recent price to a moving average as input for the Isolation Forest algorithm. The distance measurement used in this research is measured in daily periods of 2,3,4,5,10, and 20. This period variation is used to observe the effect of different short, medium, and long terms on the forecasting accuracy. This moving average distance and isolation forest combination enrich the feature used as input for LSTM as a forecasting algorithm. Results: The daily S&P 500 and SSE index are used as datasets to test the proposed method. The research results showed that the proposed method outperformed the accuracy of previous research. The 3-daily period of moving average distance was the best parameter for the model and gave the best accuracy performance measure for both datasets; we found that the more extended period than that tends to reduce the accuracy. Conclusion: Our experimental results showed that the proposed method improves the ability of LSTM as a time series forecasting algorithm and outperforms the previous research results.

Moving average distance isolation forest abnormal detection time series forecasting LSTM

Cited by 1

Article metrics

Real usage data collected on this platform.

10

Page views

0

PDF downloads

6

Outbound clicks

1

Citations

Views over time

Views by country

Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".

Traffic sources

Referring site, by host.

Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.