Техническое задание
Hi Guys,
I am looking for someone who can code following EA:
The strategy works like this:
I have a look at several more or less correlated pairs, e.g. EURUSD vs GBPUSD
Every full hour ( i would like to be able to adjust this value to e.g. 3 hours ) the EA should set the difference between these pairs to 0% and calculate the difference of price action which happens in each pair. So e.g. it is 9.a.m EA says this is our zeropoint, all pairs are 0% difference. When it is 09:30 a.m. EURUSD have moved + 0.5% GBPUSD have moved - 0.3%.
When the difference between the currencys exceed a set value the EA opens a trade each time the difference hit this value. E.g value is 0.8% so when EURUSD have moved + 0.5% and GBPUSD have moved -0.3% the difference is 0.8% so the trade should open on the pair EURGBP and should be directed so that the difference will be 0% again, so in this case it would be a sell order on EURGBP. E.g. in the same hour EURUSD goes up another 0.8% so it is up 1.3 % in total and GBPUSD is still down 0.3% the total difference is now 1.6% so a 2. order should be placed in the same manner.
Direction of a trade: The strategy works like the difference will always be 0% again, so if EURUSD is up and GBPUSD is down or not as much up e.g. EURUSD up 2 % GBPUSD up 1 % it should open a trade on EURGBP. In this case a short position.
It always count the total amount of % difference. It doesnt matter if one pair is up and one is down or if both are up or both are down.
Please keep in mind, EA should reset difference every full hour to 0%. (or any other set value of minutes)
a. Settable values:
1. max spread (when spread exceed this value in ticks dont open the trade)
2. lotsize per trade
3. difference between pairs in % (setable value should be x.xx % )
4. hard stoploss in ticks
5. numbers of minutes need to reset count
6. The pairs I am working with so maybe I can set the currencys all in one EA and i dont have to run EA in multiple windows. I would like to set like this:
a) Overwatched Pairs: e.g. EURUSD / GBPUSD
b) Trade pair:
EURUSD vs GBPUSD = EURGBP
I hope I ve explained everything clear if you have any questions just give me a message.
kind regards,
Learoy