Need help to code a simple AI in mql language

 

In Artificial Intelligence today the best algorithms use machine learning, it try several scenarios and get better, so can someone here help me to create a simple AI, for learning purposes?

The problem is:

There is a number  - 1001

The goal is find a formula to remove the forth number of that number, so 100 would be the result. The algorithm, to get this result, can use all math and conversion functions on mql5 language, so can someone create this program to find this formula by machine learning?


It's possible to solve this problem using:   normalizedouble (), you divide 1001 by 10 and then removes 0.1 with this function, but can someone create an algorithm to find this solution by itself?

thanks

 
You need two things for that:
1. Some AI framework to use with mql (unsupervised).
2. Define what is success and what is failure in general case and what are the operations allowed (for instance removing one digit). You defined just one case with 4 digits not a general case with genetal rules and general success/failure messearnent.

But because of lacking of 1, I guess you will not get the answer here.
 
You need more serious take a look at symbolic regression and genetic programming and don't query any help, go throught it yourself - only you and mql...