Automatic resizing of pending order lot size based of % risk and Stop Loss.

MQL4 Indicadores

Termos de Referência

1. pending order is placed. by default, the pending order is 0.01 lots

2. stop loss line and take profit line both appear. Stop loss line is dragged 30 pips away from Pending Order price.

3. Based of 6% risk and 30 pip Stop Loss, Pending Order Lot size is automatically adjusted.

4. if stop loss line is changed to 40 pips, then pending order lot size again changes accordingly.

update:

5. it will be a pending order Buy Script and Sell Script.

example: attached a pending order sell script. drag the sell script on to the chart and a pending order sell limit or sell stop is placed with stop loss and take profit.

what needs to be added is, when the stop loss line is moved to from 20 pips to 40 pips, the pending order lot size needs to changed so that 6% (can be specified) of the account size is risked on the trade.

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(414)
Projetos
670
33%
Arbitragem
60
17% / 32%
Expirado
113
17%
Trabalhando
2
Desenvolvedor 2
Classificação
(212)
Projetos
246
45%
Arbitragem
42
10% / 57%
Expirado
5
2%
Livre
3
Desenvolvedor 3
Classificação
(2086)
Projetos
2646
61%
Arbitragem
113
45% / 26%
Expirado
418
16%
Trabalhando
4
Desenvolvedor 4
Classificação
(108)
Projetos
138
43%
Arbitragem
19
16% / 53%
Expirado
20
14%
Carregado
5
Desenvolvedor 5
Classificação
(362)
Projetos
496
39%
Arbitragem
27
56% / 4%
Expirado
53
11%
Livre
6
Desenvolvedor 6
Classificação
(173)
Projetos
201
49%
Arbitragem
18
11% / 44%
Expirado
1
0%
Livre
7
Desenvolvedor 7
Classificação
(188)
Projetos
212
58%
Arbitragem
9
11% / 89%
Expirado
8
4%
Livre
8
Desenvolvedor 8
Classificação
(879)
Projetos
1392
67%
Arbitragem
117
32% / 42%
Expirado
215
15%
Livre
9
Desenvolvedor 9
Classificação
(43)
Projetos
89
66%
Arbitragem
10
50% / 50%
Expirado
28
31%
Livre
10
Desenvolvedor 10
Classificação
(14)
Projetos
23
17%
Arbitragem
3
0% / 100%
Expirado
5
22%
Livre
11
Desenvolvedor 11
Classificação
(2428)
Projetos
3057
66%
Arbitragem
77
48% / 14%
Expirado
340
11%
Livre
12
Desenvolvedor 12
Classificação
(219)
Projetos
405
60%
Arbitragem
13
38% / 23%
Expirado
160
40%
Livre
13
Desenvolvedor 13
Classificação
(73)
Projetos
132
52%
Arbitragem
9
44% / 33%
Expirado
64
48%
Livre
14
Desenvolvedor 14
Classificação
(549)
Projetos
1332
59%
Arbitragem
28
82% / 0%
Expirado
10
1%
Livre
15
Desenvolvedor 15
Classificação
(49)
Projetos
134
27%
Arbitragem
62
13% / 53%
Expirado
58
43%
Livre
16
Desenvolvedor 16
Classificação
(1130)
Projetos
1432
62%
Arbitragem
21
57% / 10%
Expirado
43
3%
Livre
17
Desenvolvedor 17
Classificação
(258)
Projetos
395
28%
Arbitragem
69
19% / 49%
Expirado
120
30%
Livre
18
Desenvolvedor 18
Classificação
(9)
Projetos
10
10%
Arbitragem
4
25% / 75%
Expirado
3
30%
Livre
19
Desenvolvedor 19
Classificação
(467)
Projetos
701
56%
Arbitragem
44
30% / 32%
Expirado
114
16%
Trabalhando
20
Desenvolvedor 20
Classificação
(221)
Projetos
369
66%
Arbitragem
10
50% / 0%
Expirado
46
12%
Livre
21
Desenvolvedor 21
Classificação
(356)
Projetos
632
26%
Arbitragem
89
73% / 13%
Expirado
12
2%
Livre
22
Desenvolvedor 22
Classificação
(119)
Projetos
127
41%
Arbitragem
3
33% / 67%
Expirado
0
Livre
23
Desenvolvedor 23
Classificação
(563)
Projetos
932
47%
Arbitragem
302
59% / 25%
Expirado
124
13%
Carregado
24
Desenvolvedor 24
Classificação
(66)
Projetos
143
34%
Arbitragem
10
10% / 60%
Expirado
26
18%
Livre
25
Desenvolvedor 25
Classificação
(251)
Projetos
400
54%
Arbitragem
9
67% / 22%
Expirado
36
9%
Livre
26
Desenvolvedor 26
Classificação
(1)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
Pedidos semelhantes
I have the mq5 file, I need a buffer adding to the indicator, so it appears in the data window so I can reference it later in an EA. As the below screenshot shows, there is a median ray line from yesterday (the dashed horizontal line) - I want this value in the data window called Median Ray. I want this to be a single value per day, so todays Median Ray would be 17868, and so on each day. So I want all the Developing
I would like to develop my own indicator on metatrader 4 and tradingview. We would start with a basic version that we would improve later. It is an indicator based on several analyses and which would provide several indications. I am looking for someone who can develop on MT4 and Mt5, initially I would like to do it on mt4 and then on mt5. If you have expertise in pinescript it is a plus because I would like to
I urgently require swift assistance to convert a complex indicator into a fully functional scanner, capable of automatically sending real-time data, alerts, and notifications via email, ensuring seamless integration and prompt delivery of critical information to facilitate informed decision-making and timely action
I need to improve the code of an indicator that is too heavy and slow when running and when used with iCustom in an EA. No other changes to the indicator are requested: the original features of the indicator should remain as theay are. I'll provide the indicator after job acceptance. I request final source code mq5 file. Thank you Regards
I have a mt5 indicator that is working perfectly but I will like to make it an expert advisor to have an automated trade. I will be glad if I can get a well experienced developer to execute this project. Thanks
O TRABALHO CONSISTE NA MUDANÇA DO HISTOGRAMA DO INDICADOR TREDN DIRECTION AND FORCE DSEMA SMOOTHED PARA O HISTOGRAMA DA FOTO ANEXA, OBEDECENDO AS TRES CORES VERDE (UP, VERMELHOR(DOWN) E CINZA(TREND). O MESMO TEM QUE ODECER O MESMO CALCULO E COLORIR DA MESMA FORMA POREM COM HISTOGRAMA DDE FORMATO DIFERENTE
If you are knowledgeable in hedging strategy we can chat. I created my simple EA using Fxdreema , so you only need to modify it for me. There are two parts of the EA , 1. Is the execution strategy 2. Is the money management strategy (hedging). I already created number 1 which is the execution of trades , I only need someone who can implement hedging in every orders the EA create. Additional Parameters needed. Trade
We are interested in a TradingView indicator that reads candlestick pattern shapes and shows the location of entry and exit points on a candlestick chart. What services do you provide related to this
Hello Im looking for professional trading developer who htf ready made trading with best and working strategy with low risk level with average of 30 to 60 percent profit margin, broker is not problem, any broker is welcomed and any trading pairs are welcomed as well
the sl doesnt work i want the tp logic to remain i need the trend direction fucntion tow ork i the trend is up then only buys if down only sells i need the fibo nacci fucntion to work as well and the flat zone function to work as well and i need the code to trade 1% of the balance //+------------------------------------------------------------------+ //| US500_EA.mq4 | //|

Informações sobre o projeto

Orçamento
30 - 100 USD
Desenvolvedor
27 - 90 USD
Prazo
para 1 dias