Job finished
Specification
I found this EA on Forex Factory which performed quite well except for the usual factors that also applies for Martingales and Grids. When the market goes up the opposite direction and will not get down it will blow up your account. Though I think I know how to avoid that. The threat I was talking about can be found here: ttp://www.forexfactory.com/showthread.php?t=581649
The creator does not really specific talks about how it works, but I have used it and kind of understand how it works. The EA does not work with indicator, but just keep on trading until the user disables it. I would like to recreate this Expert Advisor which is attached.
Step 1: The first trade
Once you activate the EA it will trigger one buy and one sell. No stop loss and TP as defined in the inputs
Step 2: After first trade hit TP
Either the Sell or Buy will hit TP and once it hit TP profit it will also immediately opens a second trade with the same starting lot size (standard is 0.01). If TP for sell is hit, it opens a sell again. If it hits a grid line it will open a second sell trade and the TP of trade 1 will be revised to the TP of trade 2.
Step 3: After first trade hit Grid
The buy will be kept going, until it hit the second line of the grid (which can be set via the inputs).
When the buy hits the second grid line, it will open a second trade. TP of the first trade will be revised to the TP of Buy 2. If Buy 2 won't hit TP and instead reach the third grid line it will open Buy 3 and the take profit of Buy 1 and 2 will be revised to the TP of Buy 3. This will continue until it reach TP at some point, there is no Stop Loss.
When TP is hit it will all close the buy trades, because TP is the same. But at the same time it will open a new Buy trade with 0.01 lot size and it repeats again.
Lot sizes
Lot sizes is a sum of previous two lot sizes:
1. 0.01
2. 0.02
3. 0.03 (0.01+0.02)
4. 0.05 (0.02+0.03)
5. 0.08 (0.03+0.05)
Take Profits
I am not sure how the TP is calculated. This is really something that I am still trying to figure it out. I tried to figure it out with the pip distance but does not make any sense, but it seems that it does produce a standard profit:
lot | profit |
0.01 | 0.7 |
0.02 | 1.5 |
0.03 | 3.09 |
0.05 | 6.19 |
0.08 | 11.15 |
0.13 | 19.82 |
0.21 | |
0.34 | 58.86 |
0.55 | 99.01 |
Grid Lines
The EA does not show the grid lines which has not been opened yet. I would like to have it as well as it gives cleaner charts.
Extra
The EA is still exposed to some risks of blowing up the account. I would like to know if you can add the following to the EA
1. Option to stop trading XX hours/minutes before news (low/medium/high impact)
2. When you setting the max Martingale levels, I want to have a Stop Loss of XX pips. When it hit Stop Loss I want to close every trade and stop trading for XX hours/minutes
3. Is there a way to stop trading when prices suddenly rise/drop too fast? I am not sure about this, but with Martingale and grid you really do not want to trade at these times as it depends on your account size whether it will blow up or not.
Price
If you can write the EA that behaves as the one attached the price is US$50, if you can add any of the extra it will be $20 more.