3. Adjustment of EA.
Just spend 5 minutes and adjust the settings of vHandsTrade EA and it will be easy for you to test your manual trading system. So do the following.
You will have control panel on your chart. And using this panel you will be able to select lot size, expiration time for pending orders and so on. Basicly it will looks like this one:
This panel is corresponding to some code in EA (open EA in MetaEditor):
Those parameters are very understandable:
- RISK (Risk) - % from deposit;
- LOT (Lot) - lot size for openning the orders if RISK = 0;
- STOPLOSS (SL) - stop loss value if we are not moving stop loss line on the chart;
- TAKEPROFIT (TP) - take profit value if we are not moving stop loss line on the chart;
- TRAILINGSTOP (TS) - trailing stop;
- EXPIRATION (Exp) - exriration time for pending orders (if you will have pending orders).
You may change anything directly inside the code. For example, if you use the following lot sizes: 1.0, 2.0, 5.0, 10.0 and 50.0 so you may change some line inside the code, for example:
Code:
double LOT[] = { 1.0, 2.0, 5.0, 10.0, 50.0 };
And after compilling EA in MetaEditor once again you will see the following control panel on your chart:
What is SELECTED_LOT, SELECTED_RISK, SELECTED_STOPLOSS, SELECTED_TAKEPROFIT, SELECTED_TRAILINGSTOP, SELECTED_EXPIRATION?
It is value by default.
Do you see red colored figures on the control panel? It is default value. For example:
if int SELECTED_LOT = 1 in the code (see image above) so the fist figures will be default. First figutes in lot size line (1.0, 2.0,
5.0, 10.0, 50.0) is 1. Means lot=1 is default value.
If you want to select lot=5 to be default so change as the following:
Code:
int SELECTED_LOT = 3;
And 3rd figures (5 lot size) will be in red color in control panel:
I think it is neccesary to be adjusted one only, select default values for every parameters inside the code.