Send pending order based on opening price of the day

MQL5 Script

Lavoro terminato

Tempo di esecuzione 3 giorni

Specifiche

I need a script to automate something i do everyday:

A.     The trading strategy is based on the opening price:

B.     Each morning i’ll decide either to sell or buy ( i control this in excel)


 

the input  should be like this:

symbol:

 

type:

buy limit;sell limit

volume

1 or more

delta

chosen by me

price

open price +- delta

 

C.     Its just one order and it must be activated at the moment there is an opening price.

Example market opens at 65.100

 

symbol:

 Winz16

type:

Sell limit

volume

3

delta

50

price

65.150

 

symbol:

 Winz16

type:

Buy limit

volume

1

delta

80

price

65.420

 

buy: open - delta

sell: open + delta  

is it possible to send the order before the market opens? i mean, does mt5 accept an order before market  opens? is it possible to program this?

Con risposta

1
Sviluppatore 1
Valutazioni
(885)
Progetti
1410
67%
Arbitraggio
123
32% / 41%
In ritardo
218
15%
Gratuito
Pubblicati: 1 codice
2
Sviluppatore 2
Valutazioni
(76)
Progetti
136
45%
Arbitraggio
11
27% / 64%
In ritardo
26
19%
Gratuito
Pubblicati: 5 codici

Informazioni sul progetto

Budget
10 - 25 USD
Scadenze
da 1 a 4 giorno(i)