Note: not my original EA. Free ea I found elsewhere. Looking to improve it.
I have evaluated several equity trailing EAs and I found that this EA is the best in terms of simplicity and what it does. I tried to use swiss army EA, and it might have done the trick if you could input initial value. And i forgot what else I didn't like about it.
Overall this EA is great for unattended, continuous trading, as it resets the values and continues to monitor new trades (from other EAs that are running continuously)with the new equity values and your acct can grow over time unattended. It can use hard dollar amounts or calculate $$ amount based on equity percentage. It is meant to manage the entire acct. equity. in real time. it doesn't really monitor individual trades.
I want to modify it a little so that it can be more in line with my trading goals. Doesn't have to be an EA. If you think it will run better as script, then fine. Here are my goals:
1) Main thing is that I want it to recalculate every .5 seconds or so (maybe this can be customizable). I want it calculating in faster real time instead of waiting for a new tick of whatever chart to attach it to. I have observed where equity has passed thresholds, but the EA didn't update because the attached chart didn't get new ticks. Yes, I use either EURUSD or GBPUSD but believe it or not they do have quiet periods.
2) I also want the text to be bigger and bold. I also want to split the text into 2 columns. Notice how everything is in one column now. I want 2 columns. Half on left, and other half on right.
3) Should also have labeled maximum drawdown just like it has maximum equity (and percentage). Should show the maximum drawdown that the acct has witnessed. If there are other
4) Would be nice: A screenshot be taken before the reset of the values. Or a txt file be written when positions are closed out (but before reset of values). So this way, if terminal crashes, I can go back and see This EA remembers reset, but not if you shut down terminal. That is what the initial EA value is for.
Perhaps it should be set so that you cannot modify the values unless you reapply the EA. The reason I say this is because if the terminal does crash or needs to be restarted, it will calculate profit target based on initial equity mark. But when it does this, it will be past the initial equity target, so as soon as it calculates the "old" target, it will immediately close out positions. So that is perhaps better than the screenshot because you could see the last values frozen there on the chart from the last setup.
5) Would be nice: Perhaps you could expand on this equity trailing as so to make it symbol-specific. I would like to see each symbol get the trail separately as well. But this is after the other stuff is accomplished.
6) *new* I also have a new request now. I wanted to also have an option to widen the profit target if the drawdown reaches a certain amount either dollar amount or percentage (also selectable), it will move the profit target and trailing start (separately) $xx (or percentage points). So in other words, if the drawdown reaches past $1000, increase profit target by $700 and increase trailing start by $400.
And it should show if this option was activated on the ea.
But the main thing is #s 1, 2, and 6. If the values cold be frozen if terminal crash as explained above in #4, that would also be helpful.
Unfortunately, my programming skills are not great at all. What can you do for me? Everyone's help is appreciated.
I have evaluated several equity trailing EAs and I found that this EA is the best in terms of simplicity and what it does. I tried to use swiss army EA, and it might have done the trick if you could input initial value. And i forgot what else I didn't like about it.
Overall this EA is great for unattended, continuous trading, as it resets the values and continues to monitor new trades (from other EAs that are running continuously)with the new equity values and your acct can grow over time unattended. It can use hard dollar amounts or calculate $$ amount based on equity percentage. It is meant to manage the entire acct. equity. in real time. it doesn't really monitor individual trades.
I want to modify it a little so that it can be more in line with my trading goals. Doesn't have to be an EA. If you think it will run better as script, then fine. Here are my goals:
1) Main thing is that I want it to recalculate every .5 seconds or so (maybe this can be customizable). I want it calculating in faster real time instead of waiting for a new tick of whatever chart to attach it to. I have observed where equity has passed thresholds, but the EA didn't update because the attached chart didn't get new ticks. Yes, I use either EURUSD or GBPUSD but believe it or not they do have quiet periods.
2) I also want the text to be bigger and bold. I also want to split the text into 2 columns. Notice how everything is in one column now. I want 2 columns. Half on left, and other half on right.
3) Should also have labeled maximum drawdown just like it has maximum equity (and percentage). Should show the maximum drawdown that the acct has witnessed. If there are other
4) Would be nice: A screenshot be taken before the reset of the values. Or a txt file be written when positions are closed out (but before reset of values). So this way, if terminal crashes, I can go back and see This EA remembers reset, but not if you shut down terminal. That is what the initial EA value is for.
Perhaps it should be set so that you cannot modify the values unless you reapply the EA. The reason I say this is because if the terminal does crash or needs to be restarted, it will calculate profit target based on initial equity mark. But when it does this, it will be past the initial equity target, so as soon as it calculates the "old" target, it will immediately close out positions. So that is perhaps better than the screenshot because you could see the last values frozen there on the chart from the last setup.
5) Would be nice: Perhaps you could expand on this equity trailing as so to make it symbol-specific. I would like to see each symbol get the trail separately as well. But this is after the other stuff is accomplished.
6) *new* I also have a new request now. I wanted to also have an option to widen the profit target if the drawdown reaches a certain amount either dollar amount or percentage (also selectable), it will move the profit target and trailing start (separately) $xx (or percentage points). So in other words, if the drawdown reaches past $1000, increase profit target by $700 and increase trailing start by $400.
And it should show if this option was activated on the ea.
But the main thing is #s 1, 2, and 6. If the values cold be frozen if terminal crash as explained above in #4, that would also be helpful.
Unfortunately, my programming skills are not great at all. What can you do for me? Everyone's help is appreciated.
Attached File(s)
Equity Manager for Martingale Lover v2.mq4
11 KB
|
1,094 downloads
Measure trends automatically with zero lag