Order Placed on candle closure if condition met (revised).

MQL4 Esperti Script

Lavoro terminato

Tempo di esecuzione 7 giorni

Specifiche

I would like to have something (I don't know if it should be called na EA or a script) that automatically opens a position if the timeframe candle (that the ea is running on) closes beyond a certain level that we define.

Note that it is not when price reaches that level (for that we have the buy and sell stops), it would

I am talking about MT4.

So the EA would:

- Have the possibility to define the level (price) that we would like to buy or sell if the candle closes beyond it.

- If price is above the level we define (buy level), the eA would open a buy if the candle closes above that level.

- If price is below the level we define (sell level), the eA would open a sell if the candle closes below that level.

- Allow us to define the SL and TP, for the order that will open the position.

- Allow to place upto three orders when condition of candle is met with different SL, TP and lot sizes.

- Close the working once conditions are met and orders are placed. Don’t place order again next time when the candle closes.

- Allow us to start a sell mode and a buy mode, so that if, for exemple, we want to buy above a certain level, and price does close above that level, the buy is triggered, but after if price closes below that level, we don't want to open a sell. So the EA would only open 1 position, either a buy or a sell, if a position is opened the ea would "stop" working until we reset it (maybe I should call it a script?).

- Have a visual information on the chart so that we know it is running (well the ea's appear on the top right corner...but scripts?) and a visual information that the postion opened was opened by the ea (or script) and not by some other manual or automatic opening.

- If trailing stop loss can be added which should start after certain points condition is met. Like start reducing the SL once the price has gone down or up by 300 point. That point value should not be fixed for each order.

- Should give option if we want to use trailing stop loss or not on per order.

- Can be run on any time from like M15, H1, H4 , Daily etc.

I hope this is not too confusing, and easy to code.

 

 


Con risposta

1
Sviluppatore 1
Valutazioni
(1)
Progetti
3
33%
Arbitraggio
0
In ritardo
3
100%
Gratuito
2
Sviluppatore 2
Valutazioni
(23)
Progetti
45
20%
Arbitraggio
25
28% / 48%
In ritardo
12
27%
Gratuito
3
Sviluppatore 3
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
4
Sviluppatore 4
Valutazioni
(14)
Progetti
23
17%
Arbitraggio
3
0% / 100%
In ritardo
5
22%
Gratuito
5
Sviluppatore 5
Valutazioni
(36)
Progetti
50
28%
Arbitraggio
2
0% / 100%
In ritardo
6
12%
Gratuito
7
Sviluppatore 7
Valutazioni
Progetti
0
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
8
Sviluppatore 8
Valutazioni
(277)
Progetti
334
55%
Arbitraggio
14
36% / 29%
In ritardo
1
0%
Gratuito
9
Sviluppatore 9
Valutazioni
(26)
Progetti
34
26%
Arbitraggio
7
14% / 43%
In ritardo
7
21%
Gratuito

Informazioni sul progetto

Budget
30+ USD
Scadenze
da 1 a 2 giorno(i)