Claim Missing Document
Check
Articles

Found 2 Documents
Search

COMPARING GAUSSIAN AND DISCRETIZED NAIVE BAYES FOR FOREX TRADING WITH ONNX-INTEGRATED MT5 EXECUTION Abdillah Baradja; Bayu Mukti; Muhamad Fadel Amrullah
Jurnal Teknologi Informasi Mura (JTI) Vol. 18 No. 2 (2026): Jurnal Teknologi Informasi Mura JUNI
Publisher : LPPM UNIVERSITAS BINA INSAN

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.32767/jti.v18i2.3367

Abstract

Predicting non-stationary, non-normal hourly foreign exchange rates using probability-based classifiers is challenging, and the standard Gaussian assumption for Naive Bayes can be fragile. This study evaluated and compared three Naive Bayes representations for hourly foreign exchange rate prediction to examine the impact of feature discretization. The representations included Gaussian Naive Bayes on continuous indicators, equal-width binned Bernoulli Naive Bayes, and equal-frequency binned Bernoulli Naive Bayes. Relative Strength Index, Average True Range, and Moving Average Convergence Divergence indicators were computed from hourly historical bars for three major currency pairs. The models were trained in Python, exported via the Open Neural Network Exchange, and integrated into MetaTrader 5 for backtesting under a standardized execution gate. Backtests revealed that the quantile-binned equal-frequency model achieved consistent profitability across all three currency pairs, whereas the Gaussian and uniform-binned models demonstrated unstable performance and significant drawdowns. The findings suggested that quantile-based discretization mitigated the impact of outliers and improved classifier robustness in non-stationary market environments.
COMPARING GAUSSIAN AND DISCRETIZED NAIVE BAYES FOR FOREX TRADING WITH ONNX-INTEGRATED MT5 EXECUTION Abdillah Baradja; Bayu Mukti; Muhamad Fadel Amrullah
Jurnal Teknologi Informasi Mura (JTI) Vol. 18 No. 2 (2026): Jurnal Teknologi Informasi Mura JUNI
Publisher : LPPM UNIVERSITAS BINA INSAN

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.32767/jti.v18i2.3367

Abstract

Predicting non-stationary, non-normal hourly foreign exchange rates using probability-based classifiers is challenging, and the standard Gaussian assumption for Naive Bayes can be fragile. This study evaluated and compared three Naive Bayes representations for hourly foreign exchange rate prediction to examine the impact of feature discretization. The representations included Gaussian Naive Bayes on continuous indicators, equal-width binned Bernoulli Naive Bayes, and equal-frequency binned Bernoulli Naive Bayes. Relative Strength Index, Average True Range, and Moving Average Convergence Divergence indicators were computed from hourly historical bars for three major currency pairs. The models were trained in Python, exported via the Open Neural Network Exchange, and integrated into MetaTrader 5 for backtesting under a standardized execution gate. Backtests revealed that the quantile-binned equal-frequency model achieved consistent profitability across all three currency pairs, whereas the Gaussian and uniform-binned models demonstrated unstable performance and significant drawdowns. The findings suggested that quantile-based discretization mitigated the impact of outliers and improved classifier robustness in non-stationary market environments.