Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
EA REQUEST:
PARAMETERS TO ENTER IN THE MARKET:
2 MOVING AVERAGE SELECTION (ANY TYPE); FOR EXAMPLE 8 AND 18
BUY EXAMPLE: CONDITIONS TO BUY
1º). WHEN 8 IS HIGHER THAN 18
2º). WHEN PRICE TOUCH 8 MOVING, THEN EA MUST CALCULATE "X" pips to preactivate the posible order. I MEAN IF I SELECT 50 PIPS, THIS MEANS THAT AFTER PRICE touches 8 moving, GOES UP 50 PIPS THE ORDER CAN BE ACTIVATED. THIS CAN HAPPEN AFTER 1 OR SEVERAL CANDELS. ANY WAY AS A FILTER I WANT TO BE ABLE TO SELECT HOW MANY CANDLES I WANT TO SET TO BE CLOSED AFTER THE EA TOUCHES FIRST TIME MOVING AVERAGE 8.
HOW TO MEASURE THE NUMBER OF PIPS? EA MUST CALCUALTE PIPS FROM WHEN PRICE TOUCHES FIRST TIME THE 8 MOVING AVERAGE UNTILL NEXTS CANDELS HIGHEST PIONT. IF THERE ARE 50 PIP OR MORE THE ORDER CAN BE PREACTIVATED.
WHEN WILL GO IN THE MARKET?
WHEN TOUCHES THE PRICE AGAIN (SECOND TIME) THE 8 MOVING AVERAGE. BE AWARE THAT WE HAVE SET MINIMUM AMOUNT OF CANDLES, SO IF TOUCHES BEFORE THE ORDER WONT GO TO THE MARKET. HAS TO GO AFTER.
3º).ALSO AS CONDITION IS THAT I CAN SET "X" PIPS FOR STOP LOSS.
IF SELECTED PIPS FOR STOP LOSS MEANS THAT THE STOP LOSS IS OVER (HIGHER) MOVING AVERAGE 18, THEN THE ORDER DO NOT GO TO THE MARKET, ONLY GOES IF THE X PIPS SELECTED, THE STOP LOSS IS LOWER THE 18 MOVING AVERAGE (DOWN).
4º). also posibility to set for buy entrance that macd in 2 time frames that i can select are positive or do not select. SELECT ONE OR BOTH OR NONE. for example if i am trading in h1, that i can select that h4 and d1 OR ONLY 1 macd is positive.
FOR SELLING OPTIONS IS OPPOSITE.
GO OUT OF THE MARKET:
5º). TP, SL SETTING
6º). TRAILING STOP. ONCE WIN CERTAIN PIPS I CAN SET THE DISTANCE OF THE STOP LOSS. ALSO TRAILING STOP BY CANDELS
7º). MOVING AVERAGE CROSSING
OTHER SETTINGS
8).ALSO POSIBILITY TO SET RISK
9). WORKING HOURS
10). MAXIMUM AMOUNT OF OPERATIONS OPENED AT THE SAME TIME (ALWAYS THAT THE CONDITIONS ARE REQUIRED AGAIN, AND INCLUDING RISK). SET HOW MANY I WANT AS MAXIMUM.
11º). MAXIMUM DAILY PROFIT OR LOSS TO STOP TRADING. ALL TRADES OPENED BY THE EA MUST BE CLOSED TO CALCUALTE THE DAILY PROFIT OR LOSS.
THIS MEANS THAT THE DAILY PROFIT OR LOSS DO NOT AFFECT TO FLUCTUATING AMOUNTS OF THE ORDER OPENED.
SO IN CASE THE EA ARRIVES TO DALIY PROFIT, BUT STILL ONE ORDER OPENED, THE EA DO NOT OPEN MORE TRADES, BUT IF THE LAST TRADE OPENED CLOSES WITH LOSS AND THE DAILY AMOUNT SET IS UNDER THE MONET SET, THEN THE EA CONTINUE TRADING UNTILL ALL RADES ARE CLOSED AND THE DALIY AMOUNT IS ARRIVED.
12). POSIBILITY TO SELECT x PIPS DIFERENCE BETWEEN BOTH MOVING AVERAGES SO IN CASE THEY ARE VERY NEAR THE ORDER WONT ACTIVATED (DONE TO PREVENT FLAT MARKETS) I WILL SET THE X PIPS AND HOW MANY CANDELS BEFORE I WANT TO CALCULATE THIS DIFFERENCE IN PIPS.
13). POSIBILITY TO ACTIVATE THAT EA DO NOT WORK "X" MINUTES BEFORE AND AFTER LOW/MID/HIGH NEWS THAT AFFER TO THE PAIR TRADING
14). THAT EA HAS POSIBILITY TO ALERT WHEN GOES TO THE MARKET
ALSO SET THAT ONLY CAN ALERT AND DO NOT ENTER
15). POSIBILITY TO ALERT X PIPS BEFORE THAT X PIPS SELECTED TO GO IN THE MARKET TO PREVENT ME THAT ORDER IS COMING
16). POSIBILITY TO SELECT FOR ALL ORDERS, HIDDEN STOPLOSS, TAKE PROFIT AND TRAILING STOP. ALSO PENDING ORDER.
17º). POSIBILITY TO SET AN PENDING ORDER IN DIFFERENT DIRECTION. I CAN SET LOTS, DISTANCE IN PIPS FROM ORIGINAL ORDER, SL, TP, TRAILING STOP, AND THAT ALL THIS PARAMETERS ARE HIDDEN.
IN CASE THERE ARE SEVERAL ORDERS IN THE MARKET, THIS PENDING ORDER WILL BE DONE FOR EACH ORDER ALREADY IN THE MARKET.
IF FISRT ORDER GETS PROFIT, THEN PENDING ORDER IS DELETED.
IF PENDING ORDER GOES TO THE MARKET, THE FIRST AND SECOND ORDER WILL CLOSE AT SL AND TP, TRAILING ALREADY SET.
18º). AT LAST POSIBILITY OF ADDING A PASSWORD SO EA CAN NOT BE USED BY OTHER PERSON. ALSO ADD NUMBER OF LICENSES.
19º). POSIBILITY TO GET AN ALERT WHEN PRICE TOUCHES 18 MOVING AVERAGE. ALSO POSIBILITY OF ALERT WHEN PRICE HAS X PIPS DISTANCE TO 18 MOVING AVERAGE.
SAME AS BEFORE HAVE POSIBILITY OF ALERT, OR ALERT AND ENTER IN THE MARKET WHEN TOUCHES 18 MOVING AVERAGE. (WHEN THE PRICE COMES FROM UP WILL BE A BUY, WHEN COMES FROM DOWN, WILL BE A SELL TRADE OR ALERT.
20º). IN THE EA SPECIFICATION THAT DO NOT APPEAR YOUR NAME AND CONTACT DETAILS, PLEASE JUST PUT made by: Trading Alto Rendimiento
www.tradingaltorendimiento.com
ANY QUESTION PLEASE DO NOT HESITATE IN CONTACT ME.