NEL O D I Back Prop Chart
This is a powerful addition to your MetaTrader 5 toolkit designed to optimize market analysis and performance. This library provides a collection of modular, reusable code. It is utilized by developers to organize common functions, allowing for the integration of complex logic across multiple Expert Advisors, indicators, or scripts without the need for code duplication.
How to Setup and Use NEL O D I Back Prop Chart
1. Storage: Place library files in the MQL/Libraries directory to ensure they are accessible to your projects.
2. Implementation: Include the library in your code using the #import directive, ensuring you match the exact function names and parameters.
3. Compilation: Ensure the library is present in the directory before you compile your main EA or script, as the compiler links them during this phase.
4. Management: Keep libraries organized in sub-folders if you manage many custom functions to maintain a clean project structure.
Frequently Asked Questions
Q: What is a library file used for? A: Libraries store reusable code modules, allowing you to centralize common logic used by multiple EAs or indicators.
Q: Is a library executable? A: No, libraries are non-executable files containing functions; they must be imported into an EA, indicator, or script to function.
Q: Can I update a library while the platform is running? A: You should compile your EA or script after updating a library to ensure the latest code changes are integrated.
Description & Settings
"NLD_BackProp.mqh" contains the implementation of a very simple Artificial Neural Network that has one hidden layer and uses back-propagation for training/learning. The advantage of this implementation is that it is very short, which makes it easy for anyone to get started with ANNs.
"NLD_BPChart.mq5" is a custom price chart, painting price movements as a red/green line and using the Artificial Neural Network (implemented in "NLD_BackProp.mqh") to try predicting where the Close price might be going next, relative to the last Open price. It projects the next X Close prices (default = 10) into the future by using the last Y Open prices (default = 200) from the past, optimizing network weights with every new (completed) candle received.
I wouldn't call the output of the Artificial Neural Network a "prediction", but simply an "opinion", which I would NOT take seriously when trading, so do NOT get too excited about it. But ... if you find Artificial Neural Networks interesting, it might be fun to watch how an Artificial Neural Network tries to optimize its outputs as new data arrives. There are many ways to use Artificial Neural Networks and this is just a very simple example, so have fun experimenting!
Both files are rather simple and do NOT have any external dependencies on other libraries or files.
DISCLAIMER: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
USE AT YOUR OWN RISK!