Updates Needed in my Trade Management EA

MQL5 Indicatori Esperti

Specifiche

Hi,

I have an EA, which places limit orders only by reading the text files in common folder (in a specific format)

I need to make some updates in the EA:

1.       Limit to Market Entry Adjustment: True/False

·       By default, when placing a buy limit order, if the current price, is below the limit price mentioned in the file, the order gets triggered as market entry.

·       By enabling the above option as True, it will restrict the entry of that pair (not just the trade) on that pair for that candle.

 

Note: This EA can read 5 folders and place limit orders at 5 different levels.

So, if anyone of the trade is rejected on that candle, kindly not place any trades on that pair for that candle.

 

2.       Reset Start Balance & Day Balance by Time: True/False

There’s an option in the EA on the chart to reset start balance and day balance, manually by clicking the button.

Instead of clicking the button:

I wanted a reset to happen at the start time of the session input:

 (Asian, London, US), its already there in the input itself.

 

3.       Closing the Trade Loop after commission deducted: True/False

a.        ==== safeguard retracement setting ====

b.        ==== time-based retracement exit ====

c.         ==== currency level exposure control ====

 

These 3 workings, will close the pair trades based on its logic. While doing this, the commissions are not getting covered when traded on raw spread account.

I want 2X of the commissions to be covered while trades are getting closed in these methods.

 

((These closes the trades, when the cumulative value of that pair becomes 0, you need to add the cumulative value of the 2X commissions as well. And adding them both, it should become more than 0. Then only, it will be a clear exit without loss. Or else I am paying more in commissions.))

 

 

 

4.       Trialing the trades via Zigzag Indicator: True/False

If my trades already reached breakeven.

For buy trade: SL > Entry Price; For Sell Trade: SL < Entry Price.

If this happened, we know, we are in the right side. Now, we just need to trail it as much as possible, once it hits the breakeven.

 

(ATR input is already there in the EA)

For Buy Trade: Trail the SL below the HL + ATR

For Sell Trade: Trial the SL above the LH + ATR

 

In the above buy, we would have entered the trade at the red up arrow. And the breakeven level, the trade would have entered breakeven. SL> entry Price.

Now, Zigzag Working will start, it will look for HL formations. And if HL formed, place the stoploss below to it, by adding the ATR at that time. Now, wait for the next HL formed. Repeat the process, and over the period of time, that trade will be closed, if the SL is broken.

 

 

 

 

 

 

 

 

5.        Close the Trade when Structure Shifted: True/False

StructureShiftTrailStartLevel                0.06

StructureTrailNextLevel                          0.125

 

When a buy order is placed (even if it is pending), it tracks for the zigzag formation of LH and LL or LL and LH. If any of such zigzag formed. It’s a sign that, we are in a bad trade. If the cumulative equity of that pair along with 2x of the commission, exceeds 0, better close the trade, rather than waiting for magic to happen or waiting till it hits the SL.

Check for the formations of the following:

Buy trade: LH and LL or LL and LH. (can be of any order)

Sell Trade: HL and HH or HH and HL. (can be of any order)

 

If the EA finds such a kind of zigzag formation, trail the equity of that pair and close the trade, print the log named:

Formation of Zigzag LH and LL found on EURUSD Buy. Waiting for the loop to be > 0.

Once the equity of that pair + 2x commission >0,

Print a log for equity trailing and close the trades.

The trailing of the equity of that pair concept remains the same as ==== safeguard retracement setting ====

I entered a sell trade on the Down Arrow. But Market forms a HH and HL, which indicates a clear buy trend, instead of waiting for the sell trade to hit, if the equity of that pair, reaches 0 along with 2x commission, better trail the equity of that pair and close the trades.

This working will be included for pending orders as well. Both running and pending orders will be deleted with this method. If the Zigzag shift happened, for a pending order, close the trade even before it is executed.

Zigzag Indicator (Repaint Solution):

The zigzag can repaint in the following manner:

1.        HH – HH

2.        LH – HH

3.        LL – LL

4.        HL – LL

In such cases, these are either the high points or low points only. The above working I said, needs a high swing and low swing indicating buy/sell

Buy: HH/HL

Sell: LH/LL

High Swings: HH/LH

Low Swings: LL/HL

We need a clear signal of structure. Not a repainted one. So, if you need to make any changes in Zigzag indicator, kindly do that, before integrating this in EA.


Con risposta

1
Sviluppatore 1
Valutazioni
(28)
Progetti
36
31%
Arbitraggio
1
100% / 0%
In ritardo
7
19%
Caricato
2
Sviluppatore 2
Valutazioni
(392)
Progetti
544
40%
Arbitraggio
30
57% / 3%
In ritardo
57
10%
In elaborazione
Pubblicati: 11 codici
3
Sviluppatore 3
Valutazioni
(5)
Progetti
4
0%
Arbitraggio
2
50% / 50%
In ritardo
2
50%
In elaborazione
4
Sviluppatore 4
Valutazioni
(1)
Progetti
0
0%
Arbitraggio
2
0% / 100%
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
6
Sviluppatore 6
Valutazioni
(27)
Progetti
38
24%
Arbitraggio
14
0% / 93%
In ritardo
4
11%
Gratuito
7
Sviluppatore 7
Valutazioni
Progetti
1
0%
Arbitraggio
0
In ritardo
0
In elaborazione
8
Sviluppatore 8
Valutazioni
Progetti
0
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(6)
Progetti
14
43%
Arbitraggio
2
0% / 100%
In ritardo
1
7%
In elaborazione
10
Sviluppatore 10
Valutazioni
(3)
Progetti
1
100%
Arbitraggio
3
0% / 100%
In ritardo
0
Gratuito
11
Sviluppatore 11
Valutazioni
(64)
Progetti
83
28%
Arbitraggio
9
33% / 56%
In ritardo
9
11%
Gratuito
Pubblicati: 1 codice
12
Sviluppatore 12
Valutazioni
(274)
Progetti
369
72%
Arbitraggio
18
33% / 44%
In ritardo
14
4%
Gratuito
Pubblicati: 14 codici
13
Sviluppatore 13
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
14
Sviluppatore 14
Valutazioni
(24)
Progetti
25
68%
Arbitraggio
0
In ritardo
1
4%
In elaborazione
Pubblicati: 5 codici
15
Sviluppatore 15
Valutazioni
(2)
Progetti
3
33%
Arbitraggio
0
In ritardo
0
Gratuito
16
Sviluppatore 16
Valutazioni
(294)
Progetti
470
39%
Arbitraggio
102
40% / 24%
In ritardo
78
17%
Occupato
Pubblicati: 2 codici
17
Sviluppatore 17
Valutazioni
(12)
Progetti
19
37%
Arbitraggio
1
0% / 100%
In ritardo
1
5%
Gratuito
18
Sviluppatore 18
Valutazioni
(10)
Progetti
13
23%
Arbitraggio
3
33% / 67%
In ritardo
1
8%
In elaborazione
19
Sviluppatore 19
Valutazioni
(8)
Progetti
11
9%
Arbitraggio
3
33% / 33%
In ritardo
4
36%
Caricato
20
Sviluppatore 20
Valutazioni
(15)
Progetti
34
24%
Arbitraggio
4
0% / 50%
In ritardo
2
6%
In elaborazione
21
Sviluppatore 21
Valutazioni
(9)
Progetti
18
39%
Arbitraggio
5
0% / 40%
In ritardo
3
17%
Caricato
22
Sviluppatore 22
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
23
Sviluppatore 23
Valutazioni
(9)
Progetti
13
38%
Arbitraggio
0
In ritardo
3
23%
In elaborazione
Ordini simili
A Grid EA with a hedge that open trades on a percentage based on whats is opened on the other side, closes losing trades with current profits made and utilizes a grid trading strategy combined with hedging technique to mitigate risk and potentially lock in profits. It involves placing buy and sell orders at predetermined price intervals, forming a grid. When a trade within the grid moves against the initial
I need a custom MT5 Expert Advisor for Gold (XAUUSD) only. Requirements: - Platform: MT5 only - Symbol: XAUUSD only - Strategy: Trend / pullback - No martingale - No grid - No recovery Risk management: - Lot size based on balance - Equity stop - Daily loss limit - Maximum drawdown protection - News filter License system (mandatory): - Account-number based license - Expiry-based control - Ability to enable / disable
I need an MT5 remote trade copier EA (manual trading mirror). Scope: Master EA + Client EA (MT5) Copies manual trades: open, close, SL/TP changes, partial close, pending orders Remote / internet-based copying via server/hosting (not LAN-only) Works across different brokers and VPS/PC locations Basic reconnect / retry logic Full MQ5 source code Assist with testing until stable
MQL5 Expert Advisor Development (MT5) I need a professional MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 with high accuracy, low drawdown, and fast execution . 🔹 Strategy Requirements: Timeframe: Scalping-friendly (M1 / M5) Indicators Used: EMA 9 EMA 12 EMA 21 VWAP (as a trend filter) RSI (for trade confirmation) 🔹 Trade Logic: Buy and Sell entries based on EMA crossover + VWAP direction
Project Summary We are looking for a highly experienced MetaTrader 5 (MT5) developer to build a pattern-based Expert Advisor (EA) focused on low-time-interval automation (15-second & 30-second logic). This is a pure MT5 project — no external platforms, no shortcuts. It should be very clean ,Efficient ,Precised ,Accurate ,No copy paste ,Low latency. If you have real experience with MT5 tick-based logic and
Project Description I am looking for an experienced MQL5 developer to build a custom MT5 Expert Advisor (EA) based on a clear, rule-based breakout and momentum strategy using multiple timeframes . This EA must be cleanly coded, well structured, fully adjustable via inputs , and delivered with source code (.mq5) . Strategy Logic Timeframe 1 – Daily Chart (Trend / Breakout Filter) The EA must monitor the Daily
Please specify your requirements here one by one. Try to describe your requirements briefly and clearly so that your potential developer can accurately assess the complexity and cost, as well as the implementation time required. A poor or too general description will cause your order to be ignored, or you will spend a lot of time negotiating details with each applicant. Remember: it is better to spend thirty minutes
I am looking for an experienced MQL4 developer to build a custom MT4 indicator (EX4 only). I currently have two existing EX4 indicators for the binary forex market. Both indicators generate 1-minute signals, predicting the next candle direction (UP or DOWN). When both indicators generate the same signal on the same candle, the accuracy is around 95%. I want a new custom indicator with the following requirements: 1)
i need bot for deletes my limits from specific position like if gold price comes to 4950 and then move to 4953.50 so from 4949 to 4946 all limits should deletes so please if any one can let me know thanks
BitsoFx 40 - 10000 USD
//+------------------------------------------------------------------+ //| Simple Robo Trader MT5 | //| Works on any pair & timeframe | //+------------------------------------------------------------------+ #property strict // Input settings input double LotSize = 0.01; input int FastMA = 10; input int SlowMA = 30; input int RSIPeriod = 14; input int StopLoss = 200; // in points input int TakeProfit = 400;// in

Informazioni sul progetto

Budget
30 - 100 USD
Scadenze
a 1 giorno(i)

Cliente

Ordini effettuati1
Numero di arbitraggi0