Conversion of Limit Order EA(MT4 to MT5)

MQL5 Indikatoren Experten

Spezifikation

Hi,

Good morning: Thanks for looking at my requirement:

The objective of the EA is to do some updates in the Main EA (limit order)

I have an EA, which places limit order, by reading a text file in the specified folder.

 

 

Limit Order EA:

The EA reads:

AUDJPY, BUY, 100.52244, 100.34927, 09/10/2025, 05:45, 09/10/2025, 06:45, 0.17318, 100.91209, 0.09, 100.65232

PAIR, DIRECTION, LIMIT PRICE, SL PRICE, START DATE, START TIME, END DATE, END TIME, SL PIPS, TP PRICE, LOT SIZE, DELETE PRICE.

--------------------------------------------------------------------------------------------------------------------------------------

Update 1:

Make this EA to work in tester mode to test the following conditions easily without waiting for all occurrences on live. (if that’s possible on MT5, we can migrate it to MT5 from MT4 as well)

--------------------------------------------------------------------------------------------------------------------------------------

Update 2:

The EA reads files from just one folder and I have to place It in many terminals to do so.

Need to change it in a way, that it reads at least 5 folders.

File Folder Name: APAIRS1, BPAIRS1, CPAIRS1

Magic Number: 501,502,503

Trade Comments: MAA, MAB, MAC

If the above update is done, we need not need to run multiple EA and same EA can read across different folders and place limit orders accordingly.

(No inputs needed for this, as it is will be used as a string)

--------------------------------------------------------------------------------------------------------------------------------------

Update 3:

Risk Multiplier: 2

File Creation Account Size: 1000

Now, for every order being placed, check the account balance:

Let’s say, if the account balance is 2500 (read from terminal)

Now, when a trade lot is mentioned as 0.02 in the file.

Trade Lot/Balance: - 0.02/1000 = 0.00002

Now Multiple with Account size = 0.00002 * 2500 = 0.05

Since Risk Multiplier is 2, 0.05 * 2= 0.1

So, the same trade will be placed at 0.1 lot while the file it is printed as 0.02.

This way, I can use the compounding effect in live market, without updating the lot size in file creation.

Input Needed: For Update 3:

File Creation Lot Size: 1000

Risk Multiplier: 2

--------------------------------------------------------------------------------------------------------------------------------------

Update 4:

Delete Price:

If limit orders are not triggered, once the price reaches the delete price, the trades will be deleted.

Input Needed: For Update 4:

Enable Breakeven: True/False

ATR Multiplier: 1

If the trades are triggered and the delete price is triggered, move the SL to its entry price with ATR Multiplier (to cover commissions)

This Breakeven should happen only once, i.e., once the price reaches above the delete price, the trade will reach breakeven and we should not change it back to previous level, if price comes down the delete price.

If Entry Price:100 and ATR: 5, ATR Multiplier: 1. So 5*1 = 5, So, breakeven level for buy will be placed at 95.

Note: ATR should be calculated based on the trading symbol. Not the EA symbol.           

--------------------------------------------------------------------------------------------------------------------------------------

Update 5:

TP Trailing Level:

The Existing TP will be sent to the broker as a Target Level. This is just a safeguard if EA/server fails.

In the Text File Created, there will be another input added after the delete price for Trailing TP.

For e.g.: Buy Entry at 100. TP in File: 300 Trailing TP:200

So, 300 will be assigned as a Target for Broker

But once it reaches 200, the Trades will be trailed.

 

 

Input Needed: For Update 5:

Enable TP Trailing: True/False

ATR Multiplier: 1

Once, TP level i.e. 200 is achieved, push to SL to below the candle + ATR pips for Buy and trail it for every candle. (based on the trade symbol) and not the chart symbol.

--------------------------------------------------------------------------------------------------------------------------------------

Update 6:

Input Needed: For Update 6:

Average RR Close Per Pair: 3

ATR Multiplier: 1

RR can be calculated by the simple method: for buy:

(Current Price – Entry Price)/ SL pips

SL Pips is there in the trade comments itself.

For e.g.: If multiple EURUSD Buy is happening, do the above calculation for every running trade and do the average, and if the average exceeds 3, trail the all the trades of EURUSD, by keeping the SL below the candle.

Note: Once, the average hits, trailing will be started and once trailing started, no changes on stoploss back to original place. It should trail, as the candle goes up.

Pending Orders will have no affect to this.

--------------------------------------------------------------------------------------------------------------------------------------

Update 7:

Input Needed: For Update 7:

Asian Session Start: 04:00

London Session Start: 09:00

US Session Start: 15:00

Average RR for all running trades: 3

Restart by: Immediate/Next Session/Next Day

--------------------------------------------------------------------------------------------------------------------------------------

The concept of Average Calculation is same as above, but only difference is instead of a single pair, it should calculate for all the pairs, and once the average hits, new trades should start to place, based on the above inputs.

If trades are closed at 12:00, new trades are allowed only after 15:00. And no limits are allowed to be placed in between 12:00 – 15:00. This should close even the pending orders as well.


Bewerbungen

1
Entwickler 1
Bewertung
(14)
Projekte
16
13%
Schlichtung
0
Frist nicht eingehalten
1
6%
Arbeitet
2
Entwickler 2
Bewertung
(14)
Projekte
18
17%
Schlichtung
3
67% / 0%
Frist nicht eingehalten
0
Frei
3
Entwickler 3
Bewertung
(2)
Projekte
2
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
4
Entwickler 4
Bewertung
(239)
Projekte
245
31%
Schlichtung
0
Frist nicht eingehalten
3
1%
Frei
Veröffentlicht: 2 Beispiele
5
Entwickler 5
Bewertung
(2)
Projekte
2
0%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
6
Entwickler 6
Bewertung
(22)
Projekte
30
20%
Schlichtung
8
63% / 13%
Frist nicht eingehalten
9
30%
Frei
7
Entwickler 7
Bewertung
(388)
Projekte
414
30%
Schlichtung
68
21% / 68%
Frist nicht eingehalten
52
13%
Arbeitet
8
Entwickler 8
Bewertung
(295)
Projekte
529
35%
Schlichtung
64
36% / 34%
Frist nicht eingehalten
190
36%
Frei
9
Entwickler 9
Bewertung
Projekte
1
0%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
0
Frei
10
Entwickler 10
Bewertung
(5)
Projekte
4
0%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
2
50%
Frei
11
Entwickler 11
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
12
Entwickler 12
Bewertung
(1)
Projekte
1
0%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
0
Frei
13
Entwickler 13
Bewertung
(19)
Projekte
24
8%
Schlichtung
4
0% / 25%
Frist nicht eingehalten
6
25%
Beschäftigt
14
Entwickler 14
Bewertung
(1)
Projekte
1
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
15
Entwickler 15
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
16
Entwickler 16
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
17
Entwickler 17
Bewertung
(264)
Projekte
357
71%
Schlichtung
12
42% / 25%
Frist nicht eingehalten
13
4%
Frei
Veröffentlicht: 14 Beispiele
18
Entwickler 18
Bewertung
(12)
Projekte
12
8%
Schlichtung
0
Frist nicht eingehalten
0
Überlastet
19
Entwickler 19
Bewertung
(25)
Projekte
32
47%
Schlichtung
2
50% / 50%
Frist nicht eingehalten
3
9%
Frei
20
Entwickler 20
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
21
Entwickler 21
Bewertung
(69)
Projekte
76
5%
Schlichtung
33
15% / 36%
Frist nicht eingehalten
6
8%
Arbeitet
22
Entwickler 22
Bewertung
(8)
Projekte
9
22%
Schlichtung
0
Frist nicht eingehalten
0
Frei
23
Entwickler 23
Bewertung
(451)
Projekte
562
25%
Schlichtung
23
43% / 35%
Frist nicht eingehalten
85
15%
Frei
Veröffentlicht: 6 Beispiele
24
Entwickler 24
Bewertung
(3)
Projekte
3
0%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
1
33%
Arbeitet
Ähnliche Aufträge
I am looking for an indicator to detect spikes on boom and crash(all pairs).It should also indicate when to enter and exit scalp trades as well as spikes. If you are able to do this then let me know. I have a video of what it is that i am trying to achieve. If you think you will be able to assist then get in touch and i will send you the video link to have a look and get a better understanding of what i am looking
Project Description: I am looking for an experienced developer to build a breakout box trading algorithm designed for futures trading , specifically for the 6J (Japanese Yen) contract. The system must be built with prop firm trading rules in mind (fixed risk, limited drawdown, no overnight exposure) and structured for Tradovate-style workflow — clean session logic, pending breakout orders, and strict time-based trade
CRT strategy 35+ USD
I already have some part of the code, i only need developer who knows what hes doing and have experience in similar job to update my code and make it work better and accurately bellow is what i want to be updated on the code HTF swing OB/BB plot correctly in LTF using hybrid method and plot only in external swing point that caused a BOS/CHOC plot HTF FVG correctly on LTF in real time with OB/BB and FVG not plotting
Hello Developers, This is buy side/sell side order for an EA that consist of 3 common indicators with 4 conditions to trigger a buy or sell with added stop loss and take profit. Please send your qualifications for a decision tomorrow. Thanks
I need an experienced MT5 developer to perform full optimization and backtesting for an existing Expert Advisor. The goal is to identify the best-performing parameter sets for consistent profitability and low drawdown. Please provide: Experience with MT5 Strategy Tester Sample optimization or backtest reports Estimated completion time Deliverables: optimized .set files and performance summary report
I already have the Smart Money Concepts [LuxAlgo] indicator (Pine Script version). It’s working correctly and prints multiple order blocks (OBs), CHoCH, BOS, etc. However, I want to make the indicator trade-ready by adding Entry, Stop Loss, and Take Profit logic — then convert it to MT5 while keeping all the visuals and structure logic intact. ### ✅ What I Need Done #### 1. Fix Order Block Selection Logic * The
Hello, I need a custom indicator developed for MetaTrader 5 (MT5) using the MQL5 language. The indicator's logic is based on a specific 3-candle pattern strategy. I have a PDF document that explains all the rules in detail. I will attach this PDF file. Here are the main features required: 1. Pattern Detection: The indicator must detect the "Buy" (Low Sweep) and "Sell" (High Sweep) 3-candle patterns exactly according
Hola, deseo coviertir el siguiente codigo mql5 del indicador RSI con alertas en un robot (expert advisor) 100% automatico. Es decir, que siempre que envie la senal de compra o venta se ejectute la orden de forma automatica. Que tenga encuentas niveles de soporte en temparalidades H1, H4 y D1 para entrar en compras y de resietncias H1, H4 y D1 para entrar en ventas. Que salga de las opereaciones cuando el RSI toque o
I’m interested in having you build a NinjaTrader 8 strategy based on a fractal model concept (similar to the TTrades fractal strategy). Before ordering, I want to confirm whether this logic fits within your “10 entry and exit condition” limit. Here’s the logic summary: 1. On the 4H timeframe, detect a Candle 2 or Candle 3 structure formation. 2. On the 15M timeframe, confirm a CISD (change in structure direction). 3
want to develop a professional indicator for both MT5 (MQL5) and TradingView (Pine Script v5). The indicator will be based on Market Structure, Liquidity Sweeps, and Point of Interest (POI) concepts — showing continuation and reversal structures with clear visual signals, alerts, and a simple dashboard. The system must automatically detect Break of Structure (BOS), Change of Character (CHOCH), Liquidity (incomplete

Projektdetails

Budget
30 - 100 USD

Kunde

Veröffentlichte Aufträge1
Anzahl der Schlichtungen0