Journal of Multimedia Information System
Korea Multimedia Society
Section C

FOREX Web-Based Trading Platform with E-Learning Features

Yoke Leng Yong1,*, Shang Qin Lieu1, David Ngo2, Yunli Lee2
1Department of Computing & Information Systems, Sunway University, Selangor, Malaysia, E-mail: {14071856@imail.sunway.edu.my, shang.l5@imail.sunway.edu.my}
2Department of Computing & Information Systems, Sunway University, Selangor, Malaysia, E-mail: {dclngo@ieee.org, yunlil@sunway.edu.my}
*Corresponding Author: Yoke Leng Yong, Department of Computing & Information Systems, Sunway University, Selangor, Malaysia, Tel: +60 3-7491 8622, E-mail: 14071856@imail.sunway.edu.my

© Copyright 2017 Korea Multimedia Society. This is an Open-Access article distributed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/licenses/by-nc/4.0/) which permits unrestricted non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited.

Received: Aug 30, 2017 ; Revised: Sep 21, 2017 ; Accepted: Sep 21, 2017

Published Online: Dec 31, 2017

Abstract

There has been an influx of traders and researchers eager to gain a better understanding of the market due to the rapid growth of the FOREX market. Traders with varying degree of experience are also often inundated with information, analysis methods as well as trading rules when making a trading decision on buying/selling a currency exchange pair. Thus, this paper reviews the current computational tools and analysis methods used within the FOREX trading community and proposes the development of a web-based trading platform with e-learning features to support beginners. Novice traders could also benefit from the use of the proposed e-learning trading platform as it helps them gain valuable knowledge and navigate the FOREX market in real-time. Even experienced traders would find it useful as the platform could be used for actual trading and acts as a reference point to understand the reasoning behind the certain technical analysis implementation that are still unclear to them.

Keywords: Foreign Exchange Market (FOREX); Web-Based Trading Platform; E-Learning; Technical Analysis; Currency Exchange Forecasting

I. INTRODUCTION

The foreign exchange (FOREX) market exist within a relatively complex and volatile financial ecosystem. With traders often aiming to obtain a substantial amount of profit when trading, a thorough analysis of the currency exchange fluctuation is required to navigate the market [1].

Hence, an integral component of trading involves monitoring the FOREX price fluctuation throughout the day. Recent advancement in technology have been embraced to develop automated trading platforms that will be useful to the traders. Not only does the automated trading platform provide ease of access to the traders, it also enables the integration of cross – disciplinary analysis methods originating from both the computer science as well as finance discipline to effectively analyse and forecast future currency exchange price. However, the potential of the trading system has not been utilised to its full potential. Oftentimes, traders must resort to using additional resources to obtain knowledge on the various analysis and forecasting methods. Although traders have the option of using the demo accounts for practice purposes, it is only natural that enhancements could be made to by integrating e – learning elements into the trading platform which has not been fully implemented in any of the trading platforms surveyed. This is important to disperse more knowledge and information to the traders that will help them gain a better understanding the market and aid in the decision-making process when trading

II. FOREX TRADING OVERVIEW

The FOREX market is constantly affected by various external factors such as political stability, economic events, terms of trade, economic performance, trader’s psychology, natural disaster, etc. The challenges presented due to the inherent intricacies of the FOREX market have made it one of the hottest topic within the research and trading community. Thus, it is not surprising that traders often rely on a wide range of information resources and analysis methods for FOREX price forecasting. In general, the analysis methods available can be categorised into two major categories: fundamental analysis and technical analysis.

Fundamental analysis focuses on explaining the fluctuation of currency exchange price from the angle of cause and effect using macroeconomic data. For that reason, current information is normally acquired from various newspaper article/online source [2], text mining [3] – [4] as well as twitter sentiments [5]. On the other hand, technical analysis operates on the assumption that historical FOREX data reveals repeating patterns over time when analysed thoroughly [6] – [8]. However, it has been observed that technical analysis methods are preferred by traders for reason that will be discussed further in Subsection 2.1 below.

2.1. Technical Analysis in the FOREX Market

Technical analysis methods have always been the preferred analysis method chosen by traders in the industry as demonstrated by the survey conducted in various studies whereby 90% of respondents prefer to use technical analysis [8], [9]. In addition, between 30% and 40% of professionals consider technical analysis as their most important trading technique [8] with researchers such as Hsu et al. [10] obtaining encouraging results from the analysis conducted. As the method primarily focuses on the use of FOREX historical data, it works to address some of the shortcomings experienced by analysts using fundamental analysis, viz. the lack of economic data in high frequency and the poor performance of fundamental models for short-term exchange rate forecast [11]. In fact, Neely and Weller [7] quotes a study by Taylor and Allen conducted in the year 1992 whereby traders utilise technical analysis much more frequently than they do the fundamental analysis for short-term analysis (less than a week).

2.2. Technical Analysis Methods

Technical analysis encompasses various analysis methods that can be further divided into two main categories, viz. mechanical and charting based analysis. Mechanical analysis relies upon the use of a statistical-based model for forecasting whereas charting based analysis relies upon the detection of predefined patterns from the historical data. Charting based analysis is thought to be unreliable and extremely subjective as it is heavily dependent on the prior experience and heuristics of the trader performing the analysis.

With computational finance gaining interest and momentum in the financial world, soft computing techniques have been increasingly used for FOREX forecasting. Researchers such as Gerlein et al. have explored the use of simple machine learning methods for financial trading [12]. In addition, methods involving Artificial Neural Network (ANN) [13] – [15], Genetic Algorithm (GA) and its various derivatives [16] - [18] Neuro-Fuzzy Computing [6], [19], as well as Support Vector Regression (SVR) [9], [20] – [22] have also been utilised for analysis and forecasting with promising outcome. From the analysis and forecasting results, various trading indicators and rules are subsequently applied to generate buy/sell recommendation to the traders.

III. FOREX TRADING PLATFORMS

Regardless of the FOREX analysis and forecasting method applied, trading platform remains a crucial tool for FOREX trading. This is partly because trading platform not only offers a plethora of tools from analysis, visualisation, and trading options, all the elements combine to offer traders a cohesive outlook on the market along with trading recommendations (buy/sell) if supported by the platform. The tools offered provide an advantage to the traders as it offers numerous important information to consider with the final aim of performing profitable automated trading. Gallo [23] provides an extensive discussion of how computational tools can help with financial forecasting as well as various trading rules practiced by the traders.

With personal computing devices such as computers and smartphones becoming easily accessible, both software-based as well as web-based trading platforms have been developed. Albeit providing the same functionalities, subtle differences between both the software-based and web-based platform in terms of usability and feasibility affects the trader’s choice. Therefore, the pros and cons of each of the trading platforms are as summarised in Table 1. Keeping that in mind, a thorough look at the various trading platforms available in the market and its functionalities would give a better understanding on each of the implementations.

Table 1. Comparison between web-based and software-based trading platform.
Features Web Based Software Based
Portability Yes No
Installation No Yes
Compatibility Issues Highly unlikely Possible as more system resource are required for certain trading platforms
Charting Features Simple and standardised Additional features are available
Download Excel Table
3.1. Existing FOREX Trading Platforms

As previously discussed, the FOREX trading platform have grown to offer more than just mundane monitoring task and buy/sell transactions. Since additional features are added progressively, FOREX trading platforms must be flexible enough to allow for easy integration of new features and personalisation capabilities to cater to the traders. Software-based platforms such as OANDA MetaTrader [24] shown in Figure 1 below offers more flexibilities and functionalities whereby the platform capability and features could easily be expanded by developers proficient in the programming language as listed in Table 2. In fact, researchers such as Pinto and Silva [25] have also implemented their proposed system using Meta Trader (version 5) with MQL5 programming language.

Table 2. Software-based trading platform.
Trading Platform Programming Language
CQG [28] C#, C ++, Visual Basic, Python and Matlab via API
Ensign Windows [29] ESPL(similar to Delphi)
MetaStock [30] MetaStock Script Language (simple, outdated)
MetaTrader (MT) [31] MetaQuotes Language MQL4 / MQL5 (C based)
MultiCharts [32] Easy Language and C# (new .NET version)
NeoTicker [33] Delphi & Neoticker formula language
NinjaTrader [34] C# & NinjaScript (extension of C#)
SierraChart [35] C++ & ACSIL (extension of C++)
Tradecision [36] Improvian (simple language)
TradeStation [37] Easy Language
Wealth-Lab [38] C# + Wealth-Script
Download Excel Table

Although the web-based trading platform is not totally devoid of additional features, it is not easily adaptable and customisable. However, it is more practical and easily accessible as it only requires web browser access from a computer or mobile browser when accessed via smartphone/tablet. Among the well-known web based trading platform are IQ Option [26] and FxPro MT4 (MetaTrader 4) WebTrader [27]. The online interface for the FxPro MT4 WebTrader trading platform is as shown in Figure 2. Satisfying most of the basic requirement often required by traders, it is deemed to be adequate for novice and intermediate level traders.

jmis-4-4-271-g1
Fig. 1. OANDA MetaTrader interface.
Download Original Figure
jmis-4-4-271-g2
Fig. 2. FxPro MT4 WebTrader interface.
Download Original Figure
3.2. FOREX Trading Tools and Features

In general, the functionalities provided by the platform can be classified into five main groups, namely data selection, technical analysis, expert system implementation, display, and trading support. Data selection not only allows for selection of various currency pair but also the time interval between each data point. Technical analysis often pertains to the calculation of the various technical indicators implemented by traders. Apart from adding it to the display area alongside the real-time data to observe its effects, the technical indicators are also subsequently incorporated into various trading rules that will determine the buy/sell status. Depending on the platform, expert systems available could also be invoked to provide a trading recommendation. Lastly, trading support is also incorporated into the trading platform whereby certain stop loss or limit order rules are implemented within the platform. Figure 3 below shows an example of the FxPro MT4 WebTrader implementation of the functionalities examined.

jmis-4-4-271-g3
Fig. 3. FxPro MT4 WebTrader features: (a) Buy/Sell trading Support, (b) Customisation features in FOREX trading platform.
Download Original Figure

IV. PROPOSED E-LEARNING TRADING PLATFORMS

4.1. Trading/Learning Tool

This paper proposes the development of a web-based binary trading platform which does not only allow for traders to perform basic FOREX transaction but also acts as an e-learning tool for novice/beginners. While most of the features within the proposed implementation are available in most of the trading platform, the novelty lies within the trading recommendation system. In addition, elements of e-learning are also incorporated whereby the concept behind each technical indicator and machine learning algorithm implemented would be explained within the system. The information provided would be invaluable especially for novice traders just learning to navigate the FOREX market.

4.2. Trading/Learning Tool

The proposed e-learning trading platform developed using JavaServer Pages (JSP) technology alongside server connection provided by the OANDA API consist of all five of the main functionalities as discussed in Section 3.2. The OANDA API is instrumental in obtaining real-time currency exchange data for the proposed trading platform. With the successful acquisition of the real-time currency exchange data from the OANDA server, the information will be updated to the web page display according to the pre-determined time interval.

As the proposed system is still at a preliminary stage, two different technical indicators are chosen for implementation. Albeit being two of the most basic technical indicators used, the Moving Average Convergence Divergence (MACD) and the Exponential Moving Average (EMA) technical indicator proves to be extremely useful as various trading rules are often formed with the additional information. Pertinent information such as a short description of the technical indicator as well as how it is obtained are also shown to the traders. Additional technical indicators will be provided to the as development work progresses to give traders more options.

The calculation for EMA is as stated below in equation (1) and (2) whereby Pq denotes the current exchange price, q is the qth data of the exchange price and EMAq is the EMA value of the qth price index. α refers to the decay factor which can be calculated as: 2/(m+1) whereby m is the time window defined.

E M A q ( P , m ) = ( P q   E M A q 1 ) * α   +   E M A q 1
(1)
= ( 1   α ) * E M A q 1 +   α *     P q  
(2)

Once the EMA is obtained, the MACD can be easily calculated as it is dependent upon the EMA results as shown in equation (3)(5).

M A C D = ( 12 d a y   E M A )   ( 26 d a y   E M A )
(3)
S I G N A L =   9 d a y   E M A   o f   M A C D   L i n e
(4)
M A C D   H i s t o g r a m =   M A C D   L i n e S i g n a l   L i n e
(5)

Albeit having similarities with the existing trading platform up to a certain degree, the subtle differences of the proposed trading platform as illustrated in Figure 4Figure 8 will be highlighted. Firstly, the display of technical indicators with a customisable time interval are maintained like the existing trading platforms such as shown in Figure 4. However, additional information and explanation pertinent to the e-learning module would be situated underneath the main display. If the amount of data on display gets too over-crowded, the zoom and pan feature implemented would come in handy as it enables the trader to select the area to zoom by clicking and dragging over the area rather than the conventional implementation which offers more control as depicted in Figure 5. Traders could also opt to use the traditional zoom and pan feature by clicking on the button situated at the top right of the display. Lastly, traders are also given the option to hide certain plots on the display by clicking on the wording of the display legend and the plot will be hidden as shown in Figure 6 and Figure 7.

jmis-4-4-271-g4
Fig. 4. MACD oscillator as displayed on the Web-based trading platform.
Download Original Figure
jmis-4-4-271-g5
Fig. 5. Featured embedded on the graph.
Download Original Figure
jmis-4-4-271-g6
Fig. 6. Plot hiding feature.
Download Original Figure
jmis-4-4-271-g7
Fig. 7. Selected plot disappears.
Download Original Figure

As for the forecasting module, the forecasting result using machine learning analysis methods will also be provided to the traders such as shown in Figure 8. The degree of complexity on the forecasting result provided to the traders can be personalised as the level of details displayed is entirely up to the traders. The display could range from a simple buy/sell recommendation to detailed forecasting result obtained from the machine learning algorithm. The information provided will inevitably be different depending on the machine learning method chosen by the traders.

jmis-4-4-271-g8
Fig. 8. ARIMA forecasting results using real-time data.
Download Original Figure

The implementation of trading rules on the proposed trading platform is also made possible as it is based upon the use of simple existing technical indicators such as EMA. A simple example of a trading rule implemented is as shown previously in Figure 4 whereby the recommended buy/sell decision based on the EMA crossovers is incorporated into the charts as denoted by the triangle plot at the crossover points of the 12-period and 26-period EMA. Together with the forecasting result provided by the machine learning algorithm, traders are able to take into consideration all the information provided when making the final trading decision.

V. CONCLUSION

In conclusion, a novel web-based trading platform integrated with e-learning features for FOREX trading is proposed. With extensive study of the FOREX trading on various aspects such as analysis, forecasting, and various trading rules carried out, it is important that traders can implement it without hassle in their everyday trading. The proposed system not only allows for ease of implementation but enables the disseminated of knowledge to all traders in hopes that it will lead to profitable investments.

Among some of the future work on the proposed trading platform with regards to the e – learning module involves the addition of more technical indicators and machine learning module for forecasting. Apart from that, the forecasting result display along with the minute details returned by the forecasting module implemented will also be further improved to enable customisation by the trader. Apart from that, the support for stop loss or limit order rules when trading would also be a useful addition into the trading platform to ensure that it achieves its fullest potential with a variety of tools for traders.

REFERENCES

[1].

A. Abraham, “Analysis of hybrid soft and hard computing techniques for forex monitoring systems,” in Proc. 2002 IEEE Int. Conf. Fuzzy Syst., vol. 2, 2002.

[2].

P. S. Gabriel, “How Newspaper-Article-Events, Other Stock Market Indices, and the Foreign Currency Rate Affect the Philippine Stock Market,” Asian Economic and Financial Review, vol. 3, no. 4, pp. 423–444, 2013.

[3].

A. Khadjeh Nassirtoussi, S. Aghabozorgi, Y. W. Teh, and D. C. L. Ngo, “Text mining of news-headlines for FOREX market prediction: A Multi-Layer Dimension Reduction Algorithm with Semantics and Sentiment,” Expert Systems with Applications, vol. 42, no. 1, pp. 306–324, 2014.

[4].

A. Khadjeh Nassirtoussi, S. Aghabozorgi, Y. W. Teh, and D. C. L Ngo, “Text mining for Market Prediction: A Systematic Review,” Expert Systems with Applications, vol. 41, no. 16, pp. 7653–7670, 2014.

[5].

T. Rao and S. Srivastava, “Using Twitter Sentiments and Search Volumes Index to Predict Oil, Gold, Forex and Markets Indices, in Proceedings of the Annual ACM Web Science Conference, pp. 336 – 345, 2012.

[6].

A. Bagheri, H. Mohammadi Peyhani, and M. Akbari, “Financial forecasting using ANFIS networks with Quantum-behaved Particle Swarm Optimization,” Expert Syst. Appl., vol. 41, no. 14, pp. 6235–6250, 2014.

[7].

C. J. Neely and P. A. Weller, “Technical analysis in the foreign exchange market,” Technical Report No. 2011–001B, 2011.

[8].

S. Schulmeister, “Components of the Profitability of Technical Currency Trading,” Applied Financial Economics, vol. 18, no. 1, pp. 917 – 930, 2008.

[9].

S. Pang, L. Song, and N. Kasabov, “Correlation-aided support vector regression for forex time series prediction,” Neural Comput. Appl., vol. 20, no. 8, pp. 1193–1203, 2011.

[10].

P. H. Hsu, M. P. Taylor, and Z. Wang, “Technical Trading: Is it still beating the foreign exchange market?,” Journal of International Economics, vol. 102, pp. 188–208, 2016.

[11].

H. T. Wong, “Exchange rate forecast: A note,” J. Stock Forex Trading, vol. 2, no. 2, 2013.

[12].

E. A. Gerlein, M. McGinnity, A. Belatreche, S. Coleman, “Evaluating machine learning classification for financial trading: An empirical approach,” Expert Systems with Applications, vol. 54, pp.193–207, 2016.

[13].

J. Yao and C. L. Tan, “A case study on using neural networks to perform technical forecasting of forex,” Neurocomputing, vol. 34, no. 1, pp. 79–98, 2000.

[14].

A. Emam, “Optimal artificial neural network topology for foreign exchange forecasting,” in Proc. 46th Annual Southeast Regional Conference on XX, pp. 63–68, 2008.

[15].

T. Zafeiriou and D. Kalles, “Short-term trend prediction of foreign exchange rates with a Neural-Network based ensemble of financial technical indicators,” Int. J. Artif. Intell. Tools, vol. 22, no. 3, p. 1350016, 2013.

[16].

K. Slany, “Towards the automatic evolutionary prediction of the FOREX market behaviour,” in Proc. 2009 International Conference on Adaptive and Intelligent Systems, pp. 141–145, 2009.

[17].

K. Theofilatos, S. Likothanassis, and A. Karathanasopoulos, “Modeling and trading the EUR/USD exchange rate using machine learning techniques,” Eng. Technol. Appl. Sci. Res., vol. 2, no. 5, pp. 269–272, 2012.

[18].

M. Ozturk, I. H. Toroslu, G. Fidan, “Heuristic based trading system on Forex data using technical indicator rules,” Applied Soft Computing, vol. 43, pp. 170–186, 2016.

[19].

S. M. Fahimifard, M. Homayounifar, M. Sabouhi, and A. R. Moghaddamnia, “Comparison of ANFIS, ANN, GARCH and ARIMA Techniques to Exchange Rate Forecasting,” J. Appl. Sci., vol. 9, no. 20, pp. 3641–3651, 2009.

[20].

A. A. Baasher and M. W. Fakhr, “Forex trend classification using machine learning techniques,” in Proc. 11th WSEAS International Conference on Applied Computer Science, pp. 41–47, 2011.

[21].

R. F. B. De Brito and A. L. I. Oliveira, “A foreign exchange market trading system by combining GHSOM and SVR,” in Proc. 2012 International Joint Conference on Neural Networks (IJCNN), pp. 1–7, 2012.

[22].

R. F. B. De Brito and A. L. I. Oliveira, “Comparative study of FOREX trading systems built with SVR+GHSOM and Genetic Algorithms optimization of technical indicators,” in Proceedings of the 2012 IEEE 24th International Conference on Tools with Artificial Intelligence, 2012, vol. 1, pp. 351–358, 2012.

[23].

C. Gallo, “The forex market in practice: A computing approach for automated trading strategies,” Int. J. Econ. Manag. Sci., vol. 3, no. 1, 2014.

[24].

“OANDA” https://www.oanda.com.

[25].

R. M. C. Pinto and J. C. M. Silva, “Strategic methods for automated trading in forex,” in Proc. 12th International Conference on Intelligent Systems Design and Applications (ISDA), pp. 34–39, 2012.

[26].

“IQ option” https://iqoption.com/en.

[27].

“FxPro MT4 (Metatrader4) WebTrader” http://www.fxpro.co.uk/trading/platforms/mt4/web.

[28].

“CQG” http://partners.cqg.com, August, 2017.

[29].

“Ensign Windows” http://www.ensignsoftware.com, Aug., 2017.

[30].

“MetaStock” https://www.metastock.com.

[31].

[32].

“MultiCharts” https://www.multicharts.com.

[33].

“NeoTicker” Available: http://www.tickquest.com.

[34].

“NinjaTrader” Available: http://ninjatrader.com.

[35].

“SierraChart” https://www.sierrachart.com.

[36].

“TradeDecision” http://www.tradecision.com.

[37].

“TradeStation” http://www.tradestation.com.

[38].

“Wealth-Lab” https://www.wealth-lab.com.