Job finished
Specification
Trade Copy Software to be Built
Outline
I run a number of EAs that use grid/averaging as their algorithm for trading.
This works fine for accounts for less than $350,000. However once we go above this balance, the averaging begins to not work as the highest lot size that can be traded is 100 lots. So we can not test the EAs on larger balance accounts.
Instead of rebuilding the EAs it is easier if we use copy trade EA. But we can not just use a straight copy EA as want the copy software to open several smaller lot sizes so the averaging EA’s work properly – will describe further below.
How the Averaging EA Works
Below is some examples to show you
Example 1
Equity $50,000
Opening lot = 0.10
Grid setup = 1, 2, 4, 8, 14, 24, 41, 69
Trade: AUDCAD
1st trade AUDCAD 0.10 lot
2 ndtrade AUDCAD 0.10 lot
3 rdtrade AUDCAD 0.20 lot
4 thtrade AUDCAD 0.40 lot
5 thtrade AUDCAD 0.80 lot
6 thtrade AUDCAD 1.40 lot
7 thtrade AUDCAD 2.40 lot
8 thtrade AUDCAD 4.10 lot
9 thtrade AUDCAD 6.90 lot
Example 2
Equity $500,000
Opening lot = 1.00
Grid setup = 1, 2, 4, 8, 14, 24, 41, 69
Trade: AUDCAD
1st trade AUDCAD 1.00 lot
2 ndtrade AUDCAD 1.00 lot
3 rdtrade AUDCAD 2.00 lot
4 thtrade AUDCAD 4.00 lot
5 thtrade AUDCAD 8.00 lot
6 thtrade AUDCAD 14.00 lot
7 thtrade AUDCAD 24.00 lot
8 thtrade AUDCAD 41.00 lot
9 thtrade AUDCAD 69.00 lot
Example 3
Equity $5,000,000
Opening lot = 10.00
Grid setup = 1, 2, 4, 8, 14, 24, 41, 69
Trade: AUDCAD
1st trade AUDCAD 10.00 lot
2 ndtrade AUDCAD 10.00 lot
3 rdtrade AUDCAD 20.00 lot
4 thtrade AUDCAD 40.00 lot
5 thtrade AUDCAD 80.00 lot
6 thtrade AUDCAD 100.00 lot
7 thtrade AUDCAD 100.00 lot
8 thtrade AUDCAD 100.00 lot
9 thtrade AUDCAD 100.00 lot
Because 100 lot is the highest that can be traded the averaging EA no longer works as the balance of $5m is too high. Need to be able to split the lot sizes opening.
I have attached some examples of how I believe the trade copy software could work for larger balances over $350,000. But also open to other suggestions.
Suggested Solution
Have attached examples showing the suggested solution with large lot sizes to be opened by the Copy EA in multiple smaller lot sizes.
The copy software will need to be able to read the account balance and open the appropriate lot sizes once the main grid EA opens a trade.
With the grid EA I would have it open its first trade at 0.01 lot and the Copy EA that calculates the multiple to times the 0.01 trade.
See examples attached.
Have built these in excel also so happy to forward the excel via email as it will not allow me to attach it here.
Other Notes
Important the copy trades EA stays linked to the opening of trades by the Grid EA and similarly it closes all trades when the Grid closes its trades.
The Copy EA needs to be quick when copying the trades so slippage does not become and issue.