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
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.
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.
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.

- www.mql5.com

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
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