Experts: MarketPredictor for MetaTrader 5

 

MarketPredictor for MetaTrader 5:

MarketPredictor for MetaTrader 5 The MarketPredictor is an innovative Expert Advisor (EA) for MetaTrader 5 that leverages mathematical models such as sine functions, Fast Fourier Transform (FFT), sigmoid functions, and Monte Carlo simulations to analyze and predict market movements. This project is designed for developers, math enthusiasts, and traders interested in combining technological and financial innovations. Feel free to suggest, discuss, and implement code ideas directly in this thread. Whether it’s new features, improvement suggestions, or strategies – every contribution is welcome to further develop and optimize the MarketPredictor. You’re also welcome to add me to clarify questions privately, collaborate on the GitHub project, or send me your feedback directly. Let’s cook up something amazing together and take this project to the next level!

Author: Mustafa Seyyid Sahin

 
My first Robot
 
In trading there is no space for predictions, if you predict, you have already lost. If you don't know which way the market is headed, its best to go back and do tests and analyse again, then if you were wrong, its ok, at least you didn't predict. This way you will be right most of the time. Predict=gamble
 
Nardus Van Staden #:
In trading there is no space for predictions, if you predict, you have already lost. If you don't know which way the market is headed, its best to go back and do tests and analyse again, then if you were wrong, its ok, at least you didn't predict. This way you will be right most of the time. Predict=gamble

You're right – speculative predictions are risky. But in trading, it's often about calculating probabilities, especially with complex algorithms like my EA.

Using sinusoidal functions, FFT, sigmoid functions, and Monte Carlo simulations, I analyze cyclical patterns, nonlinear movements, and possible scenarios. This allows me to make data-driven decisions combined with solid risk management – the foundation of successful trading.

 

doesn't open any trades

I put it in optimization but I don't have any orders opened ? any fix to this ?

thanks
Jeff

 
@Jean Francois Le Bas #: doesn't open any trades. I put it in optimization but I don't have any orders opened ? any fix to this ?

Did you not read the description?

Project Status and Current Challenges:

The EA has been developed with extensive trading logic and analytical functions. However, it is currently not executing trades, even though the trading strategy is implemented. This project is released as open source to collaborate with the community to resolve this issue and improve the EA.

 

Where you try open a trade, add:

1.) request.type_filling = ORDER_FILLING_IOC;

You need filling if using request. (Why not use cTrade etc?)

2.) Your predictor (Variable P_t1) is exactly the same as currentPrice so, there is no trade according to the prediction.

Will try spend some time tomorrow.

 
is this robot or what on back testing , it did not work
 
JDPNZD #:

Where you try open a trade, add:

1.) request.type_filling = ORDER_FILLING_IOC;

You need filling if using request. (Why not use cTrade etc?)

2.) Your predictor (Variable P_t1) is exactly the same as currentPrice so, there is no trade according to the prediction.

Will try spend some time tomorrow.

Thanks, I'll check it out.

 
Aslam Sbry Alsyd Mstfy #:
is this robot or what on back testing , it did not work

The description contains all the information, it is an open source project, the EA does not set any positions.

 
Mustafa Seyyid Sahin #:

The description contains all the information, it is an open source project, the EA does not set any positions.

According to what I read, all forms of immediate execution orders require the  type_filling field to be set.

Trade Request Structure - Data Structures - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5

Order Properties - Trade Constants - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5

Documentation on MQL5: Constants, Enumerations and Structures / Data Structures / Trade Request Structure
Documentation on MQL5: Constants, Enumerations and Structures / Data Structures / Trade Request Structure
  • www.mql5.com
Interaction between the client terminal and a trade server for executing the order placing operation is performed by using trade requests. The...