IMPLEMENTASI METODE RANDOM FOREST DALAM MEMPREDIKSI SINYAL PERGERAKAN SAHAM

Trading involves purchasing stocks at low prices and then selling them at high prices to generate profits in a short period. Although it offers significant gains, trading is considered a high-risk activity. Careful analysis is required in stock trading to maximize profits and minimize losses. One wa...

Full description

Saved in:
Bibliographic Details
Main Authors: MOCH. ANJAS APRIHARTHA, M. HUSNIYADI, TAUFIK NUR ALAM
Format: Article
Language:English
Published: Universitas Udayana 2025-01-01
Series:E-Jurnal Matematika
Online Access:https://ojs.unud.ac.id/index.php/mtk/article/view/114840
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849336497825644544
author MOCH. ANJAS APRIHARTHA
M. HUSNIYADI
TAUFIK NUR ALAM
author_facet MOCH. ANJAS APRIHARTHA
M. HUSNIYADI
TAUFIK NUR ALAM
author_sort MOCH. ANJAS APRIHARTHA
collection DOAJ
description Trading involves purchasing stocks at low prices and then selling them at high prices to generate profits in a short period. Although it offers significant gains, trading is considered a high-risk activity. Careful analysis is required in stock trading to maximize profits and minimize losses. One way to analyze stocks is through technical analysis, a method used to predict price movements by understanding market actions with charts and technical indicators. One statistical method developed to predict stock trends is the random forest method. Random forest is a combination algorithm of several decision trees used to solve prediction or classification problems. The objective of this research is to obtain the best model for predicting stock price movements. Three types of datasets, namely deterministic, nondeterministic, and mixed, are applied for comparison. The data used is daily historical stock price data of Bank Central Asia Tbk (BBCA) for 10 years. The research results reveal that the best model is using the mixed dataset, constructed with mtry = 6 and ntree = 500. The resulting accuracy is 94,26%, indicating that the model accurately predicts the movement signals of BBCA stock by 94,26%, with the remaining 5,74% misclassification.
format Article
id doaj-art-97ec6077eb2e4219a3ecafc34e7ddc13
institution Kabale University
issn 2303-1751
language English
publishDate 2025-01-01
publisher Universitas Udayana
record_format Article
series E-Jurnal Matematika
spelling doaj-art-97ec6077eb2e4219a3ecafc34e7ddc132025-08-20T03:44:57ZengUniversitas UdayanaE-Jurnal Matematika2303-17512025-01-01141434910.24843/MTK.2025.v14.i01.p477114840IMPLEMENTASI METODE RANDOM FOREST DALAM MEMPREDIKSI SINYAL PERGERAKAN SAHAMMOCH. ANJAS APRIHARTHAM. HUSNIYADITAUFIK NUR ALAMTrading involves purchasing stocks at low prices and then selling them at high prices to generate profits in a short period. Although it offers significant gains, trading is considered a high-risk activity. Careful analysis is required in stock trading to maximize profits and minimize losses. One way to analyze stocks is through technical analysis, a method used to predict price movements by understanding market actions with charts and technical indicators. One statistical method developed to predict stock trends is the random forest method. Random forest is a combination algorithm of several decision trees used to solve prediction or classification problems. The objective of this research is to obtain the best model for predicting stock price movements. Three types of datasets, namely deterministic, nondeterministic, and mixed, are applied for comparison. The data used is daily historical stock price data of Bank Central Asia Tbk (BBCA) for 10 years. The research results reveal that the best model is using the mixed dataset, constructed with mtry = 6 and ntree = 500. The resulting accuracy is 94,26%, indicating that the model accurately predicts the movement signals of BBCA stock by 94,26%, with the remaining 5,74% misclassification.https://ojs.unud.ac.id/index.php/mtk/article/view/114840
spellingShingle MOCH. ANJAS APRIHARTHA
M. HUSNIYADI
TAUFIK NUR ALAM
IMPLEMENTASI METODE RANDOM FOREST DALAM MEMPREDIKSI SINYAL PERGERAKAN SAHAM
E-Jurnal Matematika
title IMPLEMENTASI METODE RANDOM FOREST DALAM MEMPREDIKSI SINYAL PERGERAKAN SAHAM
title_full IMPLEMENTASI METODE RANDOM FOREST DALAM MEMPREDIKSI SINYAL PERGERAKAN SAHAM
title_fullStr IMPLEMENTASI METODE RANDOM FOREST DALAM MEMPREDIKSI SINYAL PERGERAKAN SAHAM
title_full_unstemmed IMPLEMENTASI METODE RANDOM FOREST DALAM MEMPREDIKSI SINYAL PERGERAKAN SAHAM
title_short IMPLEMENTASI METODE RANDOM FOREST DALAM MEMPREDIKSI SINYAL PERGERAKAN SAHAM
title_sort implementasi metode random forest dalam memprediksi sinyal pergerakan saham
url https://ojs.unud.ac.id/index.php/mtk/article/view/114840
work_keys_str_mv AT mochanjasaprihartha implementasimetoderandomforestdalammemprediksisinyalpergerakansaham
AT mhusniyadi implementasimetoderandomforestdalammemprediksisinyalpergerakansaham
AT taufiknuralam implementasimetoderandomforestdalammemprediksisinyalpergerakansaham