Lavoro terminato
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specifiche
A very simple utility EA to manage positions opened by grid strategy.
I need this EA in MQL4 and MQL5! Tow versions!
Dear developer,
I am using some grid/martingale strategy EAs, and many of them do not have grid level limitations, e.g. they will open next grid until stop-out by strong continuing trend. What I need is an EA which is attached to any chart in the same terminal to provide following functions:
1. A panel
Controls and shows status of parameter #1 below.
It is basically only a on/off button, so that I can turn the function on/off (or find out whether it is on or off) without opening the parameter setting of the EA.
2. Parameter:
#1. on/off (true/false). Turn on/off the manage function.
#2. Max. position quantity of same symbol (number). It is a number, for example, “5” means in the terminal there are maximal 5 EURUSD positions allowed.
#3. Close all by exceed max. allowed position (true/false): for example, if #2 = “5”, close all 6 positions as soon as the grid-EA opens 6 thEURUSD position.
#4. Close all by negative FL of last position (true/false): if the last (in above example, it should be the 5 thEURUSD position) is in floating loose, then close all 5 positions. This parameter has a limiter as described below in #5.
#5. Time limiter of #4 (number): for example if #4=true and #5=29, then close all 5 EURUSD positions if the 5 th(last opened acc. the time) position continuously has floating loose for more than 29 minutes. Reset this count if the 5 thposition turns in FP (even if it was in FL for 27 minutes), count again as soon s 5 thpositions turns into FL.
#6. Symbols (ENUM {all, chart}): if “all”, EA manages any symbol in the terminal, if “chart”, EA manages only the chart symbol.
Thank you!