EA to oclose a trade and open another from an external indicator

MQL4 Experts

Tâche terminée

Temps d'exécution 82 jours
Commentaires de l'employé
Would like to do more jobs for you .. Things went right . Thanks!
Commentaires du client
The EA Amine has created for me works as I requested. Amine even added a few extra features. Would work with him again.

Spécifications

I want the EA to monitor the currency pair in the chart and perform some tasks for me. I have an indicator that adds signs on my charts. Information is displayed when the cursor is placed over it.

I would like two of these values to trigger the closing of the trade the EA has previously opened and open a new one. I will provide the first transaction number to close (if there is one already opened) or let the EA find the next trigger and open the first one.

Trigger Values from the indicator

Value1 and Value2

Inputs for the trade

- 2 Volume size choices = by lot (default = 0.10) or % of the Available Margin (default 25%)

- Stop Loss $$

- Take Profit $$

- # times to repeat the cycle (stop after closing the trade)

And, when I want the EA to monitor a trade already opened:

- Trigger value to look for next (default = Value1)

- Transaction number the trade to close


Action (when trigger value is added to chart)

- verify if new trigger value added is different from the previous one (if the same, ignore and continue monitoring)

- for Value1 - Close BUY and open SELL

- for Value2 - Close SELL and open BUY

- a sound alert and email or txt message would be nice to let me know the CLOSE and BUY were successful

Because I may be trading the same currency pair when the EA is running, I would like the EA to be self contained and only close the transaction it has previously opened. I also would like the EA to keep note of every trigger signal added to the chart (with date, time and price) in a file that I could use to analyze my indicator's performance and tweak it when necessary.



Répondu

1
Développeur 1
Évaluation
(68)
Projets
111
26%
Arbitrage
17
6% / 71%
En retard
15
14%
Gratuit
Publié : 9 codes
2
Développeur 2
Évaluation
(133)
Projets
185
30%
Arbitrage
77
9% / 73%
En retard
77
42%
Gratuit
3
Développeur 3
Évaluation
(69)
Projets
76
59%
Arbitrage
0
En retard
12
16%
Gratuit
Publié : 2 codes
4
Développeur 4
Évaluation
(12)
Projets
17
35%
Arbitrage
1
0% / 100%
En retard
3
18%
Gratuit
Commandes similaires
I want a gold order management ea that should be like the below... Pending orders When I open one manual order, ea should be able to set 3 pending orders at x amount of pips below (if buy order) or above (if sell order) manual order entry. So like this Pending order 1 true or false Pending order pips away: 20. Pending order lot size:0.3 Pending order 2 true or false Pending order pips away: 40 Pending order lot
EA SPECIFICATION SHEET OBJECTIVE: Build a transparent, non-martingale, non-grid breakout EA for XAUUSD that trades only high‑quality breakouts during London + New York sessions. 1. TRADING INSTRUMENT - XAUUSD only - MT4 platform - 5‑digit ECN broker 2. CORE STRATEGY LOGIC (BREAKOUT + CONFIRMATION) A trade is allowed ONLY when ALL conditions are true: - Candle closes beyond previous high/low (no wick breakouts) -
I am looking to develop a custom Expert Advisor (EA) for MetaTrader (MT4/MT5) based on a defined technical analysis strategy and flexible risk management rules. The EA should operate on a chart and timeframe that I manually specify, with the ability to adapt its behavior dynamically when the timeframe is changed. Core Strategy Logic The EA will execute trades based on predefined technical analysis zones
MT5 Manager API 30+ USD
make an api for mt5 and a trade copier eith the api thst uses local computer no cloud trader api ea mt5 that saves all trade data nd logs time and entry and exit tp sl logs delted pending order api that uses market execution not pending orfer
Hello, we have an existing EA, and are building a new one. We want our EA to connect via API to an AI provider like Chat GPT, Claude, or perplexity. Can you connect a meta trader EA to an AI agent? if you can then i would like to speak. The system is quite simple, for example the EA would ask perplexity where the support is on EURUSD then place a trade, thank you, Rob
Hi, Im looking to purchase or build an EA that can open many trades or big lot size to churn out IB commission, it doesnt have to be super profitable but will need to have the number of trades on going in order to earn IB commission. Source code is required upon purchase. If you have any EA or strategy that are gearing towards this, let me know and i would be glad to purchase it. Please share the demo trial for me to
I currently have unfinished work. It’s a project to connect MetaTrader with the BingX platform. At the moment, I have implemented a service that retrieves a custom symbol in BingX, and it works well. However, some specifications still need to be adjusted regarding how the data is received. Otherwise, prices and other values are accurate. The only issue is that for the strategy tester, it is always necessary to
Modify an existing EA 30 - 50 USD
This is to modify my Semi Auto EA -Looking for developer modify my existing EA to Pending Order EA (BS/BL/SL/SS). Relevent with Heiken Ashi Smooth ,Moving Average , Acceleration. Concept MAster and Slave. Ready to give previous soucre code as guide. Work to do - 1)To modify this EA to Pending Order. 2) to add new feature - Risk Management/moneymanagement 3) To modify 4 slave to 7 slave will give the previous to
BTC 5 Minutes scalping 50 - 100 USD
import { useState, useEffect, useRef } from "react"; const INIT_LOT = 0.01; const TP_MOVE = 200; const SL_MOVE = 120; const START_BALANCE = 1000; const MAX_LOT = 5.12; const TICK_MS = 1200; function ema(arr, n) { if (arr.length < n) return null; const k = 2 / (n + 1); let e = arr.slice(0, n).reduce((s, v) => s + v, 0) / n; for (let i = n; i < arr.length; i++) e = arr[i] * k + e * (1 - k); return e; } function
🚀 ADAPTIVE GRID HEDGE EA (FULL VERSION) 🧠 📌 GENERAL CONCEPT This Expert Advisor (EA) uses a strategy combining: Grid trading (order grid) Hedge (protection with opposite positions) Lot scaling (progressive) Loss compensation with profits Continuous operation (non-stop) Focus on: Small recurring profits High trade volume (rebate/IB) The system does not depend on direction, but rather on market oscillation . Main

Informations sur le projet

Budget
20 - 35 USD
Délais
de 5 à 15 jour(s)