
Modeling and Information System in Economics
ISSN 2708-9746
Моніторинг стану часових рядів валютних котирувань з використанням рядів фур’є
Monitoring the state of times seris of exchange rates by using the fourier analysis
Анотація: Робота присвячена питанням можливості застосування рядів Фур’є для аналізу часових рядів валютних котирувань у режимі реального часу. При використанні технічного аналізу стану валютних ринків коливання валютних котирувань, що відображені у графіках, мають дві складові. Перша складова — хвилі або тренди зростання або зниження, які змінюють один одного. Друга складова — це так званий «шум», незначні, у порівнянні з трендами, коливання, які можуть бути спричинені короткостроковими чинниками фундаментального характеру. Основою прийняття рішень на валютному ринку є аналіз трендових коливань валютних котирувань, але наявність шуму призводить до похибок у прогнозах, у результаті чого трейдери та інвестори мають збитки. Тому, в нашій роботі запропоновано коливання валютних котирувань порівнювати з цифровим сигналом, який має також дві складові — корисну частоту та шум. Одним з підходів до розв’язання даної проблеми ґрунтується на апараті цифрової обробки сигналів, а саме аналізі Фур’є, який складає основу багатьох методів, що застосовуються для визначення складових частот. У роботі наведено математичну модель і приклад програмного коду швидкого перетворення Фур’є на мові програмування MQL 4.
Проілюстровано результати роботи алгоритму швидкого перетворення Фур’є на часовому ряді валютних котирувань євро та долара США, а також на індексі відносної сили (RSI). Також у програмній реалізації було використано дискретне косинус-перетворення, дискретне синус-перетворення та дійсне дискретне перетворення Фур’є. Визначені особливості реалізації перетворення Фур’є у різних версіях мови програмування MQL.
Запропонований у роботі підхід до аналізу валютних котирувань і його програмна реалізація можуть бути використані в роботі автоматизованих біржових торгових систем як складова системи моніторингу ринку.
Abstract: This paper is devoted to the possibility of using Fourier analysis to currency exchange rates time series in real time. When using the technical analysis of the state of the foreign exchange markets, the fluctuations of the exchange rates quotations, which are shown in the charts, have two components. The first component is the waves or trends of growth or falls that change each other. The second one is the so-called «noise», small, relative to trends, fluctuations that can be caused by short-term factors of a fundamental nature.
The basis of decision-making in the foreign exchange market is to analyze the trend fluctuations in foreign exchange quotes, but the presence of noise leads to errors in forecasts, causing traders and investors to suffer losses. Therefore, in our work it is proposed to compare fluctuations in currency quotes with a digital signal, which also has two components — useful frequency and noise.
One approach to solving this problem is based on the digital signal processing technique, namely the Fourier analysis, which forms the basis of many of the methods used to determine the frequency components. The paper presents a mathematical model and an example of the program code of the fast Fourier transform in the programming language MQL 4.
The results of the Fourier transform algorithm on the time series of Euro and US dollar currency exchange and on the Relative Strength Index (RSI) are illustrated. The software implementation also used discrete cosine transformations, discrete sine transforms, and real numbers discrete Fourier transforms. The features of the implementation of the Fourier transform in different versions of the MQL programming language are analyzed.
The proposed approach to the analysis of currency quotations and its software implementation can be used in the work of automated exchange trading systems as part of the market monitoring system.
Ключові слова: моніторинг, часові ряди, стан валютного ринку, аналіз Фур’є, швидке перетворення Фур’є, дискретне перетворення Фур’є
Key words: monitoring, time series, currency market states, Fourier analysis, fast Fourier transform, discrete Fourier transform
УДК: 336.743.057.7:51-7
UDC: 336.743.057.7:51-7
To cite paper
In APA style
Derbentsev, V., Ovcharenko, A., & Bezkorovainyi, V. (2019). Monitoring the state of times seris of exchange rates by using the fourier analysis. Modeling and Information System in Economics, 97, 117-128. Available at: http://mise.kneu.ua/archive/2019/97.12
In MON style
Дербенцев В., Овчаренко А.А., Безкоровайний В. Моніторинг стану часових рядів валютних котирувань з використанням рядів фур’є. Моделювання та інформаційні системи в економіці. 2019. № 97. С. 117-128. URL: http://mise.kneu.ua/archive/2019/97.12 (дата звернення: 04.10.2025).
With transliteration
Derbentsev, V., Ovcharenko, A., Bezkorovainyi, V. (2019) Monitorynh stanu chasovykh riadiv valiutnykh kotyruvan z vykorystanniam riadiv fur’ie [Monitoring the state of times seris of exchange rates by using the fourier analysis]. Modeling and Information System in Economics, no. 97. pp. 117-128. Available at: http://mise.kneu.ua/archive/2019/97.12 [in Ukrainian] (accessed 04 Oct 2025).

Download Paper
42
Views
10
Downloads
0
Cited by
- Derbentsev V.D. Synerhetychni ta ekonofizychni metody doslidzhennia dynamichnykh ta strukturnykh kharakterystyk ekonomichnykh system: [monohrafiia] / V.D. Derbentsev [ta in.]. — Cherkasy: Brama-Ukraina, 2010. — 287 p. [in Ukrainian].
- Langton Charan, Levin Victor, Tishman Rena, Sharma Garima, The Intuitive Guide to Fourier Analysis & Spectral Estimation with MatLAB/ Langton C., Levin V., Tishman R., Sharma G. — 2017. — 320 p.
- Boryshkevych O. Svitovyi valiutnyi rynok: stan ta dynamika / O. Boryshkevych // Visnyk NBU (Bulletin of the National Bank of Ukraine). — 2011. — №3. — P. 25–29. [in Ukrainian].
- Sokhatska, O.M. Vykorystannia fraktaliv u tekhnichnomu analizi rynku Forex [Tekst] / O.M. Sokhatska, I.I. Rohovska-Ishchuk // Visnyk Ukrainskoi akademii bankivskoi spravy (Bulletin of the Ukrainian Academy of Banking). — 2005. — №2(19). — P. 68-76. [in Ukrainian].
- Bereslavska O. Kursova polityka v Ukraini: tendentsii ta perspektyvy / O. Bereslavska // Visnyk NBU (Bulletin of the National Bank of Ukraine). — 2011. №2. — P. 16–20. [in Ukrainian].
- Serzhanov V.V., Kostoviat H.I. Analiz valiutnoho rynku i rozvytok bankivskoi systemy v Ukraini / V.V. Serzhanov, H.I. Kostoviat // Naukovyi visnyk Uzhhorodskoho universytetu (Uzhgorod University Scientific Bulletin). — 2013. — Vyp. 3(40). — P. 227–230. [in Ukrainian].
- Belinska Ya. V. Metodychni aspekty rozrakhunku rivnovazhnoho realnoho valiutnoho kursu / Ya. V. Belinska // Aktualni problemy ekonomiky (Current problems of the economy). — 2003. — № 3. — P. 20– 28. [in Ukrainian].
- Achelis Steven B., Technical Analysis from A to Z / Achelis S.B. — 2013. — 400 p.
- Borsellino Lewis, The Day Trader: From the Pit to the PC / Borsellino L. — 1999. — 256 p.
- Williams Bill, Trading Chaos: Maximize Profits with Proven Technical Techniques / Williams B. — 2004. — 228 p.
- Grimes Adam, The Art and Science of Trading: Course Workbook / Grimes A. — 2018. — 488 p
- Shariff Salman, Forex Strategies and Concepts Simplified with Infographics: Infographical Forex / Shariff S. — 2015. — 150 p.
- Schwager Jack D., Schwager on Futures: Technical Analysis / Schwager J.D. — 1995. — 775 p.
- Operation Overloading: MQL5 Reference / MetaQuotes Ltd. — https://www.mql5.com/en/docs/basis/function/operationoverload