- Search Crypto Craft
- tundex replied Apr 22, 2016
Close function close all trades, I did not use magic number because I don't have mq4 of @daniel v4 code. Presently, I write another EA that will close all open trades.
Free EA - Piggy n The Middle
- tundex replied Apr 22, 2016
I was able to terminate EA earlier but reload is manually done but what I want to achieve is to just stop the EA ( this is achieve in this version), current problem is for it to restart. you can test the EA I attach and see, set end and close to ...
Free EA - Piggy n The Middle
- tundex replied Apr 22, 2016
The value can be just a double e.g. 1.0 (1% = 1/100 - 0.01). Then this can be use to find expected equity profit = balance * (1/100) Then you have if (AccountEquity() > expected equity profit)
Free EA - Piggy n The Middle
- tundex replied Apr 22, 2016
@daniel as I send to you the last time I think this is what you want to achieve double num = 1.01 // This is the value you want then you have to to this if ((AccountEquity()) > (AccountBalance() * num)) { CloseAll(); \\function to close all trade ...
Free EA - Piggy n The Middle
- tundex replied Apr 21, 2016
Yes I'm not using default setting. I used 0.05 which is very aggressive but I think to use this setting, the equity target is needed and also not good for all day long trading.
Free EA - Piggy n The Middle
- tundex replied Apr 21, 2016
He said v4-1 is not working for him the way the v4 is working for me based on the result I posted. I used @carneiro setting inpost 22 of this thread.
Free EA - Piggy n The Middle
- tundex replied Apr 21, 2016
Today I went for an official event but did not close my trade before leaving. As you can see in the first attachment, the profit that I set was hit. All trades closed but the EA continue to buy and sell (still working on the code to stop all EA ...
Free EA - Piggy n The Middle
- tundex replied Apr 20, 2016
I'm testing the option of disabling EA as equity is hit presently but it is still not disabling all EA only the equity manager I modify alone. I hope to work further on it tonight. Hopefully I will come up with something useful. Cheers
Free EA - Piggy n The Middle
- tundex replied Apr 20, 2016
I'm not too good at coding but this is what I wrote for equity % that I'm using currently, extern double ExpectedEquityTarget; // closes all orders once account equity is greater than expected equity target extern double IncreaseEquityPercent = ...
Free EA - Piggy n The Middle
- tundex replied Apr 20, 2016
I used @Carneiro setting. Broker is TradersWay. Cheers
Free EA - Piggy n The Middle
- tundex replied Apr 20, 2016
My understanding is that the EA is not timeframe dependent. I'm not using any other indicator. The only thing I do is to set daily equity profit. when the account equity get to that target I closed all trades.
Free EA - Piggy n The Middle
- tundex replied Apr 20, 2016
450pips after float and commission. Not bad for a day.
Free EA - Piggy n The Middle
- tundex replied Apr 19, 2016
I close all trades when I noticed my account equity has reached the setting i have for the day. I only close this particular trade at total pips of 1000pips and the equity profit was 613.6pips and the floating and commission is 392.8pips. This is ...
Free EA - Piggy n The Middle
- tundex replied Apr 19, 2016
Another option that I think should be in your next update is a start time. To make the EA not to continue opening trades after the equity profit has caused all open trades to close.
Free EA - Piggy n The Middle
- tundex replied Apr 19, 2016
All thanks to you for the amazing EA.
I look forward to the update. I will keep testing.Free EA - Piggy n The Middle
- tundex replied Apr 19, 2016
I think setting a daily equity target is the best option. Today 1,000pips, I think that is not bad for a day.
Free EA - Piggy n The Middle
- tundex replied Apr 18, 2016
I think it is not advisable to leave it all the weekend. My account demo account blown because I left it all weekend and the gap on the chart today wipe the account. Now I start testing with a new account.
Free EA - Piggy n The Middle
- tundex replied Apr 15, 2016
This is an amazing EA. I will continue to test.
Free EA - Piggy n The Middle