Hi, I'm going to make my own EA, but, I have to be honest, I dont know where to start :P
Its pretty simple:
-I have 5% of my acc for lose - my risk
-Every time I open a position, EA checks, how much I have free margin ( this 5% )
-no positions- It sets SL at 5% of all acc
-there are positions - It sets SL of piece of this "margin" ( for example: I have one position with moved sl by me at 2% of all acc - It sets sl at 3% )
-It has to be at least, 1% free "margin"
-Every time I open position, EA sets TP at 3% of all acc
1000 on acc - one position with sl at -20 -> I open new one, with SL at -30 and TP at +30
Is this even possible to make? And sorry for my english :P How I can make this EA?
The rest of your post is too difficult for a newbie coder.
Although "The book" at the top of the page is pretty basic nowadays, it will help you to learn to code. You cannot expect to jump in and write an EA without spending some time studying first.
To add comments, please log in or register