# ReadMe for mql5
## Introduction
This repository contains the source code for a Metatrader 5 expert advisor, `EANeuralTrade`, which exemplifies the usage of neural networks in automated trading on MT5 platform. The trading logic, initialization and deinitialization of the neural network and trading algorithm are encapsulated in this class.
## Dependencies
You should have MetaTrader5 platform installed on your machine. Additionally, you must include the `Expert\Expert.mqh` library file available in the standard MQL5 includes.
## Source Code Files
- ExpertAdvisor.mq5: This file contains the definition and implementation of the `EANeuralTrade` class including initialization (Init), deinitialization (Deinit) and Processing methods. It also includes the definition of private variables such as `takeprofit`, `stoploss` and `volume` and a method to calculate the number of open trades.
## Implementation
In the `EANeuralTrade::Init()` method, you should implement the initialization of the neural network and the trading algorithm. The `EANeuralTrade:
einit()` method should include the code to cleanup the initialized neural network and any other objects related to the trading algorithm.
The `Processing()` method should realize the underlying trading mechanism. Example code demonstrates that the trading algorithm is activated once the number of open trades is less than 3.
## Contribution
For more depth review of the night scalper `EANeuralTrade`, you can visit the website [Forex Robot Review: EA White Lotus - An in-depth review of the night scalper](https://forexroboteasy.com/forex-robot-review/ea-white-lotus-an-in-depth-review-of-the-night-scalper/). Any suggestions, bug reports, pull requests are welcomed and much appreciated.
## License
The code is available under the [MIT License](https://opensource.org/licenses/MIT).
## Introduction
This repository contains the source code for a Metatrader 5 expert advisor, `EANeuralTrade`, which exemplifies the usage of neural networks in automated trading on MT5 platform. The trading logic, initialization and deinitialization of the neural network and trading algorithm are encapsulated in this class.
## Dependencies
You should have MetaTrader5 platform installed on your machine. Additionally, you must include the `Expert\Expert.mqh` library file available in the standard MQL5 includes.
## Source Code Files
- ExpertAdvisor.mq5: This file contains the definition and implementation of the `EANeuralTrade` class including initialization (Init), deinitialization (Deinit) and Processing methods. It also includes the definition of private variables such as `takeprofit`, `stoploss` and `volume` and a method to calculate the number of open trades.
## Implementation
In the `EANeuralTrade::Init()` method, you should implement the initialization of the neural network and the trading algorithm. The `EANeuralTrade:
The `Processing()` method should realize the underlying trading mechanism. Example code demonstrates that the trading algorithm is activated once the number of open trades is less than 3.
## Contribution
For more depth review of the night scalper `EANeuralTrade`, you can visit the website [Forex Robot Review: EA White Lotus - An in-depth review of the night scalper](https://forexroboteasy.com/forex-robot-review/ea-white-lotus-an-in-depth-review-of-the-night-scalper/). Any suggestions, bug reports, pull requests are welcomed and much appreciated.
## License
The code is available under the [MIT License](https://opensource.org/licenses/MIT).