Update Trade Size Setting for Existing EA

2018.05.16 Indicators Experts

Job finished

Execution time 4 days
Feedback from employee
Good

Specification


My EA opens multiple trades based on a series of EMA settings across different time frames. This Modification only deals with the quantity to be opened per symbol, in an effort to ensure the exposure to each currency pair is even. The reason being for e.g. the GBP per PIP for 0.01 lot size for GBPTRY is about 10 times as much as for GBPDKK.

EA Input Requirements;

--Lot Size Management--

  • On/Off: On
  • Mean: 20
  • Time-Frame: <1 Month, 1 Week, 1 Day>
  • Period: <0, 1>
  • Quantity: 0.01

 Description;

Multiply the size movement in the specified period (e.g. diff within the stock high & low in the previous 1 Wk bar) by the specified stock quantity and converted into GBP. So if the currency being purchased is USDPLN, the total price based on the movement will be converted back to GBP. 

The Mean specified in the EA Input will be divided by the GBP value and used to determine the lot size to the nearest full figure just below the mean.

Formula;

Mean / 

[

(Difference (High (Time-frame) - Low (Time-frame) ) * Quantity ) * GBP conversion rate 

]

 Micro trade conversions & Note

- If GBP value is 0.5, the lot size the EA will enter for that symbol will be (20 / 0.5) = 40 (Which will be 0.4 as I micro trade)
- If GBP value is 1, the lot size entered for that symbol will be (20 / 1) = 20 (which would be 0.2)
- If GBP value is 15, the lot size entered for that symbol will be (20 / 1) = 1.3 (Which we'll round down to 1, opening a trade of 0.01)


Responded

1
Developer 1
2018.05.16
Rating
4.86
(29)
Projects
46
39%
Arbitration
0
Overdue
0
Busy
2
Developer 2
2018.05.16
Rating
4.88
(41)
Projects
50
14%
Arbitration
18
17% / 44%
Overdue
26
52%
Working

Project information

Budget
30+ USD
Deadlines
to 3 day(s)