Price Time Correlation Trading Model – EA MetaTrader 4

Price Time Correlation Trading Model - expert for MetaTrader 4
The price-time correlation EA uses the value and direction of the price-time correlation as a basis for trade signals.   Two trade strategies, Trend and Reversal, are available.  In addition, four methods of computing the correlation value are provided:  Pearson, Spearman, Kendall and Fechner methods.   These methods are provided in the accompanying include file … Read more

observer (pull model) – behavioral design pattern – library MetaTrader 5

observer (pull model) - behavioral design pattern - library for MetaTrader 5
//+——————————————————————+ //|                                                201111_104313.mqh | //|                                    2019-2020, dimitri pecheritsa | //|                                                 792112@gmail.com | //+——————————————————————+ // //   observer (pull model) – behavioral design pattern // //   from: design patterns: elements of reusable object-oriented software //   by gof: erich gamma, richard helm, ralph johnson, john vlissides //   published in 1994 // //   intent // //   define a one-to-many dependency between … Read more

Example of using an ONNX model to recognize handwritten numbers – EA MetaTrader 5

Example of using an ONNX model to recognize handwritten numbers - expert for MetaTrader 5
An Expert Advisor that can recognize handwritten digits The MNIST database consists of 60,000 images for training and 10,000 images for testing. These images were created by “re-mixing” an original NIST set of 20×20 pixel black-and-white samples, which in turn were obtained from the US Census Bureau and supplemented with testing samples taken from American … Read more

Input and output of onnx model – script MetaTrader 5

Input and output of onnx model - script for MetaTrader 5
ONNX is an open-source format for representing machine learning models. The script allows the user to select an ONNX model file through a file dialog. It then creates an ONNX session, retrieves information about the input and output tensors in the model, and prints this information to the console. Here’s a breakdown of the script’s … Read more