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--
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.
(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)