Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
Hi,
looking for someone to build an EA operating on the 15 minutes chart, opening positions on breaks of supports and resistances defined by the values of ema envelops on daily chart. The system waits for the next open to start (15 minutes). If the open is above the daily average, the system will buy any level broken by 1 pip. The take profit will be at 50% of the length between 2 levels (levels are ema + 0%, ema+ 0.25%, ema +0.50%, etc.. + 0.75%+1% etc to +1.5% and -1.5%) and the profit should be equal to a 100% length between 2 levels meaning that the multiplier of the martingale is relatively high in order to recover all the losses+make profit with half a level gained. If the price keep going in the opposite direction, the EA keeps on taking position on the next level till half of a level is gained and covers all losses plus 1 level profit.
Example:
the system triggers when the volume exceed a level defined by the user. Then it won't stop until the application is closed.
Eur/usd : daily emaEnvelops + 0%= 1.2541; ema+0.25% = 1.2574, ema-0.25%= 1.2511 ; (all ema instances are defined up to +/- 1.5% , creating a ladder of price at the same distance from each others.
eur/usd open at 6:15 = 1.2550
open > emaEnvelops, the EA will try to buy the first level crossed, order to buy at 1.2575 (level + 1 pip) or any level triggered for a 50% level take profit. A full level is 35 pips long. From bid+1 to bid-1. Take profit is at round of 35- 50%= 17
(if open < emaEnvelops, do the opposite equivalent going short).
as soon as a take profit order is hit, all orders are deleted and the system waits for the next candle.
FOR THE MARTINGALE
the next order to be stacked on top of the precedent must be large enough to cover any previous loss and make a profit equal to a full step between 2 levels at initial stake. (35 pips * lots starting size) with only half a level length (17 pips)
so if the trade goes wrong, the system keeps on buying , in our example , at first 1.2574 then 1.2541 then 1.2511 etc.. till a 17pips profit is gained on the last position that will cover all losses and make a profit equivalent to 20 pips at initial stake
The system must calculate the initial trade size to support up to 7 consecutive losses meaning the 8th order uses 99% margin and must be successfull. The EA usess all profit to increase margin.
If a position is held as much as necessary until a gain is realized.
All parameters must be clearly identified in order to be modified easily.
if the pair price is < 1, the levels used are every 0.125% instead of 0.25% if > 1.
I study all propositions, price is indicative
Thank you