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

MQL4 Göstergeler

İş Gereklilikleri

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.

Dosyalar:

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(414)
Projeler
670
33%
Arabuluculuk
60
17% / 32%
Süresi dolmuş
113
17%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(212)
Projeler
246
45%
Arabuluculuk
42
10% / 57%
Süresi dolmuş
5
2%
Serbest
3
Geliştirici 3
Derecelendirme
(2086)
Projeler
2646
61%
Arabuluculuk
113
45% / 26%
Süresi dolmuş
418
16%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(108)
Projeler
138
43%
Arabuluculuk
19
16% / 53%
Süresi dolmuş
20
14%
Yüklendi
5
Geliştirici 5
Derecelendirme
(362)
Projeler
496
39%
Arabuluculuk
27
56% / 4%
Süresi dolmuş
53
11%
Serbest
6
Geliştirici 6
Derecelendirme
(173)
Projeler
201
49%
Arabuluculuk
18
11% / 44%
Süresi dolmuş
1
0%
Serbest
7
Geliştirici 7
Derecelendirme
(188)
Projeler
212
58%
Arabuluculuk
9
11% / 89%
Süresi dolmuş
8
4%
Serbest
8
Geliştirici 8
Derecelendirme
(879)
Projeler
1392
67%
Arabuluculuk
117
32% / 42%
Süresi dolmuş
215
15%
Serbest
9
Geliştirici 9
Derecelendirme
(43)
Projeler
89
66%
Arabuluculuk
10
50% / 50%
Süresi dolmuş
28
31%
Serbest
10
Geliştirici 10
Derecelendirme
(14)
Projeler
23
17%
Arabuluculuk
3
0% / 100%
Süresi dolmuş
5
22%
Serbest
11
Geliştirici 11
Derecelendirme
(2428)
Projeler
3057
66%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
340
11%
Serbest
12
Geliştirici 12
Derecelendirme
(219)
Projeler
405
60%
Arabuluculuk
13
38% / 23%
Süresi dolmuş
160
40%
Serbest
13
Geliştirici 13
Derecelendirme
(73)
Projeler
132
52%
Arabuluculuk
9
44% / 33%
Süresi dolmuş
64
48%
Serbest
14
Geliştirici 14
Derecelendirme
(549)
Projeler
1332
59%
Arabuluculuk
28
82% / 0%
Süresi dolmuş
10
1%
Serbest
15
Geliştirici 15
Derecelendirme
(49)
Projeler
134
27%
Arabuluculuk
62
13% / 53%
Süresi dolmuş
58
43%
Serbest
16
Geliştirici 16
Derecelendirme
(1130)
Projeler
1432
62%
Arabuluculuk
21
57% / 10%
Süresi dolmuş
43
3%
Serbest
17
Geliştirici 17
Derecelendirme
(258)
Projeler
395
28%
Arabuluculuk
69
19% / 49%
Süresi dolmuş
120
30%
Serbest
18
Geliştirici 18
Derecelendirme
(9)
Projeler
10
10%
Arabuluculuk
4
25% / 75%
Süresi dolmuş
3
30%
Serbest
19
Geliştirici 19
Derecelendirme
(467)
Projeler
701
56%
Arabuluculuk
44
30% / 32%
Süresi dolmuş
114
16%
Çalışıyor
20
Geliştirici 20
Derecelendirme
(221)
Projeler
369
66%
Arabuluculuk
10
50% / 0%
Süresi dolmuş
46
12%
Serbest
21
Geliştirici 21
Derecelendirme
(356)
Projeler
632
26%
Arabuluculuk
89
73% / 13%
Süresi dolmuş
12
2%
Serbest
22
Geliştirici 22
Derecelendirme
(119)
Projeler
127
41%
Arabuluculuk
3
33% / 67%
Süresi dolmuş
0
Serbest
23
Geliştirici 23
Derecelendirme
(563)
Projeler
932
47%
Arabuluculuk
302
59% / 25%
Süresi dolmuş
124
13%
Yüklendi
24
Geliştirici 24
Derecelendirme
(66)
Projeler
143
34%
Arabuluculuk
10
10% / 60%
Süresi dolmuş
26
18%
Serbest
25
Geliştirici 25
Derecelendirme
(251)
Projeler
400
54%
Arabuluculuk
9
67% / 22%
Süresi dolmuş
36
9%
Serbest
26
Geliştirici 26
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
Benzer siparişler
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 | //|

Proje bilgisi

Bütçe
30 - 100 USD
Geliştirici için
27 - 90 USD
Son teslim tarihi
to 1 gün