Trabalho concluído

Tempo de execução 21 horas
Comentário do cliente
very fast and exact solution. great job.

Termos de Referência

Hi, I want a pending order EA which is like this; (it will work on 5 digits platform)

I want to write a price range in the EA manually, for example for EURUSD pair 1,14400-1,14520.

Then i will choose the direction of trade; for example SELL.

The EA will divide the range into pieces. I will write how many pieces will the range be divided manually in the EA.

When price enters into the range, the EA will open trades automatically. Lot sizes will be calculated according to loss in dollars for each trade. For example i will write “50” in the total loss section of the EA, then EA should calculate the lot size according to difference between entry level and stoploss level (it will be written manually in the EA, as 30,40 or 50 pips beyond the range)

And EA close the trades according to loss or total profit in dollars as i write in the EA manually. For example; I will write Total Profit:200, Total loss:50, then EA will close all trades as total loss or total profit occurs.

EA will put all the stoplosses beyond 30-40 pips (this will be also entered manually) of the range. 

An example: Lets say i defined a range in to the EA as follows:

Pair: EURUSD

Range: 1.14400-1,14520

Pieces: 3

Trade: SELL

LOSS for each trade: 25 (dollars)

Total Profit: 200 (dollars)

Present price: 1,14050

Stop loss: 40 (pips above the range because trade is SELL, if it was a BUY then it will be 40 pips below the range)

 

EA will divide the range in to 3 pieces and will calculate entry levels itself: 1.14520-1.14400= 120 pips.

12/3= 40 pips. (Range between trades)

The entry levels will begin from the bottom of the range because present price is below the range: then they will be as follows: 1.14400, 1.14440, and 1,14480. (If the trade was BUY and present price was above the range, then trades will begin from the top of the range of course.)

Stoploss will be 1.14560 (1.14520+40 pips=1,14560)

And lot sizes will be calculated as: 

0,1562 lot SELL from 1.14400 (according to 25 dollars loss at the stoploss point-1,14560)

0,208 lot SELL from 1.14440 (according to 25 dollars loss at the stoploss point-1,14560) and

0,312 lot from 1.14480 (according to 25 dollars loss at the stoploss point-1,14560)

 EA will start to open SELL trades when price comes up to 1.14400 level.

In this example our stoploss is 1,14560 (Top of the range+stoploss = 1,14520 + 40 pips=1,14560)

Lets say price hit the 1,14500 level at max then started to fall. Then, our EA has opened 3 orders;

When price comes 1.14150 level our profit will be;

102,96 USD from the trade opened at 14480 level with 0,312 lot

60,32 USD from the trade opened at 14440 level with 0,208 lot and

39,05 USD from the trade opened at 14400 level with 00,1562 lot.

Total profit is 202,33 USD.

 Total profit has been written as 200 dollars ins the EA as you see above, so EA should close all trades approximately this point.

i will give some examples and explanations to help you about the EA.

An examlpe;

lets say a buy trade entry level is 1.14050 (A) and stoploss is 1.14000(B). And i want to lose 100 dollars if SL hits.  Each 1 lot gets or lose 10 dollars for each 10 pip in EURUSD . Range between A and B is 1.14050-1.14000=50 pips. So, by 1 lot i will lose 50 dollars. Then the EA should open trade with 2 lots, because i write 100 dollars to Total loss.

The EA should place pending orders after i activate it.

Number of pending orders will be the same with pieces of the defined range.

For example I want to buy EURUSD between 1.14050-1.14250 range and and i want to buy in 4 pieces. I want to lose 25 dollars for each trade. I want to close trades automatically when Total profit is 200 dollars. So the EA will close the trades when it sees 200 dollars profit. EA will calculate the lot size for each trade according to 25 dollars loss.

Also present price is the price on the chart. For example now EURUSD is 1,13470. If i define a range between 1.14050-1.14250 and if i choose BUY in the EA, then EA should put buystop orders to that range. Because the present price is lower than the range. If the present price was higher than the range and i want to buy in that range than EA should place Buylimit orders to the range. Same is true if i want to SELL in a range. If the present price on the chart is lower than the range and i choose SELL in tihe EA in that range, EA should place selllimit orders to that range. If the present price on the chart is above the range that i defined and if i choose SELL on the EA, then EA should place sellstop orders in that range.

I want EA to put stoploss point of buylimit and buystop orders as “40 pips” (for example) below the minimum edge of the defined range (1.14050-1.14250). (In this example when i write “40” in the stoploss section, EA will put all buylimit and buystop orders’s stoploss to 1,14010 level, because the minimum edge of the range is 1.14050.) On the other hand, EA will put sellstop and sell limit orders’s stoploss above 40 pips of the  maximum level of the range.

How many trades will be opened is not important for closing the trades. Maybe just 1 buylimit will be executed or maybe all 4 of them will be executed. This depends on the price movement. For example Price may fall from 1.14500 level to 1.14250 level and then rise to 1.14500 level again. So we will have only one trade. EA will close that trade if it sees 200 dollars profit. Or i can close it manually.

There should be a “pieces” section. For example I will write 4 in that section. Then EA will divide 1,14050-1,14250 range into 4 pieces. The difference between the edges of the range is 200 pips. So the pips between pieces will be 200/4= 50 pips. And robot will put pending orders according to that range between pieces.

For a total example; lets say present price on the chart is 1.14500 and i opened the EA and i write “upper edge of the range” as 1.14250 and “lower edge of the range” as 1.14050, choose “BUY”,  write 4 in the “pieces” section, write 25 in the “loss for each trade” section,  write 200 in the  total profit” section, write 40 in the “stoploss section”. Then EA will put buylimits to 1,14250, 1,14200, 1,14150 and 1,14100 levels. According to my entries EA will put stoploss level as 1.14010. EA will calculate the lot size for the first trade (1.14250) as 0,104 lot. (1.14250-1.14010=240, 25 dollars/240 pips=0,104 lot). Same as other trades. For the last trade (1.1405) lot size will be calculated as 0,625 lot. (1.14050-1.14010=40, 25 dollars/40 pips =0,625 lots)

As a result;

I want to write on the EA’s interface;

1-Range (The maximum and the minimum edges of trade area)

2-Number of pieces that the range will be divided

3-Loss for each trade

4-Totalprofit

5-Choose SELL or BUY

6-Stoploss as pips (below/above of the range)

EA will do;

1-Calculate the range as pips,

2-Define entry levels according to number of pieces

2-Calculate the lot sizes for each trade according to loss for each trade,

3- Place pending orders,

4-Put all pending orders’ stoploss to SL level (Buylimit and buystop orders’s stoploss will be below the minimum edge of the range, and selllimit and sellstop orders’s stoploss will be above the maximum edge of the range)

5-Close orders when stoploss hit or the totalprofit occurs.

 


Respondido

1
Desenvolvedor 1
Classificação
(33)
Projetos
35
40%
Arbitragem
11
9% / 91%
Expirado
4
11%
Livre
2
Desenvolvedor 2
Classificação
(878)
Projetos
1391
67%
Arbitragem
117
32% / 42%
Expirado
215
15%
Livre
3
Desenvolvedor 3
Classificação
(5)
Projetos
7
0%
Arbitragem
1
100% / 0%
Expirado
5
71%
Livre
4
Desenvolvedor 4
Classificação
(365)
Projetos
412
36%
Arbitragem
35
26% / 57%
Expirado
63
15%
Livre
5
Desenvolvedor 5
Classificação
(98)
Projetos
129
40%
Arbitragem
19
16% / 53%
Expirado
19
15%
Ocupado
6
Desenvolvedor 6
Classificação
(188)
Projetos
212
58%
Arbitragem
9
11% / 89%
Expirado
8
4%
Livre
7
Desenvolvedor 7
Classificação
(1853)
Projetos
3455
88%
Arbitragem
73
40% / 15%
Expirado
265
8%
Livre
8
Desenvolvedor 8
Classificação
(647)
Projetos
1295
67%
Arbitragem
84
26% / 49%
Expirado
338
26%
Livre
9
Desenvolvedor 9
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(94)
Projetos
148
59%
Arbitragem
16
38% / 13%
Expirado
25
17%
Livre
Pedidos semelhantes
Hello Amazing developer am looking for profitable EA for mt4 and made for some past year and i will be looking forward for your bid if you have mt4 EA let Negotiate in the contact box best regards
Hello Amazing developer am looking for profitable EA for mt4 and made for some past year and i will be looking forward for your bid if you have mt4 EA let negotitate in the contact box best regartds
Hi I need a software like Mirror trade copier ( https://www.antonnel.net/mirror/ ) which directly connect to the Accounts over api with out MT4 terminal and copies trades from mater to client. I want the same and possible improvement like can be accessed over a url and dashboard for some basic metrics (optional)
Hello great developer Can you build this indicator for Quantower. If positive, then how much will it cost to make automated strategy from the indicator? i will be looking for great developer to build for this project best regards
Hello Greetings. I have a custom tradingview strategy I would like to convert to Metatrader 5 ( mt5 ) . I have the source code a and with me. Kindly bid if it is what you can do for me and let discuss about the project. Thanks
Attached to this post is the pinescript tradingview indicator code, i will also attach a link to the youtube explanatory video of how the indicator works on tradingview, i will like the exact thing on mt5, including the percentage prediction on each bar and the win loss counter ... it should work on both forex, stock and volatility indices on mt5 https://youtu.be/30FLWyEWroM?si=q9GpvJVHp-oyvsvZ // This work is
Hello there, I need a mql4 EA based on pine script custom indicator. You need to do pine script indicator convert into mt4 advisor. If you are able to do please contact. Thanks
Can you get my drafts to work? Have to conditions in RSI and Stoch oscillators ,,,I have a draft but its not run,, you can help me? if iRsi <30 ordersend op_sell iStoch > 80 ordersend op_sell Period_15M Send Orders_Buy limit Pivot Price Send Orders_Sell Limit Pivot Price
I am looking for a tool that will calculate the max adverse excursion before a trade closes in profit or loss. The toll needs to analyse historical trades and record this value for each trade. The purpose is to assist me calculate the best stop loss for using a martingale system
I need a AI signal generating bot for forex trading. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame whether they are buying or selling. If it is buying the arrow should be green and if it is

Informações sobre o projeto

Orçamento
100 - 200 USD
Desenvolvedor
90 - 180 USD
Prazo
de 1 para 8 dias