Script for pending orders

MQL5 Göstergeler Komut dosyaları

Şartname

I need a script to place pending orders and market orders with stop loss and take profit.
there are two method of counting lots: fixed size or as a percentage loss of account value. that is, the transaction should not lose more than a certain percentage of the account.

orders are sent based on the prices of the last closed candle.
so we have to count range of candle as difference betwwen its high and low.
we also have two numbers parameters A and B.
so for buy stop will be high price last closed candle + A, stop loss will be low price last closed candle - B
for sell stop will be low price last closed candle - B, stop loss will be high price last closed candle + A
and i want to have possibiity do send market orders with stop loss counting like for pending orders.

i need te panel on the chart do modify parameters A and B, multiplier for take profit and buttons for pending orders and market orders.
if sending orders is above the current price i want to decide if it will buy stop or sell limit, if the price for sending is below current proce i want to decide if it will be sell stop or buy limit

take profit is stop loss multiplied by the number

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(631)
Projeler
998
47%
Arabuluculuk
33
36% / 36%
Süresi dolmuş
98
10%
Çalışıyor
Yayınlandı: 6 kod
2
Geliştirici 2
Derecelendirme
(312)
Projeler
521
47%
Arabuluculuk
29
10% / 45%
Süresi dolmuş
139
27%
Çalışıyor
3
Geliştirici 3
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
4
Geliştirici 4
Derecelendirme
(772)
Projeler
1039
44%
Arabuluculuk
50
8% / 50%
Süresi dolmuş
116
11%
Serbest
5
Geliştirici 5
Derecelendirme
(26)
Projeler
34
26%
Arabuluculuk
7
14% / 43%
Süresi dolmuş
7
21%
Serbest

Proje bilgisi

Bütçe
30+ USD