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

NeuroPro Converter - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 4 reads | 0 comments |

NeuroPro Converter - script for MetaTrader 5

NeuroPro Converter - script for MetaTrader 5

NeuroPro Converter - script for MetaTrader 5

NeuroPro Converter - script for MetaTrader 5

NeuroPro Converter - script for MetaTrader 5

This script is designed to automate the process of transferring neural networks from the analysis package Neural Pro (released in 1997) to the MetaTrader 4/5 trading terminal.


The classic article "Using NeuroPro Neural Networks in Trading" describes the process of "verbalizing" a trained network into text code, and also states that the NeuroPro output format is incompatible with modern MQL5 syntax:

Syntax : Missing data type declaration (double), unnecessary closing bracket, missing semicolon and specific record of array index (___1__).

Arithmetic : "--" sequences were incorrectly interpreted as decrement operators.

Encoding: 90's software outputs text in ANSI (CP1251), which causes Cyrillic identifiers to be lost (turning them into "krakozabras").

The Script Converter fully automates 90% of the "dirty" work of translating speech into code that used to take a lot of useful time due to manual editing.


Byte reading : The script directly reads the source file IN.txt through FILE_BIN, eliminating character distortion caused by the system clipboard.

Name invariants: The script does not impose its own name. If you name input channels BAR, IN, OUT, or something else, the script will leave them unchanged, preserving the author's case.

Smart Replacement: Convert only key elements:

SigmoidX → SiX (preserves the index of the activation function).

SyndromeX → Double SyX (automatic declaration of interneurons).

Grammar corrector: The script calculates the balance of brackets on each line, removes extra characters at the end of formulas and arranges ";"


In Neural Pro , verbalize the network and save the results to a text file (e.g. IN.txt).

Place the file in the terminal data folder: MQL5\Files\NeuroPro\.

Run the script. In the input parameters window you can specify the path and file name.

The generated file IN Ready.txt contains clean MQL5 code that can be inserted into the Expert Advisor.



Script operation example:

1) Screenshot the part of the NeuroPro program that calls the language window
2) Screenshot of the opened file - the result of running the script.

NeuroPro Converter - script for MetaTrader 5 NeuroPro Converter - script for MetaTrader 5

NeuroPro Converter - script for MetaTrader 5



The script performs a character-by-character parsing (token analysis) of the right-hand part of the expression, which guarantees the preservation of all mathematical coefficients and Latin identifiers. Full Cyrillic support by forcing decoding of 1251 pages.

Strict multi-timeframe price action EA trading, trading simultaneously according to precise OHLC conditions in different timeframes. It features pending order entry, role switching and dynamic risk management without the use of any lagging indicators.

JSON library designed for heavy use of LLM and low latency.

Complete SMC Toolkit: BOS/CHOCH Detection, Order Blocks (Inside + Volatility), Fair Value Gaps, Equal Highs/Lows, Premium/Discount Areas, Strong/Weak H/L, Trend Candles, Dashboard, 4 Channel Alerts. free.

Heikin Ashi overlay (colored candles or lines) with 5 smoothing methods, step filter, MTF, signal arrows, intensity meter, dashboard and 4 channel alerts (pop/sound/push/email). free.


Attachment download

📎 NeuroPro_Converter.mq5 (8 KB)

Source: MQL5 #69583

Verification code Refresh