An investment strategy based on the first derivative of the moving averages difference with parameters adapted by machine learning
The article presents a certain investment strategy based on the difference between two moving averages, modified to allow the extraction of patterns. The strategy concept dropped the traditionally considered intersections of two averages and opening positions just after those intersections. Based on...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
AIMS Press
2022-05-01
|
Series: | Data Science in Finance and Economics |
Subjects: | |
Online Access: | https://www.aimspress.com/article/doi/10.3934/DSFE.2022005?viewType=HTML |
_version_ | 1818473880517345280 |
---|---|
author | Antoni Wilinski Mateusz Sochanowski Wojciech Nowicki |
author_facet | Antoni Wilinski Mateusz Sochanowski Wojciech Nowicki |
author_sort | Antoni Wilinski |
collection | DOAJ |
description | The article presents a certain investment strategy based on the difference between two moving averages, modified to allow the extraction of patterns. The strategy concept dropped the traditionally considered intersections of two averages and opening positions just after those intersections. Based on the observation of changes happening in the moving averages difference, it has been noticed that for some values of this difference and some values of additional strategy parameters, an interesting pattern appears that allows short-term prediction. These patterns also depended on the first derivative of the moving averages difference and the location of the current price relative to certain thresholds of the difference. Therefore, the strategy uses five parameters, including Stop Loss, adapted to the properties of the time series through machine learning. The importance of machine learning is highlighted by comparing simulation results with and without it. The strategy effectiveness was tested in the Matlab environment on the time series of the WIG20 (primary index of the Warsaw Stock Exchange) historical data. Satisfactory results were obtained considered in terms of minimizing investment risk measured by the Calmar indicator. |
first_indexed | 2024-04-14T04:28:39Z |
format | Article |
id | doaj.art-8d4aa0889c7948cb81b6b92934480c39 |
institution | Directory Open Access Journal |
issn | 2769-2140 |
language | English |
last_indexed | 2024-04-14T04:28:39Z |
publishDate | 2022-05-01 |
publisher | AIMS Press |
record_format | Article |
series | Data Science in Finance and Economics |
spelling | doaj.art-8d4aa0889c7948cb81b6b92934480c392022-12-22T02:12:10ZengAIMS PressData Science in Finance and Economics2769-21402022-05-01229611610.3934/DSFE.2022005An investment strategy based on the first derivative of the moving averages difference with parameters adapted by machine learningAntoni Wilinski 0Mateusz Sochanowski1Wojciech Nowicki21. Department of Computer Science and New Technologies, WSB University, Gdansk, Poland2. Computer Science and Information Technology Department, Westpomeranian University of Technology, Szczecin, Poland2. Computer Science and Information Technology Department, Westpomeranian University of Technology, Szczecin, PolandThe article presents a certain investment strategy based on the difference between two moving averages, modified to allow the extraction of patterns. The strategy concept dropped the traditionally considered intersections of two averages and opening positions just after those intersections. Based on the observation of changes happening in the moving averages difference, it has been noticed that for some values of this difference and some values of additional strategy parameters, an interesting pattern appears that allows short-term prediction. These patterns also depended on the first derivative of the moving averages difference and the location of the current price relative to certain thresholds of the difference. Therefore, the strategy uses five parameters, including Stop Loss, adapted to the properties of the time series through machine learning. The importance of machine learning is highlighted by comparing simulation results with and without it. The strategy effectiveness was tested in the Matlab environment on the time series of the WIG20 (primary index of the Warsaw Stock Exchange) historical data. Satisfactory results were obtained considered in terms of minimizing investment risk measured by the Calmar indicator.https://www.aimspress.com/article/doi/10.3934/DSFE.2022005?viewType=HTMLinvestment strategyeconomic forecastingmachine learningpattern recognitionadaptive systemsstock marketsmoving averages |
spellingShingle | Antoni Wilinski Mateusz Sochanowski Wojciech Nowicki An investment strategy based on the first derivative of the moving averages difference with parameters adapted by machine learning Data Science in Finance and Economics investment strategy economic forecasting machine learning pattern recognition adaptive systems stock markets moving averages |
title | An investment strategy based on the first derivative of the moving averages difference with parameters adapted by machine learning |
title_full | An investment strategy based on the first derivative of the moving averages difference with parameters adapted by machine learning |
title_fullStr | An investment strategy based on the first derivative of the moving averages difference with parameters adapted by machine learning |
title_full_unstemmed | An investment strategy based on the first derivative of the moving averages difference with parameters adapted by machine learning |
title_short | An investment strategy based on the first derivative of the moving averages difference with parameters adapted by machine learning |
title_sort | investment strategy based on the first derivative of the moving averages difference with parameters adapted by machine learning |
topic | investment strategy economic forecasting machine learning pattern recognition adaptive systems stock markets moving averages |
url | https://www.aimspress.com/article/doi/10.3934/DSFE.2022005?viewType=HTML |
work_keys_str_mv | AT antoniwilinski aninvestmentstrategybasedonthefirstderivativeofthemovingaveragesdifferencewithparametersadaptedbymachinelearning AT mateuszsochanowski aninvestmentstrategybasedonthefirstderivativeofthemovingaveragesdifferencewithparametersadaptedbymachinelearning AT wojciechnowicki aninvestmentstrategybasedonthefirstderivativeofthemovingaveragesdifferencewithparametersadaptedbymachinelearning AT antoniwilinski investmentstrategybasedonthefirstderivativeofthemovingaveragesdifferencewithparametersadaptedbymachinelearning AT mateuszsochanowski investmentstrategybasedonthefirstderivativeofthemovingaveragesdifferencewithparametersadaptedbymachinelearning AT wojciechnowicki investmentstrategybasedonthefirstderivativeofthemovingaveragesdifferencewithparametersadaptedbymachinelearning |