EA opening opposite pending orders

MQL4 Esperti

Lavoro terminato

Tempo di esecuzione 27 minuti

Specifiche

I need an EA for currencies on MT4, which upon activation (without any further signals) opens a pair of pending orders: A buy stop a specific distance (in %) above the current bid price and a sell stop the same distance (in %) below the current ask price. For both of these stop loss and take profit orders are placed. 
Once one of the orders is opened, the other one is deleted. The whole process starts again from the beginning, as soon as the open position is closed or if neither the level for the buy stop nor the sell stop has been reached after a certain period of time.
New orders should only be opened in a defined timeframe (for example from 9 am to 9 pm). The lot size is to be set automatically to a value, so that upon opening of one of the orders a given percentage of the available capital equals the margin.  (10000 € available capital, percentage=40%, margin=4000 €, margin rate = 3,33%, current price(EURUSD)=1,085 => lot size=1,11)

For example:
EURUSD is currently trading at 1,0841/1,0850. Distance for the order levels is 0.001%, Distance for take profit is 0,0008%, for stop loss 0,0004 points. 
=> Order level for the buy stop/long order is at 1.08609 with take profit/stop loss at 1,08696/1,08569.
=> Order level for the sell stop/short order is at 1,08302 with take profit/stop loss at 1,08216/1,08342.
  • If after the waiting period of 90 minutes neither a price of 1.08609 nor 1,08302 has been reached, the orders ar canceled and a new pair of orders is created according to then current prizes.
  • If a price of 1.08609 (for the buy stop/long order) is reached and the position is opened, the sell stop/short order is immediatley deleted. ...and the other way round, if the short position is opened.
  • As soon as the opened position is closed by reaching the take profit or stop loss level, a new pair of orders is created according to then current prizes.


The variables needed are:
- distance of the order leverls above and below the current prices. Input of the variable should be in percent. (for example 0.00085%)
- distance of take profit above or below the order levels. Input of the variable should again be in percent.
- distance of stop loss above or below the order levels. Input of the variable should bei in points. (for example 0.00055)
- the waiting period, after which unopened orders are deleted (in minutes)
- percentage of available capital, that is to be put up as margin. ( e.g. 45 %)
- (mr: margin rate - if MT cant't automatcally determine the margin rate, so that the lot size can be calculated, e.g. 3,33% for most forex)
- earliest hour for opening trades
- latest hour for opening trades (both hours in 24h-format)

Con risposta

1
Sviluppatore 1
Valutazioni
(29)
Progetti
36
53%
Arbitraggio
2
50% / 50%
In ritardo
3
8%
Gratuito
2
Sviluppatore 2
Valutazioni
(68)
Progetti
81
11%
Arbitraggio
12
67% / 25%
In ritardo
5
6%
Gratuito
Pubblicati: 14 articoli, 6 codici
3
Sviluppatore 3
Valutazioni
(321)
Progetti
499
19%
Arbitraggio
33
42% / 30%
In ritardo
32
6%
Occupato
4
Sviluppatore 4
Valutazioni
(48)
Progetti
61
21%
Arbitraggio
11
27% / 55%
In ritardo
5
8%
Gratuito
5
Sviluppatore 5
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
Pubblicati: 1 articolo
6
Sviluppatore 6
Valutazioni
(75)
Progetti
124
44%
Arbitraggio
14
29% / 50%
In ritardo
17
14%
Gratuito
7
Sviluppatore 7
Valutazioni
(44)
Progetti
53
38%
Arbitraggio
8
13% / 38%
In ritardo
8
15%
In elaborazione
8
Sviluppatore 8
Valutazioni
(53)
Progetti
91
52%
Arbitraggio
1
0% / 0%
In ritardo
1
1%
In elaborazione
9
Sviluppatore 9
Valutazioni
(11)
Progetti
18
28%
Arbitraggio
4
50% / 50%
In ritardo
1
6%
Gratuito
10
Sviluppatore 10
Valutazioni
(452)
Progetti
564
26%
Arbitraggio
24
42% / 38%
In ritardo
85
15%
In elaborazione
Pubblicati: 6 codici
11
Sviluppatore 11
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(322)
Progetti
499
67%
Arbitraggio
5
40% / 0%
In ritardo
4
1%
Gratuito
Pubblicati: 8 codici
13
Sviluppatore 13
Valutazioni
(568)
Progetti
641
41%
Arbitraggio
25
48% / 36%
In ritardo
46
7%
In elaborazione
14
Sviluppatore 14
Valutazioni
(617)
Progetti
1427
59%
Arbitraggio
31
81% / 0%
In ritardo
10
1%
Gratuito
15
Sviluppatore 15
Valutazioni
(511)
Progetti
549
53%
Arbitraggio
13
69% / 15%
In ritardo
3
1%
Gratuito
16
Sviluppatore 16
Valutazioni
(11)
Progetti
16
6%
Arbitraggio
3
33% / 67%
In ritardo
0
Gratuito
17
Sviluppatore 17
Valutazioni
(442)
Progetti
570
37%
Arbitraggio
106
39% / 33%
In ritardo
17
3%
Gratuito
18
Sviluppatore 18
Valutazioni
Progetti
0
0%
Arbitraggio
2
0% / 100%
In ritardo
0
Gratuito
19
Sviluppatore 19
Valutazioni
(72)
Progetti
80
10%
Arbitraggio
38
8% / 58%
In ritardo
6
8%
Gratuito
20
Sviluppatore 20
Valutazioni
(119)
Progetti
169
38%
Arbitraggio
9
78% / 22%
In ritardo
15
9%
Gratuito
21
Sviluppatore 21
Valutazioni
(574)
Progetti
945
47%
Arbitraggio
309
58% / 27%
In ritardo
125
13%
Gratuito
22
Sviluppatore 22
Valutazioni
(2626)
Progetti
3336
67%
Arbitraggio
77
48% / 14%
In ritardo
342
10%
Gratuito
Pubblicati: 1 codice
23
Sviluppatore 23
Valutazioni
(462)
Progetti
483
75%
Arbitraggio
5
80% / 0%
In ritardo
0
In elaborazione
Ordini simili
An EA that can pass multiple prop firms that has drawdown limits no counts blown or violated An EA that is unique With the E A bagtest for MT5 Screen share over discord assistance with back test EA that passes the prop firm in less than two months Be able to solve solve issues with back test
hello Hello, I have a project I want done for a NinjaTrader Script that would involve 2 phases. Phase 1. I simply want a ninja trader strategy that will take whatever custom user defined high/low range defines in the settings than executes a breakout trade either once a candle closes above / below the range or simply crosses the high/low of the range by placing stop orders. The way it takes the breakout will be
As in tittle, I need EA to pass FTMO challange fast, you know rules, max 5% daily drawdown, max 10% total drawdown. Passing in maximum +/- 1 month, it's around 20/22 working days 10/20=0.5% average per day profit. of course can be faster
Hello, I’m reaching out because I’m interested in hiring you to develop a custom trading bot for me. The bot should trade only XAUUSD (Gold) and be designed for long-term account growth using my own trading account size. Here are the core requirements: - Account size: $300 - Asset: XAUUSD only - Risk management: Strict and properly controlled - Risk-to-reward ratio: Clearly defined and consistently applied -
I am looking for an experienced MQL5 developer to help build and support an automated trade execution system that connects TradingView custom indicator alerts to an Exness MT5 account. The role involves receiving TradingView webhook signals containing Buy/Sell direction and dynamically calculated lot size, processing them via a Python-based webhook listener, and executing market orders on MT5 running on a 24/7
I am looking for an EA for scalping XAUUSD, with short TP and SL in the range of 30-50 pips (equivalent to 3-5 gold price units). No DCA Martingale, no holding/averaging down positions, no grid trading, and no simultaneous buy and sell orders. The strategy and methodology will be yours, and I also require the full source code upon completion. I will paper test it first before making the purchase
Hi, I have four trading strategy's that work on tradingview. But these scripts i have are having problems being translated into ACSIL for Sierra Charts. I have being using AI to translate the scripts, but keep hitting a road block. The scripts load on the charts, but without any data being logged. I hope you can help, I just want to confirm the positive results on tradingview are no fluke and are correct on Sierra
HELLO EVERYONE , I NEED AAN INDICATORE AND EA ON STOCHESTIC OSSILATOR, WHICH CAN GIVE ME ALERT WHEN SIGNAL APEARS, INDICAOTRE I CAN SHOW ON TRADING VIEW , EXACTLTY THAT INDICATORE I NEEDED.INDICATORE NAME ON TRADING VIEW( JL STOCHESTIC DIVERGENCE ALERT).. THANK YOU
//+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ #property strict // Inputs input int EMA_Fast = 9; input int EMA_Slow = 21; input int RSI_Period = 14; input double Lots = 0.1; input int StopLoss = 20; // وقف خسارة (بـ نقاط) input int TakeProfit = 40; // هدف (بـ نقاط)
Menga faqat XAUUSD uchun maxsus MT5 ekspert maslahatchisi kerak . MUDDAT VA DAVOMI EA M5 vaqt oralig'ida ishlaydi Faqat bitta savdo kuni mantig'i KUNDALIK ZONA MANTIQI Har bir yangi savdo kunining boshida EA FAQAT birinchi yopilgan 5 daqiqalik shamni olishi kerak . Ushbu shamning eng yuqori va eng past nuqtalari o'zgarmas qo'llab-quvvatlash/qarshilik zonasini hosil qiladi . Bu zona kun davomida siljimasligi, qayta

Informazioni sul progetto

Budget
70 - 110 USD
Scadenze
a 14 giorno(i)