Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

BPNN MQL Predictor Demo with Library - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

BPNN MQL Predictor Demo with library - indicator for MetaTrader 5

This is not a real-world indicator, but a simple demonstration of the BPNN library, originally written in C++ and ported to MQL.

This demo shows training and testing a neural network for time series forecasting.

Please find a complete description of the neural network on the original page BP Neural Network Forecasting Indicators , which uses the DLL library.

In this implementation, libraries and indicators can be built natively in MQL5.

The source code can be compiled into a standalone ex5 library, which should then be imported into your MQL5 program. Alternatively the source code can be included directly into your MQL5 program, so no external library is needed since it is already embedded in the program. Demo indicators can be constructed in two modes.

Attached documents:

Contains only one of the following files: BPNN_MQL_IMPL.mqh or BPNN_MQL.mqh. Don't include both. If you include BPNN_MQL.mqh, make sure that the library BPNN_MQL.mq5 is precompiled.

BPNN MQL Predictor Demo with library - indicator for MetaTrader 5


Attachment download

📎 bpnn_mql.mq5 (1.13 KB)

📎 bpnn_mql_impl.mqh (22.82 KB)

📎 bpnn_mql.mqh (3.08 KB)

📎 bpnnmqli45.mqh (1.49 KB)

📎 bpnnmqlpredictordemo.mq5 (12.1 KB)

Source: MQL5 #27396

Verification code Refresh