EA's capital management! How to read the trade history to suppress losses
We will introduce what can be read from the trade history in Backtest (Strategy Tester Report).
First, check here!
Please look at the rows where the trade type is buy or sell.
The first thing to confirm iswhether a stop order (S/L) is in place.
If it is 0.000, it means it is not set.Without an S/L, it may not be able to respond to sharp market movements, and losses could widen.
In the first row, the S/L is 0.000.
But in the next row, a modify is performed at the same time and the S/L is set.
Some FX brokers may frequently reject orders if an S/L orTake-Profit (T/P)is included at order time, so this is a two-stage process.
From the order confirmation in the first row to the modify confirmation, there is a window without S/L of several tens of milliseconds to about 300 milliseconds, but the risk is considered low.
Next, consider the main tasks of the EA.
① Place orders at the optimal timing
② Manage the lot size.
③ After placing the order, control S/L and T/P according to the market.
④ Secure profits or losses.
From the trade history, you cannot confirm the optimal timing in ①, but you can confirm the others.
Know the flow from the trade history
We will follow this.
① The orders are placed on lines 1, 5, and 9. It can be confirmed that S/L is properly in place.
② The lot size changes with each order.
It is not necessary to change it with every order, butif the lots stay the same from start to end, it cannot be said that you are managing the lots. Also, drastic fluctuations in lot size are dangerous.
Let's compare the surrounding lot sizes.
③Check if there are multiple modifies after the order.S/L or T/P that change from 0.000 are not counted. Sometimes it is 0 times, sometimes 10 times, and those that vary each time are monitored and controlled properly after placing the order.
④ The S/L, T/P, and CLOSE of the trade type are the realization of profit or loss. If these occur consecutively, it means holding multiple positions.
Holding multiple positions is not a reliable indicator of the EA’s quality, but how many positions you hold serves as a guide for the initial margin setting.
S/L and T/P are calculated and completed on the FX company’s server, but CLOSE is calculated on the PC or VPS and then sent to the server to complete. ThereforeEA with many CLOSE operations can incur latency, leading to unseen costs.
Also, although not a crucial check, if there are extremely many S/Ls, it is likely to be a trailing stop type.
By confirming the key points of the trade history, you can understand the flow of EA operation.
At minimum, confirm the timing of S/L settings.