Looking for blocks controlling money management
-
I can't find any available example on how can several simultaneous trades be managed on % current balance. What I mean is that I don't know how can I controll that, let's say, four open trades (no matter if ther are winning or losing) close immediately once a previously set number of pips or % balance is achieved.
Any help?
-
Some of the Money Management options in Buy now/Sell now use calculate the lot size of the future trade by using the lot size of the previous trade. Others use the current Balance/Equity or something else. But if you use "Buy now" block, this block creates a new trade and does nothing else at all!
So if you want to check something AFTER the trade is created, this can be done in other blocks. You can try "Check profit (unrealized)" and then "Close trades" connected to it.
-
Interesting. I'll take a look. Now I would like to ask which blocks should I use to do the following:
- My EA will open several trades at different charts.
- Some orders will be won and other lost.
- I would like to have something like a " pip counter" (sorry, I don't know the proper word in English). What I mean is that ther should be something counting how many pips have been got today. So that when a previously specified amount has been reached, all open trades right now are closed.
Let me put an example. I want to get 40 pips today, no matter in which chart. The sum of my two fisrt trades lost 30 pip. Now I have four trades open. The overall result of all of them right now is 70 winning pips. That's exactly my target for today so all trades are closed. Can you suggest me how can that be done?
Thanks in advance.