looking for material to make a small earobot based on a technical system

 
sorry my english
I want to create a earobot based on a technical system. the earobot should open a position and each -28 pips should open another position with the lot doubled compared to before. all this until you get to TP the last open position. The TP should be 31 pips. 5000 from a starting position of 0.01 lot system virtually never loses. you can start with 10000 0.02 lot. and the robot is expected to open at the same time sell to buy.
If someone can give me some information ...
 

search for martingale

 
positive_trade:
[...] If someone can give me some information ...
Here -> https://www.mql5.com/en/articles/1481. Good luck!
 

congratulations for the speed with which you answered.
I read both the article on the martingale and tried to understand something in the code of EA but I just realized how small these things.
Now I would like to rectify the question: does anybody know a EA that may be suitable for me? every 28 pips against another should open trade with the lot doubled once took a TP of 31 pips should close all positions? maybe if you know a similar one on which you could change the set.
thanks

Reason: